Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[Freeswitch-users] simulate att_xfer , threeway


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





PostPosted: Thu Sep 04, 2008 10:27 pm    Post subject: [Freeswitch-users] simulate att_xfer , threeway Reply with quote

Hello :

While the att_xfer , I collect show the calls and channels info .
After press "0" , the calls is Zero , and found the last channel using
application "three_way"

# during att_xfer , press "0"
freeswitch@TTN_Li> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
33c232f5-e0ff-446e-ad93-8c2f80d61656,2008-09-05
11:00:40,1220583640,sofia/inter2/1529@10.20.1.233,CS_EXECUTE,1529,1529,172.16.93.231,1526,att_xfer,sofia/inter2/1528,XML,inter2,PCMU,8000,PCMU,8000
0d51ddb6-cac2-428b-a310-d9c54f979efc,2008-09-05
11:00:40,1220583640,sofia/inter2/1526,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1526,playback,local_stream://moh,XML,inter2,PCMU,8000,PCMU,8000
501e6351-6b9f-46a6-81bc-9a2c5a3306fa,2008-09-05
11:00:53,1220583653,sofia/inter2/1528,CS_EXECUTE,Extension
1529,1529,172.16.93.231,1528,three_way,33c232f5-e0ff-446e-ad93-8c2f80d61656,XML,inter2,PCMU,8000,PCMU,8000
3 total.
freeswitch@TTN_Li>
freeswitch@TTN_Li> show calls
API CALL [show(calls)] output:
0 total.

freeswitch@TTN_Li> show calls
API CALL [show(calls)] output:
function,created,created_epoch,caller_cid_name,caller_cid_num,caller_dest_num,caller_chan_name,caller_uuid,callee_cid_name,callee_cid_num,callee_dest_num,callee_chan_name,callee_uuid
2008-09-05 11:00:42,1220583642,switch_ivr_multi_threaded_bridge,1529,1529,1526,sofia/inter2/1529@10.20.1.233,33c232f5-e0ff-446e-ad93-8c2f80d61656,Extension
1529,1529,1526,sofia/inter2/1526,0d51ddb6-cac2-428b-a310-d9c54f979efc
2008-09-05 11:00:56,1220583656,switch_ivr_multi_threaded_bridge,1529,1529,1526,sofia/inter2/1529@10.20.1.233,33c232f5-e0ff-446e-ad93-8c2f80d61656,Extension
1529,1529,1528,sofia/inter2/1528,501e6351-6b9f-46a6-81bc-9a2c5a3306fa
2 total.
freeswitch@TTN_Li>
freeswitch@TTN_Li> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
33c232f5-e0ff-446e-ad93-8c2f80d61656,2008-09-05
11:00:40,1220583640,sofia/inter2/1529@10.20.1.233,CS_EXECUTE,1529,1529,172.16.93.231,1526,att_xfer,sofia/inter2/1528,XML,inter2,PCMU,8000,PCMU,8000
0d51ddb6-cac2-428b-a310-d9c54f979efc,2008-09-05
11:00:40,1220583640,sofia/inter2/1526,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1526,playback,local_stream://moh,XML,inter2,PCMU,8000,PCMU,8000
501e6351-6b9f-46a6-81bc-9a2c5a3306fa,2008-09-05
11:00:53,1220583653,sofia/inter2/1528,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1528,,,XML,inter2,PCMU,8000,PCMU,8000
3 total.

So , what's the no calls changing meaning ?

And I simulate the three_way working using scripts, pitty thing is
either hanup immediately or someone in hold music.
PLS give some advice .

### call test scripts staring
n_sess = new Session() ;
res = n_sess.originate(n_sess, "sofia/inter2/1528%10.20.1.233" );

// wait for it ... answer
n_sess.waitForAnswer(10000);

if ( n_sess.ready()) { //never go into here
console_log("info", "n_sess uuid: "+ n_sess.uuid + "\n");
n_sess.execute("three_way", session.uuid ) ;
}

_______________________________________________
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Sep 05, 2008 8:08 am    Post subject: [Freeswitch-users] simulate att_xfer , threeway Reply with quote

I have no idea what you are talking about?

What exact dialplan are you using to test att_xfer there is a working example in the default config.


On Thu, Sep 4, 2008 at 10:24 PM, Lee JJ <jengjr@gmail.com (jengjr@gmail.com)> wrote:
Quote:
Hello :

While the att_xfer , I collect show the calls and channels info .
After press "0" , the calls is Zero , and found the last channel using
application "three_way"

# during att_xfer , press "0"
freeswitch@TTN_Li> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
33c232f5-e0ff-446e-ad93-8c2f80d61656,2008-09-05
11:00:40,1220583640,sofia/inter2/1529@10.20.1.233 (1529@10.20.1.233),CS_EXECUTE,1529,1529,172.16.93.231,1526,att_xfer,sofia/inter2/1528,XML,inter2,PCMU,8000,PCMU,8000
0d51ddb6-cac2-428b-a310-d9c54f979efc,2008-09-05
11:00:40,1220583640,sofia/inter2/1526,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1526,playback,local_stream://moh,XML,inter2,PCMU,8000,PCMU,8000
501e6351-6b9f-46a6-81bc-9a2c5a3306fa,2008-09-05
11:00:53,1220583653,sofia/inter2/1528,CS_EXECUTE,Extension
1529,1529,172.16.93.231,1528,three_way,33c232f5-e0ff-446e-ad93-8c2f80d61656,XML,inter2,PCMU,8000,PCMU,8000
3 total.
freeswitch@TTN_Li>
freeswitch@TTN_Li> show calls
API CALL [show(calls)] output:
0 total.

freeswitch@TTN_Li> show calls
API CALL [show(calls)] output:
function,created,created_epoch,caller_cid_name,caller_cid_num,caller_dest_num,caller_chan_name,caller_uuid,callee_cid_name,callee_cid_num,callee_dest_num,callee_chan_name,callee_uuid
2008-09-05 11:00:42,1220583642,switch_ivr_multi_threaded_bridge,1529,1529,1526,sofia/inter2/1529@10.20.1.233 (1529@10.20.1.233),33c232f5-e0ff-446e-ad93-8c2f80d61656,Extension
1529,1529,1526,sofia/inter2/1526,0d51ddb6-cac2-428b-a310-d9c54f979efc
2008-09-05 11:00:56,1220583656,switch_ivr_multi_threaded_bridge,1529,1529,1526,sofia/inter2/1529@10.20.1.233 (1529@10.20.1.233),33c232f5-e0ff-446e-ad93-8c2f80d61656,Extension
1529,1529,1528,sofia/inter2/1528,501e6351-6b9f-46a6-81bc-9a2c5a3306fa
2 total.
freeswitch@TTN_Li>
freeswitch@TTN_Li> show channels
API CALL [show(channels)] output:
uuid,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate
33c232f5-e0ff-446e-ad93-8c2f80d61656,2008-09-05
11:00:40,1220583640,sofia/inter2/1529@10.20.1.233 (1529@10.20.1.233),CS_EXECUTE,1529,1529,172.16.93.231,1526,att_xfer,sofia/inter2/1528,XML,inter2,PCMU,8000,PCMU,8000
0d51ddb6-cac2-428b-a310-d9c54f979efc,2008-09-05
11:00:40,1220583640,sofia/inter2/1526,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1526,playback,local_stream://moh,XML,inter2,PCMU,8000,PCMU,8000
501e6351-6b9f-46a6-81bc-9a2c5a3306fa,2008-09-05
11:00:53,1220583653,sofia/inter2/1528,CS_EXCHANGE_MEDIA,Extension
1529,1529,172.16.93.231,1528,,,XML,inter2,PCMU,8000,PCMU,8000
3 total.

So , what's the no calls changing meaning ?

And I simulate the three_way working using scripts, pitty thing is
either hanup immediately or someone in hold music.
PLS give some advice .

### call test scripts staring
n_sess = new Session() ;
res = n_sess.originate(n_sess, "sofia/inter2/1528%10.20.1.233" );

// wait for it ... answer
n_sess.waitForAnswer(10000);

if ( n_sess.ready()) { //never go into here
console_log("info", "n_sess uuid: "+ n_sess.uuid + "\n");
n_sess.execute("three_way", session.uuid ) ;
}

_______________________________________________
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



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
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