Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Call exits after 120 seconds with hangup cause

Goto page 1, 2  Next
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
odermann at googlemail...
Guest





PostPosted: Fri Aug 21, 2009 7:53 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

hi,

we are using fs for different services, but we never used it, to
connect sip-phones directly with fs.

now we want to do so, but we encounter big problems. everything works
fine, but after 120 seconds fs hangs up with the hangup cause
RECOVERY_ON_TIMER_EXPIRE.

it seems that this has something to do with nat problems (i read about
it in nabble), but we can not figure out, how to fix the problem.

we are not using stun, because all ip-addresses are static. we opened
our firewall for our ip-addresses and opened the following ports:
5060 - 5091 TCP / UDP
10000 - 32767 UDP

we are using a quite actual version of fs - the revision ist 13783.

we set up a profile in the internal.xml and played a lot with
different settings. we can talk to each other, make outbound calls and
receive calls - but we can not figure out, how to avoid the hangup
after 120 seconds.

thanks a lot for your help
dennis

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri Aug 21, 2009 8:27 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

You have a NAT issue.

/b

On Aug 21, 2009, at 7:46 AM, Dennis wrote:

Quote:
hi,

we are using fs for different services, but we never used it, to
connect sip-phones directly with fs.

now we want to do so, but we encounter big problems. everything works
fine, but after 120 seconds fs hangs up with the hangup cause
RECOVERY_ON_TIMER_EXPIRE.

it seems that this has something to do with nat problems (i read about
it in nabble), but we can not figure out, how to fix the problem.

we are not using stun, because all ip-addresses are static. we opened
our firewall for our ip-addresses and opened the following ports:
5060 - 5091 TCP / UDP
10000 - 32767 UDP

we are using a quite actual version of fs - the revision ist 13783.

we set up a profile in the internal.xml and played a lot with
different settings. we can talk to each other, make outbound calls and
receive calls - but we can not figure out, how to avoid the hangup
after 120 seconds.

thanks a lot for your help
dennis

_______________________________________________
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


_______________________________________________
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
Back to top
asannucci at gmail.com
Guest





PostPosted: Fri Aug 21, 2009 8:41 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Do you have those lines in switch.conf file?

<!--RTP port range -->
<param name="rtp-start-port" value="10000"/>
<param name="rtp-end-port" value="32767"/>


BR

_______________________________________________
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
Back to top
jim at evolutiontel.net
Guest





PostPosted: Sun Aug 23, 2009 11:24 pm    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

In your SIP profiles this could be set. I beleive 120 is the default setting.

param name="session-timeout" value="120"

On Fri, Aug 21, 2009 at 11:35 PM, bakko<asannucci@gmail.com> wrote:
Quote:
Do you have those lines in switch.conf file?

   <!--RTP port range -->
   <param name="rtp-start-port" value="10000"/>
   <param name="rtp-end-port" value="32767"/>


BR

_______________________________________________
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




--
Jim Burke
Director Evolutiontel.
http://www.evolutiontel.net

_______________________________________________
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
Back to top
odermann at googlemail...
Guest





PostPosted: Wed Aug 26, 2009 8:15 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Quote:
You have a NAT issue.

as i wrote, we are quite sure, that this is a nat problem. but we have
no idea how we could fix this. there must be a reason, why the hangup
always comes after 120 seconds.


Quote:
<!--RTP port range -->
<param name="rtp-start-port" value="10000"/>
<param name="rtp-end-port" value="32767"/>

we tested that, but this does not change anything (nothing becomes
worse or better).


Quote:
param name="session-timeout" value="120"

this line is commented in our profile and we believe, that this has
nothing to do with our problem.


to tell a little bit more about our problem:

under http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios#Scenario_2
you can find the scenario, which is exactly like ours. we played with
all the mentioned settings, but it does not work.

to mention one thing: if we connect with xlite (softphone), we do not
have any problems. but we have snom-voip-phones and with them we have
the problems.

the big question is: wo or what might cause/trigger the hangup? is it
freeswitch or something else? we have a firewall (IPCop) - might there
be a setting, which needs to be set, to avoid theses problems?


kind regards
dennis

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Aug 26, 2009 10:47 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

if you are talking to a device that pretends to do session timers but really does not, the re-invite can cause a hangup.
We have seen this with sonus many times, do you have sonus involved in your call per chance?


On Wed, Aug 26, 2009 at 7:59 AM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote:
> You have a NAT issue.

as i wrote, we are quite sure, that this is a nat problem. but we have
no idea how we could fix this. there must be a reason, why the hangup
always comes after 120 seconds.


Quote:
   <!--RTP port range -->
   <param name="rtp-start-port" value="10000"/>
   <param name="rtp-end-port" value="32767"/>


we tested that, but this does not change anything (nothing becomes
worse or better).


Quote:
param name="session-timeout" value="120"


this line is commented in our profile and we believe, that this has
nothing to do with our problem.


to tell a little bit more about our problem:

under http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios#Scenario_2
you can find the scenario, which is exactly like ours. we played with
all the mentioned settings, but it does not work.

to mention one thing: if we connect with xlite (softphone), we do not
have any problems. but we have snom-voip-phones and with them we have
the problems.

the big question is: wo or what might cause/trigger the hangup? is it
freeswitch or something else? we have a firewall (IPCop) - might there
be a setting, which needs to be set, to avoid theses problems?


kind regards
dennis


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
odermann at googlemail...
Guest





PostPosted: Wed Aug 26, 2009 11:28 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Quote:
if you are talking to a device that pretends to do session timers but really
does not, the re-invite can cause a hangup.
We have seen this with sonus many times, do you have sonus involved in your
call per chance?

hi anthony,

this is what we found on the snom website about the session timer
settings: "If SIP Session Timer Support is enabled, this option
specifies the SIP session timer in seconds. For instance, a Re-INVITE
will be sent after 50% of its value has elapsed." our setting is 3600.

is session timer and re-invite helpful or can we disable it? behaps
disabling works?

is it possible, that snom does not support a REAL session timer?

sonus is not involved.


kind regards
dennis

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Wed Aug 26, 2009 12:03 pm    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Is the snom firmware up to the latest?
I believe session timers should work properly with snom?
you can try disabling it but make sure you have your firmware to latest.


On Wed, Aug 26, 2009 at 11:23 AM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote:
> if you are talking to a device that pretends to do session timers but really
Quote:
does not, the re-invite can cause a hangup.
We have seen this with sonus many times, do you have sonus involved in your
call per chance?


hi anthony,

this is what we found on the snom website about the session timer
settings: "If SIP Session Timer Support is enabled, this option
specifies the SIP session timer in seconds. For instance, a Re-INVITE
will be sent after 50% of its value has elapsed." our setting is 3600.

is session timer and re-invite helpful or can we disable it? behaps
disabling works?

is it possible, that snom does not support a REAL session timer?

sonus is not involved.



kind regards
dennis

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
odermann at googlemail...
Guest





PostPosted: Thu Aug 27, 2009 10:51 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Quote:
Is the snom firmware up to the latest?
yes, the firmware is the latest.

Quote:
I believe session timers should work properly with snom?
i don't know, but i think so. we tested with session timers "off" and
with setting the session timer to 0. both does not change anything.


we played with using a stun-server and had a small success. if we are
connected with a stund-server, the hangup will not come after 120
seconds. we can also call the 5900 and listen to the moh. this works
fine.
here we have a totally different problem. if another voip phone is
connected to the server using stun (for example the 1000), both sides
can not talk to each other. one won't hear, if the other side is
talking.

very strange (for us), but we have no idea, what we can do about that.

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Aug 27, 2009 10:53 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Are the phones behind the same nat as FS?

/b

On Aug 27, 2009, at 10:39 AM, Dennis wrote:

Quote:
we played with using a stun-server and had a small success. if we are
connected with a stund-server, the hangup will not come after 120
seconds. we can also call the 5900 and listen to the moh. this works
fine.
here we have a totally different problem. if another voip phone is
connected to the server using stun (for example the 1000), both sides
can not talk to each other. one won't hear, if the other side is
talking.


_______________________________________________
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
Back to top
odermann at googlemail...
Guest





PostPosted: Thu Aug 27, 2009 11:11 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Quote:
Are the phones behind the same nat as FS?

no, both phones are behind the same nat, fs is behind another nat (and
the internet is inbetween).

both phones are in our office and we are sitting behind a nat. we
connect through our nat over the internet into the other nat, where fs
is behind.

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Aug 27, 2009 11:59 am    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

Can you paste in the line that actually hangs up your call
it's BLUE and says something like

2009-08-27 11:39:04.903202 [NOTICE] sofia.c:327 Hangup sofia/internal/1004@dev.bkw.org (1004@dev.bkw.org) [CS_EXECUTE] [NORMAL_CLEARING]

find the line like this for each leg of you call and put them in your reply


On Thu, Aug 27, 2009 at 11:01 AM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote:
> Are the phones behind the same nat as FS?


no, both phones are behind the same nat, fs is behind another nat (and
the internet is inbetween).

both phones are in our office and we are sitting behind a nat. we
connect through our nat over the internet into the other nat, where fs
is behind.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
odermann at googlemail...
Guest





PostPosted: Thu Aug 27, 2009 12:33 pm    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

this is the line (without stun - so we only have one leg) and we
called the 5900 to moh:

2009-08-27 19:18:02.348232 [NOTICE] sofia.c:3863 Hangup
sofia/internal/1004@212.18.215.102 [CS_EXECUTE]
[RECOVERY_ON_TIMER_EXPIRE]

we called the 5900 and waited 2 minutes...

or did you mean something different?

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Aug 27, 2009 12:48 pm    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

do the following:

1) restart FS
2) type sofia profile internal siptrace on
3) type console loglevel debug
4) reproduce the issue
5) upload the resulting output to http://pastebin.freeswitch.org (*hint* the pass is in the dialog box)
6) let me know the pastebin number


On Thu, Aug 27, 2009 at 12:25 PM, Dennis <odermann@googlemail.com (odermann@googlemail.com)> wrote:
Quote:
this is the line (without stun - so we only have one leg) and we
called the 5900 to moh:

2009-08-27 19:18:02.348232 [NOTICE] sofia.c:3863 Hangup
sofia/internal/1004@212.18.215.102 (1004@212.18.215.102) [CS_EXECUTE]
[RECOVERY_ON_TIMER_EXPIRE]

we called the 5900 and waited 2 minutes...

or did you mean something different?


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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





--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
odermann at googlemail...
Guest





PostPosted: Thu Aug 27, 2009 1:17 pm    Post subject: [Freeswitch-users] Call exits after 120 seconds with hangup Reply with quote

the pastebin number is 10129

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services