Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] running custom script with bind_meta_app


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
stevecrozz at gmail.com
Guest





PostPosted: Mon Dec 15, 2008 2:47 am    Post subject: [Freeswitch-users] running custom script with bind_meta_app Reply with quote

I'm Stephen Crosby, and I've just started working with freeswitch.
It's been great so far.

I want to run a custom script inside a conference when a DTMF sequence
is entered. I found bind_meta_app and thought it would be perfect, but
I can't seem to get it to work. When I dial-in and press *8, I get no
debugging output at all. When I press another sequence like *9 for
instance, I get: [WARNING] switch_ivr_async.c:1429 meta_on_dtmf()
sofia/external/5593495805@sip.gafachi.com Ignoring meta digit '9' not
mapped. The script I wrote has been tested with "jsrun script.js" from
the command line and it does work. I've got the debugging level all
the way up and there's just not much for me to go on. Any help would
be greatly appreciated.

<extension name="gafachi-DID1">
<condition field="destination_number" expression="^xxxxxxxxxxx$">
<action application="answer"/>
<action application="bind_meta_app" data="8 ab s
javascript::$${base_dir}/scripts/script.js"/>
<action application="conference" data="3000@default"/>
</condition>
</extension>

--Stephen

_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Mon Dec 15, 2008 10:22 am    Post subject: [Freeswitch-users] running custom script with bind_meta_app Reply with quote

What are you wanting to accomplish first?

/b

On Dec 15, 2008, at 1:32 AM, Stephen Crosby wrote:
Quote:
I'm Stephen Crosby, and I've just started working with freeswitch.
It's been great so far.

I want to run a custom script inside a conference when a DTMF sequence
is entered. I found bind_meta_app and thought it would be perfect, but
I can't seem to get it to work. When I dial-in and press *8, I get no
debugging output at all. When I press another sequence like *9 for
instance, I get: [WARNING] switch_ivr_async.c:1429 meta_on_dtmf()
sofia/external/5593495805@sip.gafachi.com ([email]sofia/external/5593495805@sip.gafachi.com[/email]) Ignoring meta digit '9' not
mapped. The script I wrote has been tested with "jsrun script.js" from
the command line and it does work. I've got the debugging level all
the way up and there's just not much for me to go on. Any help would
be greatly appreciated.

<extension name="gafachi-DID1">
<condition field="destination_number" expression="^xxxxxxxxxxx$">
<action application="answer"/>
<action application="bind_meta_app" data="8 ab s
javascript::$${base_dir}/scripts/script.js"/>
<action application="conference" data="3000@default"/>
</condition>
</extension>

--Stephen
Back to top
stevecrozz at gmail.com
Guest





PostPosted: Mon Dec 15, 2008 12:32 pm    Post subject: [Freeswitch-users] running custom script with bind_meta_app Reply with quote

I just want to listen for some DTMF sequence while in a conference.
The conference host should be able to enter the sequence at any time
(and any number of times) to run a custom script. I've already written
one in javascript, but I can rewrite it in another language if it's
easier.

On Mon, Dec 15, 2008 at 7:09 AM, Brian West <brian@freeswitch.org> wrote:
Quote:
What are you wanting to accomplish first?
/b
On Dec 15, 2008, at 1:32 AM, Stephen Crosby wrote:

I'm Stephen Crosby, and I've just started working with freeswitch.
It's been great so far.

I want to run a custom script inside a conference when a DTMF sequence
is entered. I found bind_meta_app and thought it would be perfect, but
I can't seem to get it to work. When I dial-in and press *8, I get no
debugging output at all. When I press another sequence like *9 for
instance, I get: [WARNING] switch_ivr_async.c:1429 meta_on_dtmf()
sofia/external/5593495805@sip.gafachi.com Ignoring meta digit '9' not
mapped. The script I wrote has been tested with "jsrun script.js" from
the command line and it does work. I've got the debugging level all
the way up and there's just not much for me to go on. Any help would
be greatly appreciated.

<extension name="gafachi-DID1">
<condition field="destination_number" expression="^xxxxxxxxxxx$">
<action application="answer"/>
<action application="bind_meta_app" data="8 ab s
javascript::$${base_dir}/scripts/script.js"/>
<action application="conference" data="3000@default"/>
</condition>
</extension>

--Stephen

_______________________________________________
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
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Tue Dec 16, 2008 3:12 am    Post subject: [Freeswitch-users] running custom script with bind_meta_app Reply with quote

I use Telegraph with Ruby on Rails to listen on the event socket
interface. With Telegraph you can register on any FS event and get all
channel variables in a hash for further processing. Interactions then
can be done via event_socket intreface.
Telegraph is not finished yet, but for me it was a good and easy point
to start.

Best regards
Peter

Stephen Crosby schrieb:
Quote:
I just want to listen for some DTMF sequence while in a conference.
The conference host should be able to enter the sequence at any time
(and any number of times) to run a custom script. I've already written
one in javascript, but I can rewrite it in another language if it's
easier.

On Mon, Dec 15, 2008 at 7:09 AM, Brian West <brian@freeswitch.org> wrote:

Quote:
What are you wanting to accomplish first?
/b
On Dec 15, 2008, at 1:32 AM, Stephen Crosby wrote:

I'm Stephen Crosby, and I've just started working with freeswitch.
It's been great so far.

I want to run a custom script inside a conference when a DTMF sequence
is entered. I found bind_meta_app and thought it would be perfect, but
I can't seem to get it to work. When I dial-in and press *8, I get no
debugging output at all. When I press another sequence like *9 for
instance, I get: [WARNING] switch_ivr_async.c:1429 meta_on_dtmf()
sofia/external/5593495805@sip.gafachi.com Ignoring meta digit '9' not
mapped. The script I wrote has been tested with "jsrun script.js" from
the command line and it does work. I've got the debugging level all
the way up and there's just not much for me to go on. Any help would
be greatly appreciated.

<extension name="gafachi-DID1">
<condition field="destination_number" expression="^xxxxxxxxxxx$">
<action application="answer"/>
<action application="bind_meta_app" data="8 ab s
javascript::$${base_dir}/scripts/script.js"/>
<action application="conference" data="3000@default"/>
</condition>
</extension>

--Stephen

_______________________________________________
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



_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services