<div>It should work with inbound and outbound, but if you use sendMsg, you need a session.
                </div>
                <div><div><br></div><div>--&nbsp;</div><div>Seven Du</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Saturday, September 22, 2012 at 11:41 PM, Peter van Raamsdonk wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Hi Seven,</div><div><br></div><div>Inbound and outboud is confusing because both can do the same sometime, I will try but this should also be possible with sendMsg.</div><div><br></div><div>Thanks,</div><div><br></div><div>Peter</div><br><div><div>On 22 sep 2012, at 13:31, Seven Du wrote:</div><br><blockquote type="cite"><div>
                <div>
                    sendmsg is not for api, try
                </div><div><br></div><div><br></div><div>api fifo_member add blah…………\n\n</div><div><br></div><div><br></div>
                <div><div><br></div><div>--&nbsp;</div><div>Seven Du</div><div>Sent with <a href="http://www.sparrowmailapp.com/?sig">Sparrow</a></div><div><br></div></div><p style="color: #A0A0A8;">On Saturday, September 22, 2012 at 3:03 PM, Peter van Raamsdonk wrote:</p><blockquote type="cite"><div>
                    <span><div><div>Hi all,<div><br></div><div>I started to implement fifo in my application to handle calls from know phones to unknown extensions and specific dial string/ extension.</div><div><br></div><div>I use the api commands with esl (java client), outbound socket (with sendMsg).</div><div><br></div><div><font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Mod_event_socket">http://wiki.freeswitch.org/wiki/Mod_event_socket</a></font></div><div><br></div><div>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.</div><div><br></div><div>My problem is now the right notation of the add fifo_member. I think I should use this for registering agents;</div><div><br></div><div><font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Configure_for_Agent_Callback">http://wiki.freeswitch.org/wiki/Mod_fifo#Configure_for_Agent_Callback</a></font></div><div><br></div><div><font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Simple%20On-hook%20Agent%20Login/Logout%20Example">http://wiki.freeswitch.org/wiki/Mod_fifo#Simple%20On-hook%20Agent%20Login/Logout%20Example</a></font></div><div><br></div><div><font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Variable_fifo_member_wait">http://wiki.freeswitch.org/wiki/Variable_fifo_member_wait</a></font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><pre>sendmsg &lt;uuid&gt;
call-command: execute
execute-app-name: &lt;one of the applications&gt;
execute-app-arg: &lt;application data&gt;</pre><pre>sendMsg</pre></font><pre><font color="#0000ff">call-command: </font><font color="#b4783c">execute</font></pre><div><pre><font color="#0000ff">execute-app-name: </font><font color="#b4783c">set</font></pre><span style="color: rgb(0, 0, 255); "><pre>execute-app-arg:</pre></span><div><span style="font-family: monospace; white-space: pre; "><font color="#b4783c">"fifo_member(add TestQue sofia/internal/1001</font><font color="#ff0000">%</font><font color="#b4783c">123.123.123.123)"</font></span><pre>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.</pre></div></div></div><div><br></div><div>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).</div><div><br></div><div>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) <font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Mod_fifo#Terminology">http://wiki.freeswitch.org/wiki/Mod_fifo#Terminology</a></font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><a href="http://wiki.freeswitch.org/wiki/Mod_fifo#list.7Clist_verbose">http://wiki.freeswitch.org/wiki/Mod_fifo#list.7Clist_verbose</a></font></div><div><br></div><div>Below works, only my created queue is missing lag, call timeout and simcount!</div><div><br></div><div><h2><span>Put a caller into a FIFO queue</span></h2><div><font color="#0000ff"><pre>sendMsg</pre></font><pre><font color="#0000ff">call-command: </font><font color="#b4783c">execute</font></pre><div><pre><font color="#0000ff">execute-app-name: </font><font color="#b4783c">fifo</font></pre><pre><font color="#0000ff">execute-app-arg: </font><font color="#b4783c">TestQue in somesoundfile.wav someothersoundfilemusic.wav</font></pre></div><div>Kind regards,</div></div></div><div><br></div><div>Peter</div><div><br></div><div>Ps, I hope somebody can advise !!!!</div></div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com/">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com/">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org/">http://www.freeswitch.org</a></div></div></div></span>
                  
                  
                  
                  
                </div></blockquote><div>
                    <br>
                </div>
            _________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></blockquote></div><br></div><div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>