the variable can't reverse the profile param
if you want to pick and choose you need to turn it off in the profile and only use the var.


On Wed, Jun 9, 2010 at 3:04 PM, Robert Hadley <robert.hadley@teotech.com> wrote:

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@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@gmail.com]
Sent: Wednesday, June 09, 2010 9:33 AM


To: freeswitch-users@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@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@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@freeswitch.org]
Sent: Tuesday, June 08, 2010 4:58 PM
To: freeswitch-users@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@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
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900


_______________________________________________
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




--
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
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900