Re: [Freeswitch-users] outbould PHP ESL

2009-09-09 Thread Michael Jerris
It should be the same, except using php syntax instead of perl. Mike On Sep 2, 2009, at 11:43 AM, Dome Charoenyost wrote: > 2009/9/2 Michael Collins : >> Are you trying to get a channel variable or capture DTMF input from >> the >> caller? > > i try to make IVR by php outbound socket. in XML d

Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Dome Charoenyost
2009/9/2 Michael Collins : > Are you trying to get a channel variable or capture DTMF input from the > caller? i try to make IVR by php outbound socket. in XML dialplan we can get DTMF by read application (store in channel variable) I found it's success in perl outbound (IVR.pm) but for php how do

Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Michael Collins
Are you trying to get a channel variable or capture DTMF input from the caller? -MC On Wed, Sep 2, 2009 at 7:56 AM, Dome Charoenyost wrote: > I follow > http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd > > how to get from php ? > > > Dome C. > -- >

Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Dome Charoenyost
I follow http://wiki.freeswitch.org/wiki/PHP_ESL#ivrd how to get from php ? Dome C. -- #!/usr/bin/php -q 2009/9/2 Brian West : > uuid_getvar > > /b > > On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote: > >> Hi, >> >> just a fast 2cent: >> >>

Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Brian West
uuid_getvar /b On Sep 2, 2009, at 8:16 AM, Tristan Mahé wrote: > Hi, > > just a fast 2cent: > > get var via channel status ? ( variable_res ) ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/

Re: [Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Tristan Mahé
Hi, just a fast 2cent: get var via channel status ? ( variable_res ) Dome Charoenyost a écrit : > Dear sir, > > How to get digit from outbound php esl ? > example in my php > >echo "sendmsg\n"; >echo "call-command: execute\n"; >echo "execute-app-name: read\n"; >echo "exec

[Freeswitch-users] outbould PHP ESL

2009-09-02 Thread Dome Charoenyost
Dear sir, How to get digit from outbound php esl ? example in my php echo "sendmsg\n"; echo "call-command: execute\n"; echo "execute-app-name: read\n"; echo "execute-app-arg: 0 20 /opt/freeswitch/sounds/th/tuxza/welcome.wav res 5000 #\n\n"; How to get res ? best regards. D