[Freeswitch-users] What's the right way to use skypiax with dialplan
Jingwei Yang
jingwei.yang at gmail.com
Wed Jun 10 00:33:36 PDT 2009
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 at localhost.localdomain>sk console skypiax1
freeswitch at 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 at localhost.localdomain>originate sofia/external/root at 192.168.1.1002909
API CALL [originate(sofia/external/root at 192.168.1.100 2909)] output:
-ERR MANDATORY_IE_MISSING
freeswitch at localhost.localdomain>originate
sofia/external/localdomain at localhost 2909
API CALL [originate(sofia/external/localdomain at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090610/a183818c/attachment-0002.html
More information about the FreeSWITCH-users
mailing list