Try to set dest-addr-ton to 1 (International numbering format).

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Monchanin Eric
Sent: Friday, 11 November, 2011 00:30
To: users@kannel.org
Subject: country prefixes

 

Dear all,

I have a question concerning country prefixes -
We are sending SMS MT to Mexico, and using the unified-prefix config it
allows us to use a full number format in the sendsms call AND allow kannel
to strip the prefix before sending the request to the SMPP bind

unified-prefix          = "-,+52,52,0052"


However, upon receiving SMS MO, the msisdn has no country prefix, and I
would like to know if it is possible to concatenate the prefix +52 at some
point.

2 ideas here :
 * in our SMS MO listener, we can concatenate +52 that would definitely work
 * in Kannel's sms-service group, I was thinking about updating the get-url
for SMS MO delivery :
         from http://localhost/myHandler?msisdn=%p
<http://localhost/myHandler?msisdn=%25p&sc=%25P&msg=%25a&smsc=%25i>
&sc=%P&msg=%a&smsc=%i"
         to http://localhost/myHandler?msisdn=+52%p
<http://localhost/myHandler?msisdn=+52%25p&sc=%25P&msg=%25a&smsc=%25i>
&sc=%P&msg=%a&smsc=%i"

What do you guys think, is there a better solution, if using the get-url
solution, should I use +52 OR %2B52 ???

Bests,

Eric



-- 


Skycore LLC
214 Lincoln St Suite 360
Allston, MA 02134 

Eric Monchanin


i...@skycore.com
(+1) 617-314-7688 

emoncha...@skycore.com
(+33) 6-22-96-71-10 

 

Reply via email to