I got with mblox and it works now.

 

Thank you so much!

 

Real quick, messages coming from handset to kannel. This will stay the same
correct? I can still use the below information in my smskannel.conf ?

 

post-url                 =
http://172.16.94.111/sms_response_parent.html?body=%a
<http://172.16.94.111/sms_response_parent.html?body=%25a&opid=%25m&time=%25t
&MSISDN=%25p&recipient=%25P&cing=%25F>
&opid=%m&time=%t&MSISDN=%p&recipient=%P&cing=%F

 

 

Paul

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, December 15, 2010 2:28 PM
To: Paul Harrison
Cc: users@kannel.org
Subject: Re: Kannel

 

Glad it helped :)

 

I don't believe the warning has nothing to do with the problem. Ask mblox
again, you might be missing some other parameter or sending the wrong
values.

 

Regards,

 

Alex

On Wed, Dec 15, 2010 at 9:14 PM, Paul Harrison <c...@austin.rr.com> wrote:

WOW, that was is it.. It works!

 

One other issue. If I pass the service id and program then it fails.

 

http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar
<http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar&smsc=psms&to=151
23334444&username=tester&from=54322&text=hello+from+local&meta-data=%3Fsmpp%
3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3Dstd
rt>
&smsc=psms&to=15123334444&username=tester&from=54322&text=hello+from+local&m
eta-data=%3Fsmpp%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%
26MBprogram%3Dstdrt

 

 

2010-12-15 15:08:50 [865] [3] INFO: sendsms sender:<tester:54322>
(192.168.1.116) to:<15123334444> msg:<hello from local>

2010-12-15 15:08:50 [851] [7] WARNING: SMPP: PDU NULL terminated string
(message_id) has no NULL.

2010-12-15 15:08:50 [851] [7] ERROR: SMPP[psms]: SMSC returned error code
0x0000042a (Vendor-specific error, please refer to your SMPP provider) in
response to submit_sm.

 

2010-12-15 15:08:50 send-SMS request added - sender:tester:54322
192.168.1.116 target:15123334444 request: 'hello from local'

2010-12-15 15:08:50 FAILED Send SMS [SMSC:psms] [SVC:tester] [ACT:] [BINF:]
[FID:]
[META:?smpp?MBoperator=31003&MBbilling=0&MBserviceId=26330&MBprogram=stdrt]
[from:54322] [to:15123334444] [flags:-1:0:-1:-1:-1] [msg:16:hello from
local] [udh:0:

 

Any idea why?

 

Thanks,

Paul

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, December 15, 2010 1:58 PM


To: Paul Harrison
Cc: users@kannel.org
Subject: Re: Kannel

 

[FID:] [META:?smpp-tlv?MBoperator=3...
 
Ah! You're using "smpp-tlv", change it for "smpp":
?smpp?MBoperator...
 
The smpp-tlv groups seems to be fine, change that and tell me how it goes.
Regards,
Alex

 

On Wed, Dec 15, 2010 at 8:39 PM, Paul Harrison <c...@austin.rr.com> wrote:

Smskannel.conf file: http://www.curesport.com/smskannel.conf

kannel.conf file: http://www.curesport.com/kannel.conf

In the smskannel.conf. I defined the mblox parameters(smpp-tlv).  

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, December 15, 2010 1:22 PM


To: Paul Harrison
Cc: users@kannel.org
Subject: Re: Kannel

 

Hrm, the meta-data seems to be all there. Can you post your smpp-tlv groups?

 

Regards,

 

Alex

On Wed, Dec 15, 2010 at 8:02 PM, Paul Harrison <c...@austin.rr.com> wrote:

http://www.curesport.com/smsbox.log

 

http://www.curesport.com/kannel_access_log.txt

 

http://www.curesport.com/stdout.txt

 

 

Please let me know if you need anything else.

 

Thank You,

Paul

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, December 15, 2010 12:09 PM


To: Paul Harrison
Cc: users@kannel.org
Subject: Re: Kannel

 

Can you provide log entries showing the submit_sm PDU and surroundings?

 

Regards,

 

Alex

On Wed, Dec 15, 2010 at 6:50 PM, Paul Harrison <c...@austin.rr.com> wrote:

I have been picking at this for a few days now. I have no clue why I keep
getting that error as I'm passing the meta data in the request.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Paul Harrison
Sent: Wednesday, December 15, 2010 10:38 AM
To: 'Alejandro Guerrieri'
Cc: users@kannel.org
Subject: RE: Kannel

 

I read the UG on that. I'm passing the meta-data but I still get the error
from the below email in red.

 

http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar
<http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar&smsc=psms&to=151
23334444&username=tester&from=54322&text=hello+from+local&meta-data=%3Fsmpp-
tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3
Dstdrt>
&smsc=psms&to=15123334444&username=tester&from=12345&text=hello+from+local&m
eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26
330%26MBprogram%3Dstdrt

 

 

Any help is greatly appreciated.

 

From: Alejandro Guerrieri [mailto:alejandro.guerri...@gmail.com] 
Sent: Wednesday, December 15, 2010 10:35 AM
To: Paul Harrison
Cc: Abdul Basit; users@kannel.org
Subject: Re: Kannel

 

You need to configure those parameters as meta-data, and pass them on the
request.

 

Read the meta-data section on the UG for the details.

 

Regards,

 

Alex

On Wed, Dec 15, 2010 at 5:26 PM, Paul Harrison <c...@austin.rr.com> wrote:

I get the following error:

2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string
(message_id) has no NULL.

2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code
0x0000042a (Vendor-specific error, please refer to your SMPP provider) in
response to submit_sm.

I talked to mblox and they said I'm not passing the operator and billing
information to them. I doubt they are getting the MBserviceid and MBProgram
either.  Mblox now requires the tag program=>stdrt.

How do I fix this? 

 

UG?

 

Thanks,

Paul

 

From: Abdul Basit [mailto:basit.e...@gmail.com] 
Sent: Wednesday, December 15, 2010 10:15 AM
To: Paul Harrison
Cc: users@kannel.org
Subject: Re: Kannel

 

Good. keep on reading UG.

On Wed, Dec 15, 2010 at 9:10 PM, Paul Harrison <c...@austin.rr.com> wrote:

I start kannel using the following code.

 

/usr/local/sbin/bearerbox -v 1 --pid-file /var/run/kannel.pid
/usr/local/etc/smskannel.conf &

sleep 5

/usr/local/sbin/smsbox -v 1 /usr/local/etc/smskannel.conf &

 

Thanks,

Paul

 

From: Paul Harrison [mailto:c...@austin.rr.com] 
Sent: Wednesday, December 15, 2010 10:02 AM
To: users@kannel.org
Subject: Kannel

 

Hi Team,

 

I downloaded Kannel using the following options.


SVN access to source code... svn co https://svn.kannel.org/
<https://svn.kannel.org/%3cproject%3e/trunk> <project>/trunk 


Smskannel.conf file: http://www.curesport.com/smskannel.conf

kannel.conf file: http://www.curesport.com/kannel.conf

In the smskannel.conf. I defined the mblox parameters.  

url I'm using:  http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar
<http://192.168.1.103:13013/cgi-bin/sendsms?password=foobar&smsc=psms&to=151
23334444&username=tester&from=54322&text=hello+from+local&meta-data=%3Fsmpp-
tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26330%26MBprogram%3
Dstdrt>
&smsc=psms&to=15123334444&username=tester&from=12345&text=hello+from+local&m
eta-data=%3Fsmpp-tlv%3FMBoperator%3D31003%26MBbilling%3D0%26MBserviceId%3D26
330%26MBprogram%3Dstdrt

When I invoke the above url. I get the below error message :

[r...@node01 etc]# 2010-12-15 10:56:34 [30507] [3] INFO: smsbox: Got HTTP
request </cgi-bin/sendsms> from <192.168.1.116>

2010-12-15 10:56:34 [30507] [3] INFO: sendsms used by <tester>

2010-12-15 10:56:34 [30507] [3] INFO: sendsms sender:<tester:53985>
(192.168.1.116) to:<15126366987> msg:<hello from local>

2010-12-15 10:56:34 [30493] [7] WARNING: SMPP: PDU NULL terminated string
(message_id) has no NULL.

2010-12-15 10:56:34 [30493] [7] ERROR: SMPP[psms]: SMSC returned error code
0x0000042a (Vendor-specific error, please refer to your SMPP provider) in
response to submit_sm.

I talked to mblox and they said I'm not passing the operator and billing
information to them. I doubt they are getting the MBserviceid and MBProgram
either.  Mblox now requires the tag program=>stdrt.

Can someone please help me?  It would be greatly appreciated.

Thanks,

Paul

 

 




-- 

Regards,


Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445

 

 

 

 

 

Reply via email to