Problem in setting BackupForRoute ........

Problem in setting BackupForRoute ........ SearchSearch
Author Message
Nelson Lam
New member
Username: Nelsonlam

Post Number: 9
Registered: 02-2013
Posted on Monday, October 21, 2013 - 05:40 am:   

Dear TechSupport,

We setup NowSMS to receive SMS from a smpp client and route SMS to SMSC:RouteA using accounting callback features, while a 2nd SMSC:RouteB is set as a backup route for RouteA with "BackupForRoute=RouteA"
(N.B. both RouteA and RouteB are tested okay)

We can send SMS from the smpp client via RouteA successfully with RouteB stays deactive as explicitly stated in the manual.

Then we blocked SMSC RouteA and next the SMS sent from smpp client could not get through RouteB. RouteB remained as deactive and never went up with the SMS still stayed in the queue (with SMSCRoute=RouteA).

Could you pls help to check out why BackupForRoute not functioning in our case?
An email with smsdebug.log is sent separately to nowsms@nowsms.com.

The SMSGW.INI is as up like this:
[SMPP - a.a.a.a:bbb]
RouteName=RouteA
:
:
:
[SMPP - c.c.c.c:ddd]
RouteName=RouteB
:
:
BackupForRoute=RouteA


Best Regards
Nelson
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4697
Registered: 08-2008
Posted on Monday, October 21, 2013 - 08:00 pm:   

Hi Nelson,

I am investigating. There was a known issue with this setting that the BackupForRoute setting did not support RouteNames, but instead worked only with the syntax BackupForRoute=SMPP - a.a.a.a:bbb

That was supposed to have been fixed, but I can clearly see that it only works when the SMSC address is specified.

Change to the following, and it will work:

[SMPP - a.a.a.a:bbb]
RouteName=RouteA
:
:
:
[SMPP - c.c.c.c:ddd]
RouteName=RouteB
:
:
BackupForRoute=SMPP - a.a.a.a:bbb


NOTE: It is necessary to restart the service after making a change to a BackupForRoute setting, as that change is not registered dynamically.

--
Des
NowSMS Support
Nelson Lam
New member
Username: Nelsonlam

Post Number: 11
Registered: 02-2013
Posted on Wednesday, October 23, 2013 - 11:25 am:   

Dear Des

We did the test by putting "BackupForRoute=SMPP - a.a.a.a:bbb" and the result
is positive with SMS re-route to backup route when the primary route went down.

But it would be more convenient to use RouteName instead of ip address.
Pls let us know how we could work out BackupForRoute with RouteName.
Many thanks.

Nelson
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4699
Registered: 08-2008
Posted on Wednesday, October 23, 2013 - 06:08 pm:   

Hi Nelson,

Yes, we agree that BackupForRoute=routename would be better. We are still investigating, but that syntax will be supported in a future update.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4719
Registered: 08-2008
Posted on Monday, November 04, 2013 - 05:16 pm:   

Hi Nelson,


A follow-up ... we did fix this BackupForRoute setting so that it would properly support route names.

The update is at http://www.nowsms.com/download/nowsms20131031.zip


--
Des
NowSMS Support