Re: [Freeswitch-users] Outbound socket PHP question

2009-08-08 Thread William Suffill
I'll see what I can do. Got a few sections of the PHP ESL to finish but should be able to write up fs_ivrd as well. -- W ___ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org

Re: [Freeswitch-users] Outbound socket PHP question

2009-08-05 Thread Greg Thoen
Thanks so much, William. This gives me a great start. -- Greg On Aug 4, 2009, at 7:04 PM, William Suffill wrote: I wrote some notes on this but have yet to wiki it. example of an outbound socket connection where the call is answered, a variable is set then perhaps play one of the

Re: [Freeswitch-users] Outbound socket PHP question

2009-08-04 Thread William Suffill
I wrote some notes on this but have yet to wiki it. example of an outbound socket connection where the call is answered, a variable is set then perhaps play one of the pre-installed files and hangup. ivrd fs_ivrd comes with freeswitch. It being a small daemon just invokes the script defined in a

[Freeswitch-users] Outbound socket question

2009-06-02 Thread Nik Middleton
Hi Guys, I'm going some work with outbound socket, and have a few questions. When each call is answered, I get a connection to my server socket. Is it right to assume that this connection will remain for the duration of the call? If so, do I still need to pass the UUID when I call

Re: [Freeswitch-users] Outbound socket question

2009-06-02 Thread Anthony Minessale
yes the socket remains open the duration of your connection. and the uuid becomes optional at that point for sendmsg but may still come into play for some FSAPI based commands like uuid_getvar On Tue, Jun 2, 2009 at 12:04 PM, Nik Middleton nik.middle...@noblesolutions.co.uk wrote: Hi Guys,

[Freeswitch-users] Outbound socket

2008-06-22 Thread Ivan C Myrvold
In my dialplan, I have set the following to send incoming calls to an application I am working on: action application=socket data=192.168.207.242:8084 async full/ This is working very nice, and I am receiving events for all incoming calls, and I am redirecting the calls in my application to

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Brian West
What are you doing in your script over the socket? You're directing them elsewhere? /b On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote: In my dialplan, I have set the following to send incoming calls to an application I am working on: action application=socket data=192.168.207.242:8084

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Ivan C Myrvold
I do a sendmsg and execute a bridge sofia/ 192.168.207.203/116%192.168.207.203 Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West: What are you doing in your script over the socket? You're directing them elsewhere? /b On Jun 22, 2008, at 7:36 AM, Ivan C Myrvold wrote: In my dialplan,

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Ivan C Myrvold
SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge Ivan Den 22. juni. 2008 kl. 14:40 skrev Brian West: What are you doing in your script over the socket? You're directing them elsewhere? /b On Jun 22, 2008, at 7:36 AM, Ivan C

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Ivan C Myrvold
I see in the documentation that I should send a Sendmsg uuid, and not a SendMsg without the uuid. Maybe that will give me all messages with this uuid? Ivan Den 22. juni. 2008 kl. 14:59 skrev Ivan C Myrvold: SendMsg call-command: execute execute-app-arg:

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Greg White
: Ivan_C_Myrvold To: freeswitch-users@lists.freeswitch.org Sent: 06/22/2008 08:59 AM Received: 06/22/2008 09:00 AM Subject: Re: [Freeswitch-users] Outbound socket SendMsg call-command: execute execute-app-arg: sofia/192.168.207.203/116%192.168.207.203 execute-app-name: bridge Ivan Den 22. juni. 2008 kl

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Greg White
@lists.freeswitch.org CC: Greg_White Sent: 06/22/2008 09:39 AM Received: 06/22/2008 09:39 AM Subject: Re: [Freeswitch-users] Outbound socket That doesn't help if you have several calls going, and one of the hangs up. You don't know which of them hang up, if you doesn't see the hangup message with the uuid

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Ivan C Myrvold
the socket for the terminated call close; the others stay open. From: Ivan C Myrvold To: freeswitch-users@lists.freeswitch.org CC: Greg White Sent: 06/22/2008 09:39 AM Received: 06/22/2008 09:39 AM Subject: Re: [Freeswitch-users] Outbound socket That doesn't help if you have several calls going

Re: [Freeswitch-users] Outbound socket

2008-06-22 Thread Brian West
On outbound event socket SendMsg alone is fine. I'm pretty sure once you send the bridge message you're finished and your not going to get anything else. /b On Jun 22, 2008, at 8:05 AM, Ivan C Myrvold wrote: I see in the documentation that I should send a Sendmsg uuid, and not a SendMsg