[SR-Users] OPTIONS packet from dispatcher module

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 27 09:50:39 CET 2012


Hello,

in dispatch.c, in function ds_check_timer(...), you have to give 
maxforward as extra header. Store it in a variable, and give it as third 
parameter to set_uac_req() function. Perhaps like:

str hdrs = { "Max-Forwards: 10\r\n", 10};
...

set_uac_req(&uac_r, &ds_ping_method, &hdrs, ...

Cheers,
Daniel

On 12/24/12 2:02 PM, Morten Isaksen wrote:
> Hi,
>
> I have an issue with the OPTIONS packets from the dispatcher module 
> does not contain a max-forward header. This causes the gateway in the 
> other end to not reply to the OPTIONS packet.
>
> Can anyone please give a hint where en the code I need to change that. 
> I noticed that dispatcher module uses the tm module to send the 
> OPTIONS but after that I got lost in the code.
>
> -- 
> Morten Isaksen
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121227/8b959391/attachment.htm>


More information about the sr-users mailing list