[Serusers] re: CONTACT field malformed in a 302 reply

Miklos Tirpak miklos at iptel.org
Tue Mar 27 10:11:37 CEST 2007


On 03/27/2007 09:50 AM, Martin Hoffmann wrote:
> Jignesh Gandhi wrote:
>> the softswitch is wanting the contact field with
>> <sip:xxxx at xxx.xxx.xxx.xxx:5060>
>> like a FROM or TO URI.
> 
> Then your softswitch is broken. Contact, From, and To URI can be given
> without the angle brackets. You only need them if you have URI
> parameters or a display name.

indeed.

> 
> I know that doesn't help you much, but
>  
>>        if (!gl_redirect())
> 

As a workaround: if you set the "q" parameter from your function, SER 
will enclose the contact URI in <>. Check set_ruri_q() in dset.h

Miklos

> gl_redirect() doesn't appear in exist in SER or OpenSER. You will have
> to talk to whoever you got that from.
> 
> Or your softswitch vendor. Print 3261 and go hit them on the head with
> it. Several times. 
> 
> Regards,
> Martin
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers



More information about the sr-users mailing list