[OpenSIPS-Users] BYE request for proper signalling

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Feb 2 13:36:29 CET 2011


Hi Denis,

 From SIP point of view, the BYE must be sent to the contact URIs . I 
guess your contact is different than the layer3 IP because of some NAT 
presence, right ? if so, use fix_nated_contact() for INVITE and 200 OK, 
so that the received contact will be "fixed" with the layer3 IP, so the 
dialog module will use the contact with a useful info.

Regards,
Bogdan

Denis Putyato wrote:
>
> Hello!
>
>  
>
> I am using dialog module for control of call duration.
>
> When timeout of dialog expires I need Opensips send BYE not to caller 
> and callee contact (which is stored during creation of dialog) but to 
> IP address and port from which INVITE (caller) and 200 OK (callee) had 
> been received.
>
>  
>
> Thank you for any help
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   


-- 
Bogdan-Andrei Iancu
OpenSIPS Event - expo, conf, social, bootcamp
2 - 4 February 2011, ITExpo, Miami,  USA
OpenSIPS solutions and "know-how"




More information about the Users mailing list