Yes, it&#39;s the right way to go!<br><br>Thanks, man!<br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 10:25 PM, dujinfang <span dir="ltr">&lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><br><div><div class="im">On Jun 10, 2009, at 3:33 PM, Jingwei Yang wrote:<br><blockquote type="cite">
Hi All,<br><br>I just finished installing freeSwitch and Skypiax. And I&#39;m able to use skype api directly via the sk command like the following:<br><br><a href="mailto:freeswitch@localhost.localdomain" target="_blank">freeswitch@localhost.localdomain</a>&gt;sk console skypiax1<br>
<div> <a href="mailto:freeswitch@localhost.localdomain" target="_blank">freeswitch@localhost.localdomain</a>&gt;sk CALL userAAA<br> <br>It works like a charm and userAAA is able to receive the call and answer it. However, I&#39;m stuck in figuring out the right way to use Skypiax with a dialplan. I&#39;ve put a dialplan like below into  /usr/local/freeswitch/conf/dialplan/default.xml<br>
 <br>    &lt;extension name=&quot;skypiax&quot;&gt;<br>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^2909$&quot;&gt;<br>        &lt;action application=&quot;bridge&quot; data=&quot;skypiax/ANY/userAAA&quot;/&gt;<br>
       &lt;/condition&gt;<br>    &lt;/extension&gt;<br><br>On the freeswitch console, I&#39;m not sure how to trigger this dialplan correctly. I&#39;ve tried something like<br><br><a href="mailto:freeswitch@localhost.localdomain" target="_blank">freeswitch@localhost.localdomain</a>&gt;originate sofia/external/<a href="mailto:root@192.168.1.100" target="_blank">root@192.168.1.100</a> 2909<br>
 API CALL [originate(sofia/external/<a href="mailto:root@192.168.1.100" target="_blank">root@192.168.1.100</a> 2909)] output:<br>-ERR MANDATORY_IE_MISSING</div></blockquote><div><br></div></div><div>the problem is the dial string not the dialplan I think, why not try </div>
<div><br></div><div>originate skypiax/ANY/userBBB 2909</div><div><br></div><div>it should call userBBB and bridge to userAAA.</div><br><blockquote type="cite"><div class="im"><div><br><br><a href="mailto:freeswitch@localhost.localdomain" target="_blank">freeswitch@localhost.localdomain</a>&gt;originate sofia/external/localdomain@localhost 2909<br>
 API CALL [originate(sofia/external/localdomain@localhost 2909)] output:<br>-ERR NORMAL_TEMPORARY_FAILURE<br><br><br>All failed with errors indicated above. Please let me know what&#39;s the right way to originate the call. Thanks!<br>
 <br>Regards,<br>-Jingwei<br><br>p.s. my os is CentOS 5.3.<br></div></div> _______________________________________________<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></blockquote></div><br></div><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>