hi,
i need to add external caller say from mobile phone to conference with sip extension here is my dial plan
[macro-addcaller]
exten => 1,1,Answer()
same => n,NoOp("caller id is ${CALLERID(num)}")
same => n,Background(vm-enter-num-to-call)
same => n,background(beep)
same => n,Read(ext,,#)
same => n,Playback(you-entered)
same => n,SayDigits(${ext})
same => n,Originate(SIP/${ext},exten,macro-conferences,s,3)
same => n,Set(CALLERID(name)=conference)
same => n,Originate(DAHDI/g0/${ext},exten,macro-conferences,s,3)
[macro-conferences]
exten => s,1,Answer()
exten => s,2,ChannelRedirect(${BRIDGEPEER},macro-conferences,s,3)
exten => s,3,ConfBridge(1234,fancybridge,fancyuser,fancymenu)
here when i call from sip extension to pstn then both channels are in conference ,but when call comes from pstn to sip extension channel Redirect is taking one channel only at a time ,i need to redirect both channels at a time in to conference …
here is my log scenario1
- Feature Found: conferences exten: conferences
-- Feature Found: conferences exten: conferences
-- Executing [s@macro-conferences:1] Answer("SIP/66666-000001e0", "") in new stack
-- Executing [s@macro-conferences:2] ChannelRedirect("SIP/66666-000001e0", "SIP/11111-000001e1,macro-conferences,s,3") in new stack
-- Executing [s@macro-conferences:3] ConfBridge("SIP/11111-000001e1", "1234,fancybridge,fancyuser,fancymenu") in new stack
-- Executing [s@macro-conferences:3] ConfBridge("SIP/66666-000001e0", "1234,fancybridge,fancyuser,fancymenu") in new stack
-- <SIP/11111-000001e1> Playing 'conf-onlyperson.ulaw' (language 'en')
-- <SIP/66666-000001e0> Playing 'confbridge-join.ulaw' (language 'en')
-- <Bridge/0xb4d5052c-input> Playing 'confbridge-join.gsm' (language 'en')
-- <Bridge/0xb4d5052c-input> Playing 'confbridge-leave.gsm' (language 'en')
-- <SIP/11111-000001e1> Playing 'confbridge-join.ulaw' (language 'en')
scenario2
Executing [s@macro-conferences:1] Answer("SIP/11111-000001e3", "") in new stack
-- Executing [s@macro-conferences:2] ChannelRedirect("SIP/11111-000001e3", "SIP/66666-000001e2,macro-conferences,s,3") in new stack
-- Executing [s@macro-conferences:3] ConfBridge("SIP/11111-000001e3", "1234,fancybridge,fancyuser,fancymenu") in new stack
-- <SIP/11111-000001e3> Playing 'conf-onlyperson.ulaw' (language 'en')
-- <SIP/11111-000001e3> Playing 'confbridge-join.ulaw' (language 'en')
-- <Bridge/0xb4fd17c4-input> Playing 'confbridge-join.gsm' (language 'en')
-- Started music on hold, class 'default', on SIP/11111-000001e3
-- Stopped music on hold on SIP/11111-000001e3
-- Started music on hold, class 'default', on SIP/11111-000001e3
-- <Bridge/0xb4fd17c4-input> Playing 'confbridge-leave.gsm' (language 'en')
-- Stopped music on hold on SIP/11111-000001e3
== Spawn extension (macro-conferences, s, 3) exited non-zero on 'SIP/66666-000001e2' in macro 'dial-one'
== Spawn extension (macro-conferences, s, 3) exited non-zero on 'SIP/66666-000001e2' in macro 'exten-vm'
== Spawn extension (macro-conferences, s, 3) exited non-zero on 'SIP/66666-000001e2'
-- Executing [s@macro-conferences:3] ConfBridge("SIP/66666-000001e2", "1234,fancybridge,fancyuser,fancymenu") in new stack
-- <SIP/66666-000001e2> Playing 'conf-onlyperson.ulaw' (language 'en')
-- <SIP/66666-000001e2> Playing 'confbridge-join.ulaw' (language 'en')
-- <Bridge/0xb4e1d69c-input> Playing 'confbridge-join.gsm' (language 'en')
-- Started music on hold, class 'default', on SIP/66666-000001e2
-- Stopped music on hold on SIP/66666-000001e2
i need to redirect both channels at a time in to conference…
thanks…