N-way conference call

Hi,

I am trying to achieve 3-way conference call taking hint from wiki link
voip-info.org/wiki/view/Aste … 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 but nothing happen and Asterisk don’t see this feature

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

/////////////////////////////////////////////////////////////////////////////////////
some one have any ideas???
Thanks

I think you are choosing the hard way. You can just transfer the call to an extensions that route the channel into a conference room. You have to add the conference rooms in meetme.conf

in extensions.conf

exten => 6666,1,MeetMe(6666,pdMX)

exten => 6667,1,MeetMe(6667,pdMX)

etc. etc.

In meetme.conf you ahve to add

conf => 6666
conf => 6667

The default for blind transfer is # but you can change ;blindxfer => #1 into blindxfer=*0 in features.conf

Why would you use an agi script for this?