[Freeswitch-users] Session ends unexpectedly during record dial plan usage
Peter Olsson
peter.olsson at visionutveckling.se
Tue Aug 30 16:22:40 MSD 2011
If using record, try setting this in the dialplan first;
<action application="set" data="record_waste_resources=true"/>
This will force FS to send RTP - which might be the cause of the problem.
/Peter
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Adam Kelloway
Skickat: den 30 augusti 2011 14:10
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Session ends unexpectedly during record dial plan usage
This was reproduced when making a call to FS using a Linphone SIP client. The SIP client displays a message saying that the session was ended by the remote peer (FS) unexpectedly. A SIP trace shows, however, that the Linphone client ended it unexpectedly (sent the BYE). I haven't seen this when calling from other user agents. The FS logs didn't show anything out of the ordinary.
I only use that client for testing anyway. If anyone has it installed, they can try out this scenario for their own curiosity and see if you see the same behavior.
In any case, thanks for the reply,
Adam
On 3:59 PM, Michael Collins wrote:
On Monday, August 29, 2011, Anthony Minessale <anthony.minessale at gmail.com<mailto:anthony.minessale at gmail.com>> wrote:
> /me punches MSC in the arm.....
Haha, I deserved that one. Might wanna smack me with the ClueBat (tm) as well.
Adam,
If you simply want to record the call between two parties then look on the wiki for the record_session app. Look at the diff between it and the record app. They are *totally* different concepts.
Let us know if you have any other questions.
-MC
>
> On Mon, Aug 29, 2011 at 12:29 PM, Michael Collins <msc at freeswitch.org<mailto:msc at freeswitch.org>> wrote:
>> Go ahead and get a console debug log on this along with a SIP trace. Drop it
>> in pastebin. Hopefully it contains some clues as to what is happening.
>> -MC
>>
>> On Thu, Aug 25, 2011 at 11:55 AM, Adam Kelloway <adam.kelloway at newpace.ca<mailto:adam.kelloway at newpace.ca>>
>> wrote:
>>>
>>> Hi there,
>>>
>>> I have a freeswitch installation that I can make sip calls to to listen
>>> to IVR menus. The sessions last as long as either side does not hang up.
>>> The exception to this is when I use the 'record' dial plan tool. The sip
>>> session ends unexpectedly after about 32+ seconds into the recording.
>>> This happens every time I use the record tool. Note that I have set the
>>> maximum message length to 120 seconds, so this shouldn't be coming into
>>> play here (and shouldn't affect the session anyway).
>>>
>>> Has anyone ever experienced this, and do you have any suggestions as to
>>> what might be the cause?
>>>
>>> Note that there is no NAT involved here. There are also no Expires or
>>> Session-Expires header(s) in the sip INVITE or response that would
>>> affect the length of the session. Indeed, the same type of session can
>>> continue indefinitely until about 32+ seconds after I invoke the record
>>> dial plan tool.
>>>
>>> Thanks,
>>>
>>> Adam
>>>
>>>
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at lists.freeswitch.org<mailto:FreeSWITCH-users at 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 at hotmail.com<mailto:MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<mailto:PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net<http://irc.freenode.net> #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org<mailto:sip%3A888 at conference.freeswitch.org>
> googletalk:conf+888 at conference.freeswitch.org<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:+19193869900
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Adam
--
[cid:image001.png at 01CC6720.4676D8B0]
Adam Kelloway
Software Engineer, NewPace
phone
+1 (902) 406-8375 x1031
email
Adam.Kelloway at NewPace.com<mailto:Adam.Kelloway at newpace.com>
aim<aim:GoIm?screenname=Adam.Kelloway at newpace.com>/msn<msnim:chat?contact=Adam.Kelloway at newpace.com>
Adam.Kelloway<aim:GoIm?screenname=Adam.Kelloway at newpace.ca>@NewPace.ca
!DSPAM:4e5cd35d32761866311061!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110830/e4a905ff/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4620 bytes
Desc: image001.png
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110830/e4a905ff/attachment.png
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list