-----Original Message-----
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On
Behalf Of Ishtiaq Ahmed
Sent: Friday, March 27, 2009 4:23 PM
To: Nikos Balkanas
Cc: users@kannel.org; Andrey Ponteleev; Alejandro Guerrieri
Subject: Re: problem with get-url or encoding

Thanks Nikos,


The problem here is when we are sending back the message with session ID
from the mBlox which is "AptyrB+v+LkAABkA+ncgAUaIPk807E800QQ$"... the
SMSC return the error code...  0x00000435 (Vendor-specific error, please
refer to your SMPP provider).. Using the Portal we have from MBlox we
came to know that Session ID has not been delivered....

Attached is the Kannel logs for the test we performed....






Nikos Balkanas wrote:
> Hi,
>  
> It is not my area, but I will give it a try. Reading down the thread 
> you mention that there is a meta-data problem where '+' are converted 
> to ' ' before sending the URL. Well, this is your encoded meta-data:
>  
> %3Fsmpp%3FMBsessionIdTag%3DAptyrB%252Bv%252BLkAABkA%252BncgAUaIPk807E8
> 00QQ%2524%26
>  
> I don't see any spaces (%20). Furthermore I don't see any '+' (%2B). 
> In fact this urldecodes to this (all %s are literal):
>  
> ?smpp?MBsessionIdTag=AptyrB%2Bv%2BLkAABkA%2BncgAUaIPk807E800QQ%24&
>  
> One more URLdecoding (to the clear text) and voila!
>  
> ?smpp?MBsessionIdTag=AptyrB+v+LkAABkA+ncgAUaIPk807E800QQ$&
>  
> The second part is almost the same as your session ID. Someone is 
> url-encoding it twice!
>  
> Unfortunately I don't understand from your logs who is sending what to

> whom. Some logs are taken from a different context than others, so I 
> can't really follow the trail.
>  
> BR,
> Nikos


Reply via email to