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@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