problem with session timers (I think)
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx. Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Please try <action application="sched_hangup" data="+12600 alloted_timeout"/> Dome C. 2010/10/23 <covici@ccs.covici.com>:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
I don't want the call to hangup at all, I just put that number in for a very large number. Sorry if I was unclear. Dome Charoenyost <dome@tel.co.th> wrote:
Please try <action application="sched_hangup" data="+12600 alloted_timeout"/>
Dome C.
2010/10/23 <covici@ccs.covici.com>:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Do you have a debug-level log of when FS hangs the call up? It should indicate why the call's hung up. There's several things it could be - hangup from the other end, a requested hangup on FS, session timers, (lack of) RTP timer... -Steve On 23 October 2010 03:29, <covici@ccs.covici.com> wrote:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
It just says NORMAL_CLEARiNG but its always after a half hour, so I thought it was session timers. Could there be some other reason? Steven Ayre <steveayre@gmail.com> wrote:
Do you have a debug-level log of when FS hangs the call up? It should indicate why the call's hung up.
There's several things it could be - hangup from the other end, a requested hangup on FS, session timers, (lack of) RTP timer...
-Steve
On 23 October 2010 03:29, <covici@ccs.covici.com> wrote:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Are you able to post the log, at debug level, with sip trace on and and with context (lines above the disconnect)? Also, is there media flowing? Some SIP servers will disconnect a connection if there's been no media for a certain amount of time. FS has that option but it's off by default. In a bypass media situation that could cause problems. NAT is another possibility. Some routers will disconnect a connection that hasn't had any activity for a while. -Steve On 23 October 2010 11:37, <covici@ccs.covici.com> wrote:
It just says NORMAL_CLEARiNG but its always after a half hour, so I thought it was session timers. Could there be some other reason?
Steven Ayre <steveayre@gmail.com> wrote:
Do you have a debug-level log of when FS hangs the call up? It should indicate why the call's hung up.
There's several things it could be - hangup from the other end, a requested hangup on FS, session timers, (lack of) RTP timer...
-Steve
On 23 October 2010 03:29, <covici@ccs.covici.com> wrote:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
I think I fixed it by putting enable-timer value="false" -- I am not sure why this works where making the session-timeout large does not. Very strange. Thanks for your suggestions, I will keep them in mind for the future. Steven Ayre <steveayre@gmail.com> wrote:
Are you able to post the log, at debug level, with sip trace on and and with context (lines above the disconnect)?
Also, is there media flowing? Some SIP servers will disconnect a connection if there's been no media for a certain amount of time. FS has that option but it's off by default. In a bypass media situation that could cause problems.
NAT is another possibility. Some routers will disconnect a connection that hasn't had any activity for a while.
-Steve
On 23 October 2010 11:37, <covici@ccs.covici.com> wrote:
It just says NORMAL_CLEARiNG but its always after a half hour, so I thought it was session timers. Could there be some other reason?
Steven Ayre <steveayre@gmail.com> wrote:
Do you have a debug-level log of when FS hangs the call up? It should indicate why the call's hung up.
There's several things it could be - hangup from the other end, a requested hangup on FS, session timers, (lack of) RTP timer...
-Steve
On 23 October 2010 03:29, <covici@ccs.covici.com> wrote:
Hi. When I call a certain number, using fs and portaudio, fs hangs up in just about a half hour. This is suspiciously like a session timer or something, so I added the parameter <param name="session-timeout" value="12600"/> but it is still happening. I did not change the internal profile, but I did change the external one in the client which registers with the internal profile -- fs is the client as well as the pbx.
Any assistance on these would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_______________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
participants (3)
-
covici@ccs.covici.com
-
Dome Charoenyost
-
Steven Ayre