[asterisk-users] Three-way conference in Asterisk
Satish Barot
satish4asterisk at gmail.com
Thu Jun 2 05:50:12 CDT 2011
Nikhil,
This is how I would implement '3 way conference' in Asterisk with the help
of dynamic features.
Assume 3 SIP friends 1110,1111 and 1112 in sip.conf. For 1110 in sip.conf,
context=test3way
Add following in applicationmap section of features.conf....
[applicationmap]
3way-start => **0,caller,Macro,3way-start
3way-conf => **1,caller,Macro,3way-conf
3way-noconf => **2,caller,Macro,3way-noconf
My dialplan would be....
[test3way]
exten => 1212,1,Noop(########## TLC Check ##########)
same => n,set(DYNAMIC_FEATURES=3way-start)
same => n,Dial(SIP/1111,30,m)
[dynamic-3way]
exten => _XXX.,1,Answer
exten => _XXX.,n,Set(CONFNO=1212)
exten => _XXX.,n,Set(DYNAMIC_FEATURES=)
exten => _XXX.,n,ConfBridge(${CONFNO},M)
exten => _XXX.,n,Hangup
[macro-3way-start]
exten => s,1,Set(CONFNO=1212)
exten => s,n,ChannelRedirect(${BRIDGEPEER},dynamic-3way,${CONFNO},1)
exten => s,n,wait(1)
exten => s,n,Set(DYNAMIC_FEATURES=3way-conf#3way-noconf)
exten => s,n,Dial(SIP/1112,,g)
exten => s,n,Set(DYNAMIC_FEATURES=)
exten => s,n,ConfBridge(${CONFNO},M)
[macro-3way-conf]
exten => s,1,ChannelRedirect(${BRIDGEPEER},dynamic-3way,${CONFNO},1)
[macro-3way-noconf]
exten => s,1,SoftHangup(${BRIDGEPEER})
You can dial 1212 from SIP Extension 1110 which will connect 1110 to 1111.
No while talking to 1111, 1110 can press **0 to invoke '3way-start' feature
which in turn call 1112.
Now while talking to 1112, 1110 can press **1 to start the conference.
I suggest you should go through features.conf for more information. This is
very basic dialplan for 3 way conference. You will have to add some more
stuffs to make it work in the way you want.
Hope this helps.
[SATISH]
On Thu, Jun 2, 2011 at 11:25 AM, Nikhil <d.nikhil at cem-solutions.net> wrote:
> Hi
>
> How to set a threeway conference in asterisk only for VOIP (I am using
> only SIP channel).
>
> Thanks
> Nikhil
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110602/d398d4a5/attachment.htm>
More information about the asterisk-users
mailing list