[Freeswitch-users] application=record_session leaves a"session"around?

Robert Hadley robert.hadley at teotech.com
Wed Jun 9 13:04:36 PDT 2010


Thanks Anthony,

 

Yes, I have inbound-bypass-media enabled globally (and late-negotiation).

 

I added <action application="set" data="bypass_media=false"/> to dialplan
when recording but I still get the same error.

2010-06-09 12:50:04.877331 [ERR] switch_ivr.c:1208 Can't re-establsh media
on sofia/internal/1018 at 192.168.72.138:5060

 

Is it okay to disable bypass_media on a per-call basis this way when
recording, to override the global setting?

 

Thanks,

Robert

 

  _____  

From: Anthony Minessale [mailto:anthony.minessale at gmail.com] 
Sent: Wednesday, June 09, 2010 9:33 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] application=record_session leaves
a"session"around?

 

It's a bug but it's and edge case triggered by this:

 

2010-06-08 16:30:45.979138 [ERR] switch_ivr.c:1208 Can't re-establsh media
on sofia/internal/1018 at 192.168.72.138:5060

 

This is because you appear to have bypass media enabled and you also are
trying to record.

When you do something that needs media on an unanswered channel it will try
to establish media.

But since the call is not answered the attempt will fail.

 

You should not mix bypass media and recording in this way but I committed a
fix for the stuck channel.

 

 

On Wed, Jun 9, 2010 at 10:24 AM, Robert Hadley <robert.hadley at teotech.com>
wrote:

Hi Brian,

 

Yes, it was FreeSWITCH Version 1.0.head (git-d888ebc 2010-06-08 14-35-15
-0400)

 

I will 'git' it today too.

 

Thanks,

Robert

 

  _____  

From: Brian West [mailto:brian at freeswitch.org] 
Sent: Tuesday, June 08, 2010 4:58 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] application=record_session leaves a"session"
around?

 

Have you made sure you're on the very latest FreeSWITCH code?

 

/b

 

On Jun 8, 2010, at 6:44 PM, Robert Hadley wrote:

 

Using   <action application="record_session" data="filename.wav"/> seems to
leave a "session" around.

I notice this repeated message later when I restart sofia internal profile
after recording calls:
2010-06-08 15:37:56.641151 [CRIT] sofia.c:1459 Waiting for 3 session(s) (Msg
repeats 13 times)

The number of sessions "Waiting for" is the number of calls I have recorded.

Pastebin of console debug log at: http://pastebin.freeswitch.org/13157

 

Is this normal, a bug, or is there something I need to do after recording a
call to free the session?

 

Thanks,

Robert

 


_______________________________________________
FreeSWITCH-users mailing list
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 #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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100609/cca398a8/attachment-0001.html 


More information about the FreeSWITCH-users mailing list