[OpenSIPS-Users] failed to decode uri

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 13 21:46:55 CEST 2010


Hi,

regarding the decode_uri issue : the uac module stores a cookie in the 
RR header, so at Route time it will be able to restore the original FROM 
/ TO hdr. I suspect that the one of the parties (caller or callee) is 
messing around with this RR parameter (vsf , vst), most probably with 
the case sensitiveness (switching from lower to upper case).

If you post a SIP trace on proxy, I can point you to the bogus party.

Regards,
Bogdan

thrillerbee wrote:
> To add a little more detail, after doing some from uri normalization, 
> this is eventually passed on to an OpenSIPS instance running b2bua for 
> top hiding.  I'm assuming this error indicates that the header param 
> that is used to rebuild the original from uri is different than 
> expected, but I don't see any discernible differences in a trace 
> between the headers in the 200 OK (to the INVITE) and the provisional 
> responses received right before it.  The provisional responses are 
> proxied; the 200 OK is not.
>
> Any help would be most appreciated.
>
> Thanks.
>
> On Tue, Oct 12, 2010 at 6:13 PM, thrillerbee <thrillerbee at gmail.com 
> <mailto:thrillerbee at gmail.com>> wrote:
>
>     I have dialogs getting stuck because my origination gateway
>     (OpenSIPS proxy) fails to proxy 200 OKs to some INVITEs.  In the
>     logs, I see:
>     /usr/local/sbin/opensips[30336]: ERROR:uac:decode_uri: invalid
>     base64 string"AAAAAAUECAEIAwUHCQ<sip:12.24.48.96"
>     /usr/local/sbin/opensips[30336]: ERROR:uac:restore_uri: failed to
>     decode uri
>     /usr/local/sbin/opensips[30337]: ERROR:uac:decode_uri: invalid
>     base64 string"AAAAAAUECAEIAwUHCQ<sip:12.24.48.96"
>     /usr/local/sbin/opensips[30337]: ERROR:uac:restore_uri: failed to
>     decode uri
>
>     I am doing some normalization of the from uri with
>     uac_replace_from.  What could cause this?
>
>     Thanks.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro




More information about the Users mailing list