Pager via TAPI

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
duncan_caldwell
Posts: 4
Joined: Mon Jul 24, 2006 3:48 am
Location: Auckland, New Zealand
Contact:

Pager via TAPI

Post by duncan_caldwell »

Is it possible to configure the actions to send to multiple PAGE numbers via the TAPI interface, witout creating multiple entries in the Action profile.

We have a problem where we need to send alerts to multiple people for the same event, but when we use multiple entries under an action profile, the HM will try and open the port to the modem for each Pager number. The result is that only one connection is made and all the other connections generate error until the modem is free.

If there are only one or two message to send then this is not so bad but we have cases where 5 or 6 people need to be notified, and there may be several events that have trigered an action.
Last edited by duncan_caldwell on Mon Jul 24, 2006 4:23 pm, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

This option is not documented however you may separate several pager numbers by ^ symbol

Regards
Alex
duncan_caldwell
Posts: 4
Joined: Mon Jul 24, 2006 3:48 am
Location: Auckland, New Zealand
Contact:

Please explaim.

Post by duncan_caldwell »

I have now set up my profile with an action to 'Send message to alphanumeric pager (TAP protocol)'
I have filled in the pager ID field with xxxxxxxx^xxxxxxxx
where xxxxxxxx is the phone umber of the pager.

When I test the pager by activating the action profile I get the following error in the log files.

Error: Cannot send message to pager xxxxxxxx^xxxxxxxx. The number of pager id's does not match the number of messages.

What am I doing wrong?

I am running on Win2000 server and V6.02 of Host Momitor
I am using an external V.92 modem based on the Intel.
I am calling Vodafone TAPI gateway to send SMS messages to cellphones.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Sorry, I forgot about 2 conditions:
- message should not contain ^ symbol inside of the text
- you should add 2 symbols ^^ at the end of the message
If you are using template like %DateTime% - %TestName% %Status%, you should add 2 symbols and use template like %DateTime% - %TestName% %Status%^^

Regards
Alex
duncan_caldwell
Posts: 4
Joined: Mon Jul 24, 2006 3:48 am
Location: Auckland, New Zealand
Contact:

Looking good

Post by duncan_caldwell »

Great thanks that looks like it has fixed the problems.

However we have serveral alerts going off regularly and we keep getting the forllowing error in the log files.

Error: Cannot send message to pager xxxxxxxx^xxxxxxxx. Error allocating memory for COM port or port in use

I understand why this is happening, because the application is trying to use the com port while it is still in use.

Are there any plans to provide a message queue so that if a message needs to be sent then the message adds it to a queue. A separate process then monitors the queue and if there is anything to be send and there is no current connection then it will try and establish a connection?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Are there any plans to provide a message queue so that if a message needs to be sent then the message adds it to a queue.
Truth to say we consider this action as obsolete because new HostMonitor offers "Send SMS" action that works with query. I think people will move forward to use new action.
Am I wrong?

Regards
Alex
duncan_caldwell
Posts: 4
Joined: Mon Jul 24, 2006 3:48 am
Location: Auckland, New Zealand
Contact:

SMS via modem

Post by duncan_caldwell »

Does this process work any differently if there are multiple messages from multiple actions all wanting to send an sms at the same time or withing a short space of time.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: SMS via modem

Post by KS-Soft Europe »

duncan_caldwell wrote:Does this process work any differently if there are multiple messages from multiple actions all wanting to send an sms at the same time or withing a short space of time.
Send SMS action provides messages spool. It accepts multiple messages from different actions at the same time and then sends them one by one.

Regards,
Max
Post Reply