[Freeswitch-users] What's the right way to use skypiax with dialplan

dujinfang dujinfang at gmail.com
Wed Jun 10 07:25:43 PDT 2009


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 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.100 
>  2909
> API CALL [originate(sofia/external/root at 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 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.
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090610/e5368126/attachment-0002.html 


More information about the FreeSWITCH-users mailing list