<div>What version of FS are you running? On the latest git I cannot do &quot;api expand&quot; without getting a syntax error. However, this worked perfectly:</div><div><br></div><div>expand group insert:01@${domain_name}:&#39;${sofia_contact(1001@${domain_name})}&#39;</div>
<div><br></div><div>Note the single quotes. The first colon in the URL returned by sofia_contact is acting as a delimiter. Use the single quotes to prevent that.</div><div><br></div><div>-MC<br><div><br><div class="gmail_quote">
On Tue, Jul 19, 2011 at 7:55 AM, Fabio Bigliardi <span dir="ltr">&lt;<a href="mailto:fabio.bigliardi@gmail.com">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;">
Hi all,<br><br>I would like to add users to a group through an API command.<br>I&#39;ve tried the following syntax:<br><br>api expand group insert:01@${domain_name}:${sofia_contact(1001@${domain_name})}<br><br>But the output of the sqlite command:<br>


<br>select * from group_data;<br><br>is the following:<br><br>1LGL0Q1|<a href="mailto:01@192.168.25.61" target="_blank">01@192.168.25.61</a>|sofia/internal/sip<br><br>instead of the complete and correct one:<br><br>1LGL0Q1|<a href="mailto:01@192.168.25.61" target="_blank">01@192.168.25.61</a>|sofia/internal/<a href="http://sip:1001@192.168.25.61:5070" target="_blank">sip:1001@192.168.25.61:5070</a><br>


<br>What am I doing wrong?<br><br>Many thanks.<br><font color="#888888"><br>FB<br><br><br><br><br><br>
</font><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></div></div>