[OpenSIPS-Users] BYE request for proper signalling

2011-02-01 Thread Denis Putyato
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.

Re: [OpenSIPS-Users] BYE request for proper signalling

2011-02-02 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] BYE request for proper signalling

2011-02-02 Thread Denis Putyato
Wednesday, February 02, 2011 3:36 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] BYE request for proper signalling 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, rig

Re: [OpenSIPS-Users] BYE request for proper signalling

2011-02-03 Thread Bogdan-Andrei Iancu
SIPS-Users] BYE request for proper signalling 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 conta