FS hangs up after 30 seconds by timeout on ACK (after sending 200 OK)
Hi, all! I have two sip profiles: profile_spb and profile_msk for one gateway. I assign sip port 5060 for profile_spb and port 5070 for profile_msk. FS has successfully registered two users with distinct usernames: num_spb and num_msk on the gateway. By the way, field "Contact" in message REGISTER has normal port number - 5060 and 5070 accordingly. When someone calls to num_spb, it shoot to port 5060 and all works well. When someone calls to num_msk, it shoot to port 5070. Call is received, but is rejected after 30 seconds by timeout (not received ACK on 200 OK). I think it's because FS sends 200 OK with port number = 0 in field Contact. All another headers are good (it seems). Does someone know how to say FS to use correct port number in field Contact in 200 OK? Does someone has another version? Thanks a lot!
Although seems like nat issue (I think), would be interesting to see log with 'fsctl loglevel debug', 'sofia global siptrace on' On Fri, 18 Jan 2013 17:38:55 +0400 Алексей Дорофеев <leshadorofeev@gmail.com> wrote:
Hi, all!
I have two sip profiles: profile_spb and profile_msk for one gateway. I assign sip port 5060 for profile_spb and port 5070 for profile_msk.
FS has successfully registered two users with distinct usernames: num_spb and num_msk on the gateway. By the way, field "Contact" in message REGISTER has normal port number - 5060 and 5070 accordingly.
When someone calls to num_spb, it shoot to port 5060 and all works well. When someone calls to num_msk, it shoot to port 5070. Call is received, but is rejected after 30 seconds by timeout (not received ACK on 200 OK). I think it's because FS sends 200 OK with port number = 0 in field Contact. All another headers are good (it seems).
Does someone know how to say FS to use correct port number in field Contact in 200 OK?
Does someone has another version?
Thanks a lot!
-- royj
Hi there
When someone calls to num_msk, it shoot to port 5070. Call is received, but is rejected after 30 seconds by timeout (not received ACK on 200 OK). I think it's because FS sends 200 OK with port number = 0 in field Contact. All another headers are good (it seems).
In the profile check the value of ext-sip-ip is not stun or auto-nat as this could result in the 0 port number if the discovery fails (just a guess on my part). Better to set it to auto or the actual IP address.
Does someone know how to say FS to use correct port number in field Contact in 200 OK?
If the suggestion above does not work there is an undocumented profile parameter of ext-sip-port so you could try that. Richard
PS: Make sure you're using an up to date version and and see http://jira.freeswitch.org/browse/FS-4859 On 20 January 2013 00:11, Richard Brady <rnbrady@gmail.com> wrote:
Hi there
When someone calls to num_msk, it shoot to port 5070. Call is received, but is rejected after 30 seconds by timeout (not received ACK on 200 OK). I think it's because FS sends 200 OK with port number = 0 in field Contact. All another headers are good (it seems).
In the profile check the value of ext-sip-ip is not stun or auto-nat as this could result in the 0 port number if the discovery fails (just a guess on my part). Better to set it to auto or the actual IP address.
Does someone know how to say FS to use correct port number in field Contact in 200 OK?
If the suggestion above does not work there is an undocumented profile parameter of ext-sip-port so you could try that.
Richard
participants (3)
-
Richard Brady
-
royj
-
Алексей Дорофеев