sendmsg is not for api, tryapi fifo_member add blah…………\n\nOn Saturday, September 22, 2012 at 3:03 PM, Peter van Raamsdonk wrote:
Hi all,I started to implement fifo in my application to handle calls from know phones to unknown extensions and specific dial string/ extension.I use the api commands with esl (java client), outbound socket (with sendMsg).I looked at a lot of examples, for me I thought the right sequence to would be to add (register) user agents first (determined by myself) and later add caller in which all user agents would ring and the call would be handled after accepting the call from free user agent.My problem is now the right notation of the add fifo_member. I think I should use this for registering agents;sendmsg <uuid> call-command: execute execute-app-name: <one of the applications> execute-app-arg: <application data>sendMsgcall-command: executeexecute-app-name: setexecute-app-arg:"fifo_member(add TestQue sofia/internal/1001%123.123.123.123)"I don't know if the () can be used in sendMsg, my queue name needs quotes "\'" and the callerid needs "@" or "%" with domain at end.When I execute the command I don't get errors, response is ok and in log of freeswitch I also see no errors (only set command).However when I execute fifo list or (verbose_list) from FS CLI, I don't see any user agents registered. If I put the caller in my queue, I see only the caller registered (callers) http://wiki.freeswitch.org/wiki/Mod_fifo#TerminologyBelow works, only my created queue is missing lag, call timeout and simcount!Put a caller into a FIFO queue
sendMsgcall-command: executeexecute-app-name: fifoexecute-app-arg: TestQue in somesoundfile.wav someothersoundfilemusic.wavKind regards,PeterPs, I hope somebody can advise !!!!_________________________________________________________________________Professional FreeSWITCH Consulting Services:FreeSWITCH-powered IP PBX: The CudaTel Communication ServerOfficial FreeSWITCH SitesFreeSWITCH-users mailing list
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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