Yes, it's the right way to go!

Thanks, man!

On Wed, Jun 10, 2009 at 10:25 PM, dujinfang <[email protected]> wrote:

>
> 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:
>
> [email protected]>sk console skypiax1
> [email protected]>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
>
> [email protected]>originate sofia/external/
> [email protected] 2909
> API CALL [originate(sofia/external/[email protected] 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.
>
>
>
> [email protected]>originate
> sofia/external/localdom...@localhost 2909
> API CALL [originate(sofia/external/localdom...@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
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> [email protected]
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to