Accounting callbacks

Accounting callbacks SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 16, 2015 » Accounting callbacks « Previous || Next »
Author Message
Pavel Chelisant
New member
Username: Pchelisant

Post Number: 1
Registered: 01-2015
Posted on Friday, January 16, 2015 - 08:04 am:   

Hi!
Now we use sms accounting callbacks for SMPP
Realized that that callbacks doesnt work for http - can you please advise us how to get it work with sms that was submitted by http?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5164
Registered: 08-2008
Posted on Friday, January 16, 2015 - 05:36 pm:   

Hi Pavel,

Accounting callbacks work the same for HTTP and SMPP.

If you are not seeing them for HTTP submissions, most likely the issue is that authentication is not enabled for HTTP.

In the configuration, go to the page titled "Web", and make sure "Require Authentication for web interface" is enabled.

--
Des
NowSMS Support
Pavel Chelisant
New member
Username: Pchelisant

Post Number: 2
Registered: 01-2015
Posted on Monday, January 26, 2015 - 06:04 am:   

Hi! Thanks for the reply.
That checkbox is enabled
However we cannot see that callbacks
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5179
Registered: 08-2008
Posted on Monday, January 26, 2015 - 05:31 pm:   

Hmm...are you using one of these parameters in the HTTP submission: InboundMessage= or LocalUser=

Those parameters do bypass the accounting callbacks.

If that is not it, I probably need to see an SMSDEBUG.LOG and the SMSGW.INI settings. You can send those files to nowsms@nowsms.com with Attention: Des in the subject line. If you do email any files, post a reply here also, just in case the e-mail doesn't get routed to me properly.

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

Post Number: 5180
Registered: 08-2008
Posted on Wednesday, January 28, 2015 - 06:56 pm:   

Hi Pavel,

The logs show the accounting callbacks being called.

I have to admit that I'm a little confused by what I see...

The configured accounting callback seems to be http://127.0.0.1:8800/php/index.php, which somehow triggers a call to http://192.168.0.230:8088/routing/ ... it is not clear to me how that second callback is being triggered.

--
Des
NowSMS Support
Pavel Chelisant
New member
Username: Pchelisant

Post Number: 3
Registered: 01-2015
Posted on Friday, January 30, 2015 - 11:30 am:   

:)
the call of http://192.168.0.230:8088/routing/ is called from index.php script )
However we found a problem and already fixed it. Thank you and sorry )

Login Login / Register Logout Logout Search Last 30 Days Topics Topics