[asterisk-users] asterisk n-way call problem

Rizwan Hisham rizwanhasham at gmail.com
Thu Mar 15 09:13:50 MST 2007


Hi,
i am using the n-way-call dialplan solution found on voip-info.  i have
added its entry in applicationmap of features.conf file. the problem
is......its not working. to activate the n-way call i dial *0 but nothing
happens. i have played around with dtmf and codec settings but no success.
the extensions and sip configuration is below if you want to have a look. I
dont have any clue why its not working.

#######################extensions.conf#######################################
[local]
exten => _XX,1,Set(DYNAMIC_FEATURES=nway-start)
exten => _XX,2,SIPDtmfMode(inband)

exten=> 10,3,Dial(SIP/saad,,tT)
exten=> 10,n,Hangup

exten=> 11,3,Dial(SIP/riz,,tT)
exten=> 11,n,Hangup

exten=> 12,3,Dial(SIP/rehmat,,tT)
exten=> 12,n,Hangup

[dynamic-nway]
exten => _XXX,1,Answer
exten => _XXX,n,Set(CONFNO=${EXTEN})
exten => _XXX,n,Set(MEETME_EXIT_CONTEXT=dynamic-nway-invite)
exten => _XXX,n,Set(DYNAMIC_FEATURES=)
exten => _XXX,n,MeetMe(${CONFNO},pdMX)
exten => _XXX,n,Hangup

[dynamic-nway-invite]
exten => 0,1,Read(DEST,dial,,i)
exten => 0,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => 0,n,Dial(Local/${DEST}@dynamic-nway-dest,,g)
exten => 0,n,Set(DYNAMIC_FEATURES=)
exten => 0,n,Goto(dynamic-nway,${CONFNO},1)
exten => i,1,Goto(dynamic-nway,${CONFNO},1)

[dynamic-nway-dest]
exten => _XXX,1,Dial(SIP/${EXTEN})

[macro-nway-start]
exten => s,1,Set(CONFNO=${FindFreeConf()})
;exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)
exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)
exten => s,n,Read(DEST,dial,,i)
exten => s,n,Set(DYNAMIC_FEATURES=nway-inv#nway-noinv)
exten => s,n,Dial(Local/${DEST}@dynamic-nway-dest,,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,Goto(dynamic-nway,${CONFNO},1)

[macro-nway-ok]
exten => s,1,ChannelRedirect(${BRIDGEPEER},dynamic-nway,${CONFNO},1)

[macro-nway-notok]
exten => s,1,SoftHangup(${BRIDGEPEER})

#########################sip.conf###############################################
[saad]
userid=saad
secret=1234
host=dynamic
type=friend
context=local
qualify=4000
insecure=invite,port
dtmfmode = inband
disallow = all
allow=ulaw

[riz]
userid=riz
secret=1234
host=dynamic
type=friend
context=local
qualify=4000
dtmfmode = inband
disallow = all
allow=ulaw


[rehmat]
userid=rehmat
secret=1234
host=dynamic
type=friend
context=local
qualify=4000
insecure=invite,port
dtmfmode = inband
disallow = all
allow=ulaw


#########################features.conf###############################################
[applicationmap]
nway-start => *0,self,caller,Macro,nway-start
nway-inv => **,self,caller,Macro,nway-ok
nway-noinv => *#,self,caller,Macro,nway-notok

;nway-start => *0,caller,Macro,nway-start
;nway-inv => **,caller,Macro,nway-ok
;nway-noinv => *#,caller,Macro,nway-notok

-- 
Regards
Rizwan Hisham
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070315/b210999d/attachment.htm


More information about the asterisk-users mailing list