[asterisk-dev] n_way conference call
ameur brahim
ameurtu at yahoo.fr
Wed Aug 20 09:24:20 CDT 2008
Hi,
I am trying to achieve 3-way conferencing taking hint from wiki link
http://www.voip-info.org/wiki/view/Asterisk+n-way+call+HOWTO
Here is the scenario:
1. user "user1" calls user "user2"
2. "user1" then presses the feature code "*0" to redirect "user2" to
conference room 300
3. "user1" then dials the user "user3"
4. user "user1" and "user3" are connected
My problem is: when i want to add user2 to conference room 300(I press *0), Asterisk don't see nothing and don't do nothing.
I can't add the user3 after that.
Any body have some idea for my problem??
Here my dial plan:
////////////////////////////////extensions.conf///////////////////////////////
[manu]
exten =>100,1,Dial(SIP/user1,,tT)
exten =>200,1,Dial(SIP/user3,,tT)
[nway-conf]
exten =>_X,1,Answer
exten =>_X,n,Set(CONFNO=${EXTEN})
exten =>_X,n,Set(MEETME_EXIT_CONTEXT=nway-conf-invite)
exten =>_X,n,Set(DYNAMIC_FEATURES=)
;exten =>_XXX,n,AGI(conf.agi,adduser)
exten =>_X,n,MeetMe(${CONFNO},pdMX)
;exten =>h,1,DeadAGI(conf.agi,deluser)
exten =>_X,n,Hangup
[nway-conf-invite]
exten =>0,1,Read(DEST,dial,,i)
exten =>0,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv)
exten =>0,n,Dial(local/${DEST}@nway-conf-dest,,g)
exten =>0,n,Set(DYNAMIC_FEATURES=)
exten =>0,n,Goto(nway-conf,${CONFNO},1)
exten =>i,1,Goto(nway-conf,${CONFNO},1)
[nway-conf-dest]
exten =>_XXX,1,Dial(SIP/${EXTEN})
[macro-nway-conf-start]
exten =>s,1,Set(CONFNO=300)
exten =>s,n,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1)
exten =>s,n,Read(DEST,dial,,i)
exten =>s,n,Set(DYNAMIC_FEATURES=nway-conf-inv#nway-conf-noinv)
exten =>s,n,Dial(local/${DEST}@nway-conf-dest,,g)
exten =>s,n,Set(DYNAMIC_FEATURES=)
exten =>s,n,Goto(nway-conf,${CONFNO},1)
[macro-nway-conf-ok]
exten =>s,1,ChannelRedirect(${BRIDGEPEER},nway-conf,${CONFNO},1)
[macro-nway-notok]
exten =>s,1,SoftHangup(${BRIDGEPEER})
////////////////////////////////sip.conf/////////////////////////////////////////////
[general]
context=default
bindport=5060
bindaddr=0.0.0.0
allowoverlap=no
srvlookup=yes
[user1]
type=friend
username=user1
secret=salutt
quality=yes
host=dynamic
canreinvite=no
context=manu
[user2]
type=friend
username=user2
secret=welcome
quality=yes
host=dynamic
canreinvite=no
context=tutorial
[operateur3]
type=friend
username=user3
secret=secret
quality=yes
host=dynamic
canreinvite=no
context=tutorial
////////////////////////////////features.conf//////////////////////////////////////
[applicationmap]
nway-conf-start => *0,self/callee,Macro,nway-conf-start
nway-conf-inv => **,self/callee,Macro,nway-conf-ok
nway-conf-noinv => *9,self/callee,Macro,nway-conf-notok
Thank you for help
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20080820/6964ce5b/attachment.htm
More information about the asterisk-dev
mailing list