Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
jingwei.yang at gmail.com
Guest





PostPosted: Wed Jun 10, 2009 9:11 am    Post subject: [Freeswitch-users] What's the right way to use skypiax with Reply with quote

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 (root@192.168.1.100) 2909
API CALL [originate(sofia/external/root@192.168.1.100 (root@192.168.1.100) 2909)] output:
-ERR MANDATORY_IE_MISSING

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.
Back to top
dujinfang at gmail.com
Guest





PostPosted: Wed Jun 10, 2009 9:27 am    Post subject: [Freeswitch-users] What's the right way to use skypiax with Reply with quote

On Jun 10, 2009, at 3:33 PM, Jingwei Yang wrote:
Quote:
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 (freeswitch@localhost.localdomain)>sk console skypiax1
freeswitch@localhost.localdomain (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 (freeswitch@localhost.localdomain)>originate sofia/external/root@192.168.1.100 (root@192.168.1.100) 2909
API CALL [originate(sofia/external/root@192.168.1.100 (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.

Quote:


freeswitch@localhost.localdomain (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 (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
Back to top
jingwei.yang at gmail.com
Guest





PostPosted: Wed Jun 10, 2009 8:26 pm    Post subject: [Freeswitch-users] What's the right way to use skypiax with Reply with quote

Yes, it's the right way to go!

Thanks, man!

On Wed, Jun 10, 2009 at 10:25 PM, dujinfang <dujinfang@gmail.com (dujinfang@gmail.com)> wrote:
Quote:

On Jun 10, 2009, at 3:33 PM, Jingwei Yang wrote:
Quote:
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 (freeswitch@localhost.localdomain)>sk console skypiax1
freeswitch@localhost.localdomain (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 (freeswitch@localhost.localdomain)>originate sofia/external/root@192.168.1.100 (root@192.168.1.100) 2909
API CALL [originate(sofia/external/root@192.168.1.100 (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.

Quote:


freeswitch@localhost.localdomain (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 (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




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services