Hi! I have a server machine with Freeswitch, and SIP gateway to make outgoung call. The gateway has only IP address authentication. I have own created UA, and if i run it from the server and the called party hangs up, it don't get BYE message. If my UA runs in different machine (other IP), it works well. I have no idea about this. :( I've checked the logs, and compared the two methods, and it seems there are no differnces. I use the newest FS. Any suggestions? thanks, Viktor
Do you have any NAT in place? What's the Contact header of the INVITE message? The BYE is a separate request to the INVITE, and so it is sent to the address in the Contact header from the INVITE. If you're behind NAT then FS might not be able to reach you at that address (e.g. if it's an internal IP). -Steve On 27 March 2011 16:12, dunchan <dunchan@freemail.hu> wrote:
Hi!
I have a server machine with Freeswitch, and SIP gateway to make outgoung call. The gateway has only IP address authentication. I have own created UA, and if i run it from the server and the called party hangs up, it don't get BYE message.
If my UA runs in different machine (other IP), it works well.
I have no idea about this. :(
I've checked the logs, and compared the two methods, and it seems there are no differnces. I use the newest FS.
Any suggestions?
thanks, Viktor
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi! In first of all: thanks for your answer. But i'm confused in this situation... The machine hostname is: debian, and my UA gets their IP address from the debian hosts file, this address used as Contact header field in INVITE request /etc/hosts: x.x.x.x debian The server real IP address is 1.2.3.4 There are 3 cases (called party hang's up the call in all cases): /etc/hosts: 1.2.3.4 debian UA is in the FS macine and UA's ip addr is 1.2.3.4 contact field=1.2.3.4 -> it doesn't get BYE messegage /etc/hosts: 1.2.3.4 debian UA is in other machine and behind NAT ip addr=x.x.x.x contact field=x.x.x.x -> it gets the BYE messegage /etc/hosts: 9.9.9.9 debian (anyone which different then 1.2.3.4) UA is in the FS macine and UA's ip addr is 9.9.9.9 contact field=9.9.9.9 -> it gets the BYE messegage Where can i set the config to handle the internal UA same as external one? Or where i went wrong? thanks, Viktor
Do you have any NAT in place? What's the Contact header of the INVITE message?
The BYE is a separate request to the INVITE, and so it is sent to the address in the Contact header from the INVITE. If you're behind NAT then FS might not be able to reach you at that address (e.g. if it's an internal IP).
-Steve
On 27 March 2011 16:12, dunchan <dunchan@freemail.hu <mailto:dunchan@freemail.hu>> wrote:
Hi!
I have a server machine with Freeswitch, and SIP gateway to make outgoung call. The gateway has only IP address authentication. I have own created UA, and if i run it from the server and the called party hangs up, it don't get BYE message.
If my UA runs in different machine (other IP), it works well.
I have no idea about this. :(
I've checked the logs, and compared the two methods, and it seems there are no differnces. I use the newest FS.
Any suggestions?
thanks, Viktor
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
dunchan
-
Steven Ayre