Hi Michael,<br><br>I&#39;ve tried the command:<br><br>api expand conference ds_totale dial group_call(01@${domain_name})<br><br>But the output is:<br><br>Content-Type: api/response<br>Content-Length: 47<br><br>Call Requested: result: [CHAN_NOT_IMPLEMENTED]<br>
<br>Freeswitch log:<br>2011-07-20 12:28:49.304970 [ERR] switch_core_session.c:413 Could not locate channel type group_call(<a href="mailto:01@192.168.25.61">01@192.168.25.61</a>)<br>2011-07-20 12:28:49.304970 [NOTICE] switch_ivr_originate.c:2453 Cannot create outgoing channel of type [group_call(<a href="mailto:01@192.168.25.61">01@192.168.25.61</a>)] cause: [CHAN_NOT_IMPLEMENTED]<br>
2011-07-20 12:28:49.304970 [DEBUG] switch_ivr_originate.c:3318 Originate Resulted in Error Cause: 66 [CHAN_NOT_IMPLEMENTED]<br>2011-07-20 12:28:49.304970 [ERR] mod_conference.c:5169 Cannot create outgoing channel, cause: CHAN_NOT_IMPLEMENTED<br>
<br>I think that this is related to the fact that the group is created in sqlite DB and not in the xml dialplan. So I&#39;ve tried:<br><br>api expand conference ds_totale dial group call:&#39;01@${domain_name}&#39;<br><br>
But the output is:<br><br>Content-Type: api/response<br>Content-Length: 47<br><br>Call Requested: result: [NO_ROUTE_DESTINATION]<br><br>Freeswitch log:<br>2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:1879 Parsing global variables<br>
2011-07-20 12:36:49.964965 [NOTICE] switch_ivr_originate.c:2453 Cannot create outgoing channel of type [error] cause: [NO_ROUTE_DESTINATION]<br>2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:3318 Originate Resulted in Error Cause: 3 [NO_ROUTE_DESTINATION]<br>
2011-07-20 12:36:49.964965 [NOTICE] switch_ivr_originate.c:2453 Cannot create outgoing channel of type [group] cause: [NO_ROUTE_DESTINATION]<br>2011-07-20 12:36:49.964965 [DEBUG] switch_ivr_originate.c:3318 Originate Resulted in Error Cause: 3 [NO_ROUTE_DESTINATION]<br>
2011-07-20 12:36:49.964965 [ERR] mod_conference.c:5169 Cannot create outgoing channel, cause: NO_ROUTE_DESTINATION<br><br>It seems a problem in parsing; in fact the command:<br><br>api expand group call:&#39;01@${domain_name}&#39;      <br>
<br>gives the following output:<br><br>Content-Type: api/response<br>Content-Length: 85<br><br>sofia/internal/<a href="http://sip:1001@192.168.25.61:5070">sip:1001@192.168.25.61:5070</a>,sofia/internal/<a href="http://sip:1016@192.168.25.31:5060">sip:1016@192.168.25.31:5060</a><br>
 <br>So I&#39;ve tried:<br><br>api expand conference ds_totale dial sofia/internal/<a href="http://sip:1001@192.168.25.61:5070">sip:1001@192.168.25.61:5070</a>,sofia/internal/<a href="http://sip:1016@192.168.25.31:5060">sip:1016@192.168.25.31:5060</a><br>
<br>The output is:<br>Content-Type: api/response<br>Content-Length: 34<br><br>Call Requested: result: [SUCCESS]<br><br>But only 1016 is added to the conference while 1001 is hanged up with cause: LOSE_RACE.<br><br>So the questions are:<br>
<br>1. What is wrong with the syntax of the following command?<br><br> api expand conference ds_totale dial group call:&#39;01@${domain_name}&#39;<br><br>2. How can it be avoided that parties which &quot;loose the race&quot; are hanged up? <br>
<br><br>Thank you very much.<br><br>F. Bigliardi<br><br><br><br><div class="gmail_quote">2011/7/19 Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Tue, Jul 19, 2011 at 5:47 AM, Fabio Bigliardi <span dir="ltr">&lt;<a href="mailto:fabio.bigliardi@gmail.com" target="_blank">fabio.bigliardi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span>Hi all,<br>I would like to be able to invite a  group to a conference through an API command.<br><br>In xml dialplan this can be achieved through the following action:<br><br>&lt;action application=&quot;conference_set_auto_outcall&quot; data=&quot;${group_call(my_group}&quot;/&gt;<br>



<br>In the API, I suppose the right command is &quot;dial&quot;:<br><br>api conference my_conf dial &lt;group dial string&gt; <br><br>But how can I specify group dial string?<br></span></blockquote><div><br></div></div><div>
Try this:</div>
<div><br></div><div>expand api conference my_conf dial group_call(my_group)</div><div><br></div><div>-MC</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<span><br>Thank you for your support.<br><br>Best regards,<br>

<br>Fabio Bigliardi<br></span>
<br></div>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>