› VitalPBX Community Support › General Discussion › N-way conference
- This topic has 1 reply, 2 voices, and was last updated 2 years, 8 months ago by
Jose Miguel Rivera.
- Post
-
- May 15, 2018 at 12:43 pm
Hello
I try configure nway
Asterisk 13.20.0 built by mockbuild @ buildbot on a x86_64 running LinuxWhen push ** start macro-conf. Сompanion go to conference room, another leg start new call. But i have issue. Call dropped after the answer.
What i made wrong?
[2018-05-15 12:55:33] VERBOSE[13477][C-00001ae3] app_dial.c: Called DAHDI/g0/1164
[2018-05-15 12:55:34] VERBOSE[13477][C-00001ae3] app_dial.c: DAHDI/i1/1164-e2a is proceeding passing it to DAHDI/i1/1182-e28
[2018-05-15 12:55:34] VERBOSE[13477][C-00001ae3] app_dial.c: DAHDI/i1/1164-e2a is ringing
[2018-05-15 12:55:34] VERBOSE[13477][C-00001ae3] app_dial.c: DAHDI/i1/1164-e2a is making progress passing it to DAHDI/i1/1182-e28
[2018-05-15 12:55:39] VERBOSE[13477][C-00001ae3] app_dial.c: DAHDI/i1/1164-e2a answered DAHDI/i1/1182-e28
[2018-05-15 12:55:39] VERBOSE[13518][C-00001ae3] bridge_channel.c: Channel DAHDI/i1/1164-e2a joined ‘simple_bridge’ basic-bridge
[2018-05-15 12:55:39] VERBOSE[13477][C-00001ae3] app_macro.c: Spawn extension (trk-1, 1164, 5) exited non-zero on ‘DAHDI/i1/1182-e28’ in macro ‘conf’
[2018-05-15 12:55:39] VERBOSE[13477][C-00001ae3] bridge_channel.c: Channel DAHDI/i1/1182-e28 left ‘simple_bridge’ basic-bridge <9b8551b8-3775-4f4e-b642-ef5a8d098c9a>
[2018-05-15 12:55:39] VERBOSE[13477][C-00001ae3] pbx.c: Spawn extension (trk-1, 1164, 5) exited non-zero on ‘DAHDI/i1/1182-e28’
[2018-05-15 12:55:39] VERBOSE[13477][C-00001ae3] pbx.c: Executing [h@trk-1:2] Hangup(“DAHDI/i1/1182-e28”, “”) in new stack[macro-conf]
exten => s,1,NoOp(—START—ChannelRedirect—)
same => n,Set(__CONFNO=4${CALLERID(num)})
same => n,NoOp(BRIDGEPEER: ${BRIDGEPEER} for number CALLERID(num): ${CALLERID(num)})
same => n,ChannelRedirect(${BRIDGEPEER},nway,${CONFNO},1)
same => n,NoOp(—END—ChannelRedirect—)
same => n,GoSub(nway-invite,s,1)[nway-invite]
exten => s,1,Answer()
same => n,Read(NEW_CALL,dial,i,3,5)
same => n,NoOp(Read DTMF from var ${NEW_CALL})
same => n,GoSub(cos-all,${NEW_CALL},1)[nway]
exten => _4XXXX,1,Answer()
same => n,Set(__CONFNO=${EXTEN})
same => n,NoOp(Transfer ${CHANNEL(name)} to conference: ${EXTEN:1} !–comtext–nway–!)
same => n,Set(CONFBREDGE(user,music_on_hold_when_empty)=yes)
same => n,ConfBridge(${EXTEN:1},nway_menu)0
- Replies
-
- May 16, 2018 at 3:50 pm
Try the following code from the Asterisk CookBook:
[volume_ctrl_menu]
type=menu
*5=toggle_mute
1=increase_listening_volume
4=decrease_listening_volume
7=reset_listening_volume
3=increase_talking_volume
6=decrease_talking_volume
9=reset_talking_volume
0=dialplan_exec(conference,conference-joiner,1)
/etc/asterisk/extensions.d/conference_with_features.conf ; this is a new file
[conference]
exten => conference-entry,1,Answer()
exten => conference-entry,n,ConfBridge(9000,volume_ctrl_menu)
exten => conference-entry,n,Hangup()
exten => conference-joiner,1,NoOp()
exten => conference-joiner, n,Read(numberToDial,vm-enter-num-to-call)
exten => conference-joiner, n,Originate(SIP/{numberToDial},exten,conference,conference-entry,1)
exten => h,1, NoOp(“dialplan is in h extension”)
exten => h,n, GotoIf($[ “${CONFBRIDGE_RESULT}” : “HANGUP”]?ok)
exten => h,n, NoOp("value of CONFBRIDGE_RESULT is not HANGUP) ; or whatever you want to happen
exten => h,n, NoOp(the value is " ${CONFBRIDGE_RESULT})
exten => h,n, Goto(h,end)
exten => h,n(ok), NoOp("value of CONFBRIDGE_RESULT is HANGUP) ; or whatever you want to happen
exten => h,n(end),NoOp(“this is the end”)0
- You must be logged in to reply to this topic.