On Jun 10, 2009, at 3:33 PM, Jingwei Yang wrote:
Hi All,
I just finished installing freeSwitch and Skypiax. And I'm able to use skype api directly via the sk command like the following:
freeswitch@localhost.localdomain>sk console skypiax1 freeswitch@localhost.localdomain>sk CALL userAAA
It works like a charm and userAAA is able to receive the call and answer it. However, I'm stuck in figuring out the right way to use Skypiax with a dialplan. I've put a dialplan like below into /usr/ local/freeswitch/conf/dialplan/default.xml
<extension name="skypiax"> <condition field="destination_number" expression="^2909$"> <action application="bridge" data="skypiax/ANY/userAAA"/> </condition> </extension>
On the freeswitch console, I'm not sure how to trigger this dialplan correctly. I've tried something like
freeswitch@localhost.localdomain>originate sofia/external/root@192.168.1.100 2909 API CALL [originate(sofia/external/root@192.168.1.100 2909)] output: -ERR MANDATORY_IE_MISSING
the problem is the dial string not the dialplan I think, why not try originate skypiax/ANY/userBBB 2909 it should call userBBB and bridge to userAAA.
freeswitch@localhost.localdomain>originate sofia/external/ localdomain@localhost 2909 API CALL [originate(sofia/external/localdomain@localhost 2909)] output: -ERR NORMAL_TEMPORARY_FAILURE
All failed with errors indicated above. Please let me know what's the right way to originate the call. Thanks!
Regards, -Jingwei
p.s. my os is CentOS 5.3. _______________________________________________ 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