SMSAccountingCallback not working

SMSAccountingCallback not working SearchSearch
Author Message
Ziad
New member
Username: Ziad

Post Number: 5
Registered: 03-2006
Posted on Monday, May 08, 2006 - 11:17 am:   

Hello,

I'm using a trial version of NowSMS 2006. I added SMSAccountingURL=http://localhost:9999/test.php
The script is never called when I try to send messages and we intend to use it as confirmation for successful sending of messages. (note:We use SMPP connections)

Is there something missing that should be done in SMSGW.INI?

Many thanks.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5898
Registered: 10-2002
Posted on Monday, May 08, 2006 - 08:06 pm:   

Hi,

I can only guess that the setting has not been properly configured ... because if there was a problem connecting to the URL, NowSMS would reject any messages that you submit to it.

You have this setting under the [SMSGW] section header within SMSGW.INI, right? And there is only one [SMSGW] section header in the file?

Can you post SMSGW.INI (just blank out the details for your upstream SMPP connection)?

-bn
Morten Jensen
New member
Username: Hansherlighed

Post Number: 4
Registered: 06-2006
Posted on Saturday, June 17, 2006 - 11:33 pm:   

Hi Bruce,

I'm having the same problem as descriped in this post.
My Accounting URL is never being called. I've even tryed setting a dummy URL that does not exist so that according to the documentation the gateway should reject all when trying to send SMS/MMS.
This does not happen. All SMS/MMS are being sent without the URL ever being called neither before or after the SMS/MMS has been sent?

Attached is my smsgw.ini
application/octet-streamsmsgw.ini
smsgw.INI (1.1 k)
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6073
Registered: 10-2002
Posted on Monday, June 19, 2006 - 10:08 pm:   

Hi Morten,

Thanks for posting the SMSGW.INI. I don't think I would have guessed the problem if I hadn't seen it.

On the "Web" page of the NowSMS configuration dialog, you need to check "Require Authentication for web interface". The callbacks are not triggered unless individual user accounts are enabled.

-bn
Muhammad Saleem
New member
Username: Msaleem

Post Number: 7
Registered: 08-2006
Posted on Tuesday, August 08, 2006 - 06:15 am:   

can You post your test.php file
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 6336
Registered: 10-2002
Posted on Tuesday, August 15, 2006 - 05:24 pm:   

Cross-posting link for most recent entry in this thread:

http://support.nowsms.com/discus/messages/485/16884.html