Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Dennis
Anybody else, who has an idea, what I could do (till I find someone in the IRC)? ___ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

Re: [Freeswitch-users] Problem with PlayAndGetDigits

2008-10-26 Thread Keith Wood
Hi Brian, Please see if you notice anything wrong with the way I pass parameters to playAndGetDigits? I think the failure check works work for no/empty entry but not for invalid entry. Thanks, Keith On Fri, Oct 24, 2008 at 6:10 PM, Keith Wood [EMAIL PROTECTED]wrote: Hi Brian, It is quite

[Freeswitch-users] custom data publishing module

2008-10-26 Thread Juan Backson
Hi, I am working on developing a very simple custom mod that needs to push out data to an external HTTP service, similar to the way curl works. Does anyone have experience in writing a Freeswitch mod that pushes out data to an external HTTP server and can give me a hand? I am hoping to learn

Re: [Freeswitch-users] custom data publishing module

2008-10-26 Thread Anthony Minessale
We use the actual curl library so if you look in the FS code for anything with curl in the file name then look inside that file for functions that start with curl you may get an idea. You can also visit curl site and check their dev docs and sample code. On Sun, Oct 26, 2008 at 11:23 AM, Juan

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Anthony Minessale
question what args do you pass to the socket app when you call it in your dialplan. are you using the full and async keywords? the full one is necessary to have the power to control other calls. Could this be your prob? On Sun, Oct 26, 2008 at 5:40 AM, Dennis [EMAIL PROTECTED] wrote:

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Dennis
This is what I have in my /dialplan/default.xml: extension name=test condition field=destination_number expression=^123$ action application=set data=hangup_after_bridge=false/ action application=set data=enable_heartbeat_events=10/

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Anthony Minessale
one suggestion i was trying to make was. instead of originating the next call to 123 to put it in it's own script. try replacing 123 with park() {origination_caller_id_number=1234567,inbound_uuid=.$event['Unique-ID'].}sofia/internal/[EMAIL PROTECTED] park() This will put the new call into park

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Dennis
I tried park several times and it does not work for me. The problem must be on my side and I will test it tomorrow morning again. I know that I get back the uuid of the originated call and the targeted phone is ringing, although it is not shown anywhere, that it is ringing somewhere. I get +OK

Re: [Freeswitch-users] Socket inbound or outbound with PHP?

2008-10-26 Thread Anthony Minessale
try latest trunk, i think i can fix you issue by allowing sendmsg to work on outside uuid even on myevents mode. On Sun, Oct 26, 2008 at 3:39 PM, Dennis [EMAIL PROTECTED] wrote: I tried park several times and it does not work for me. The problem must be on my side and I will test it tomorrow