Re: [Freeswitch-dev] execute script before hangup

2009-11-17 Thread vip killa
to maintain a recording On Tue, Nov 17, 2009 at 12:35 PM, Michael Jerris wrote: > Conferences are totally dynamic, if there is no one in it, why does it > matter that it ends? > > > On Nov 16, 2009, at 11:44 AM, vip killa wrote: > > well, when the user hangs up, freeswitch detects it and reacts

Re: [Freeswitch-dev] execute script before hangup

2009-11-17 Thread Michael Jerris
Conferences are totally dynamic, if there is no one in it, why does it matter that it ends? On Nov 16, 2009, at 11:44 AM, vip killa wrote: > well, when the user hangs up, freeswitch detects it and reacts accordingly so > there must be a way to execute a command between the time freeswitch dete

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Leon de Rooij
Indeed, it reminds me of a PSTN switch that had some signalling links from one port to another to 'fix' a routing issue.. It's a hack and before you know it you can't go back :) On Mon, 2009-11-16 at 16:21 -0600, Brian West wrote: > I personally wouldn't ever encourage anyone to use loopback. :)

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Brian West
I personally wouldn't ever encourage anyone to use loopback. :) /b On Nov 16, 2009, at 3:53 PM, Mathieu Rene wrote: If you want to go back in the dialplan you can use the loopback channel, since you arent making any actual call out of the system, you do not wanrt to use sofia. Mathieu Re

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Mathieu Rene
If you want to go back in the dialplan you can use the loopback channel, since you arent making any actual call out of the system, you do not wanrt to use sofia. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 16-Nov-09,

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Michael Collins
On Mon, Nov 16, 2009 at 1:41 PM, vip killa wrote: > it is a valid user that is not registered but the extension points to a > park action > If I read this correctly... http://wiki.freeswitch.org/wiki/Dialplan_XML#Dialing_A_Registered_User ... Then you shouldn't be using % with a non-registered

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread vip killa
it is a valid user that is not registered but the extension points to a park action On Mon, Nov 16, 2009 at 4:32 PM, Michael Collins wrote: > > > On Mon, Nov 16, 2009 at 1:18 PM, vip killa wrote: > >> i don't understand how to do a conference outcall to an application, every >> time a try

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Michael Collins
On Mon, Nov 16, 2009 at 1:18 PM, vip killa wrote: > i don't understand how to do a conference outcall to an application, every > time a try conference confname dial sofia/./99%192.168.9.999 > > i get Call Requested: result: [USER_NOT_REGISTERED] > > Is 99%192.168.9.999 a regist

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Brian West
because the user isn't registered... and 192.168.9.999 is not a valid IP or domain. /b On Nov 16, 2009, at 3:18 PM, vip killa wrote: > i don't understand how to do a conference outcall to an application, > every time a try conference confname dial sofia/./ > 99%192.168.9.999 >

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread vip killa
i don't understand how to do a conference outcall to an application, every time a try conference confname dial sofia/./99%192.168.9.999 i get Call Requested: result: [USER_NOT_REGISTERED] On Mon, Nov 16, 2009 at 2:59 PM, Trixter aka Bret McDanel < trix...@0xdecafbad.com> wrote: >

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Trixter aka Bret McDanel
On Mon, 2009-11-16 at 12:08 -0500, vip killa wrote: > well, the actual time does not matter, i just need the command to > execute before the user hangs up. what im trying to do is maintain a > conference (i don't want it to end unless i choose to end it) but once > the last person leaves the confer

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Trixter aka Bret McDanel
On Mon, 2009-11-16 at 11:44 -0500, vip killa wrote: > well, when the user hangs up, freeswitch detects it and reacts > accordingly so there must be a way to execute a command between the > time freeswitch detects and reacts. I think there is some terminology that is causing confusion. When a use

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread vip killa
well, the actual time does not matter, i just need the command to execute before the user hangs up. what im trying to do is maintain a conference (i don't want it to end unless i choose to end it) but once the last person leaves the conference, it automatically ends. so i figure if i can do a pa ca

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Brian West
Yes but we can't time travel and do it 1 to 2 seconds before this takes place... Can you outline your reasoning as to WHY you need to do this? Are you trying to do your billing inline when the user hangs up? /b On Nov 16, 2009, at 10:44 AM, vip killa wrote: > well, when the user hangs up, f

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread vip killa
well, when the user hangs up, freeswitch detects it and reacts accordingly so there must be a way to execute a command between the time freeswitch detects and reacts. On Mon, Nov 16, 2009 at 11:36 AM, Shelby Ramsey wrote: > how would you know whether or not the user is going to hang up in 1 or 2

Re: [Freeswitch-dev] execute script before hangup

2009-11-16 Thread Shelby Ramsey
how would you know whether or not the user is going to hang up in 1 or 2 seconds? vip killa wrote: > i'm trying to execute a script 1 or 2 seconds before a user hangs up. > is this possible? i'm using "api_hangup_hook=" to execute the script > currently but it executes after the user hangs up.

[Freeswitch-dev] execute script before hangup

2009-11-16 Thread vip killa
i'm trying to execute a script 1 or 2 seconds before a user hangs up. is this possible? i'm using "api_hangup_hook=" to execute the script currently but it executes after the user hangs up. is there anyway to have api_hangup_hook execute before the actual hang up of the call? __