не отрабатывает Goto в диалплане ?
Добавлено: 09 окт 2013, 13:19
features.conf
extensions.conf
Звоню с 144 на 992, тот отвечает. На 144 нажимаю *0. Обоих закидывает в конференцию (за ней закреплен всего один номер - 888) и 144 предлагается набрать номер дополнительного учатника конференции,
набираю 208. 208 отвечает. 144 нажимает **, чтобы подтвердить участие 208 в конференции. 208 заходит в конференцию, а у 144 почему то завершается вызов.
Лог:
== Extension Changed 144[context_aup_out] new state Busy for Notify User 230
-- Executing [992@context_aup_out_515894:1] GotoIf("SIP/144-00000203", "0?number_not_exists") in new stack
-- Executing [992@context_aup_out_515894:2] Set("SIP/144-00000203", "__DYNAMIC_FEATURES=nway-start") in new stack
-- Executing [992@context_aup_out_515894:3] Dial("SIP/144-00000203", "sip/992,30,Tt") in new stack
== Using SIP RTP CoS mark 5
-- Called sip/992
-- SIP/992-00000204 is ringing
== Using SIP RTP CoS mark 5
-- SIP/992-00000204 answered SIP/144-00000203
на 144 нажал *0
-- Feature Found: nway-start exten: nway-start
-- Executing [s@macro-nway-start:1] Set("SIP/144-00000203", "CONFNO=888") in new stack
-- Executing [s@macro-nway-start:2] ChannelRedirect("SIP/144-00000203", "SIP/992-00000204,dynamic-nway,888,1") in new stack
-- Executing [s@macro-nway-start:3] Read("SIP/144-00000203", "DEST,dial,,i") in new stack
-- Executing [888@dynamic-nway:1] Answer("SIP/992-00000204", "") in new stack
-- Executing [888@dynamic-nway:2] Set("SIP/992-00000204", "CONFNO=888") in new stack
-- Executing [888@dynamic-nway:3] Set("SIP/992-00000204", "MEETME_EXIT_CONTEXT=dynamic-nway-invite") in new stack
-- Executing [888@dynamic-nway:4] Set("SIP/992-00000204", "DYNAMIC_FEATURES=") in new stack
-- Executing [888@dynamic-nway:5] ConfBridge("SIP/992-00000204", "888") in new stack
-- <SIP/992-00000204> Playing 'conf-onlyperson.alaw' (language 'ru')
-- <SIP/992-00000204> Playing 'confbridge-join.alaw' (language 'ru')
-- <Bridge/0x7fec740010b8-input> Playing 'confbridge-join.slin' (language 'en')
-- Started music on hold, class 'default', on SIP/992-00000204
на 144 набрал 208
-- User entered '208'
-- Executing [s@macro-nway-start:4] Set("SIP/144-00000203", "DYNAMIC_FEATURES=nway-inv#nway-noinv") in new stack
-- Executing [s@macro-nway-start:5] Dial("SIP/144-00000203", "Local/208@dynamic-nway-dest,,g") in new stack
-- Called Local/208@dynamic-nway-dest
-- Executing [208@dynamic-nway-dest:1] Dial("Local/208@dynamic-nway-dest-00000010;2", "SIP/208") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/208
-- SIP/208-00000206 is ringing
-- Local/208@dynamic-nway-dest-00000010;1 is ringing
-- SIP/208-00000206 answered Local/208@dynamic-nway-dest-00000010;2
-- Local/208@dynamic-nway-dest-00000010;1 answered SIP/144-00000203
== Spawn extension (dynamic-nway-dest, 208, 1) exited non-zero on 'Local/208@dynamic-nway-dest-00000010;2'
-- Feature Found: nway-inv exten: nway-inv
-- Executing [s@macro-nway-ok:1] ChannelRedirect("SIP/144-00000203", "SIP/208-00000206,dynamic-nway,888,1") in new stack
-- Executing [888@dynamic-nway:1] Answer("SIP/208-00000206", "") in new stack
-- Executing [888@dynamic-nway:2] Set("SIP/208-00000206", "CONFNO=888") in new stack
-- Executing [888@dynamic-nway:3] Set("SIP/208-00000206", "MEETME_EXIT_CONTEXT=dynamic-nway-invite") in new stack
-- Executing [888@dynamic-nway:4] Set("SIP/208-00000206", "DYNAMIC_FEATURES=") in new stack
-- Executing [888@dynamic-nway:5] ConfBridge("SIP/208-00000206", "888") in new stack
-- Stopped music on hold on SIP/992-00000204
-- <SIP/208-00000206> Playing 'conf-onlyone.alaw' (language 'ru')
-- Executing [s@macro-nway-start:6] Set("SIP/144-00000203", "DYNAMIC_FEATURES=") in new stack
Вот здесь 144 должен уйти в конференцию, но этого не происходит
-- Executing [s@macro-nway-start:7] Goto("SIP/144-00000203", "dynamic-nway,888,1") in new stack
-- Goto (dynamic-nway,888,1)
== Channel 'SIP/144-00000203' jumping out of macro 'nway-start'
== Spawn extension (dynamic-nway, 888, 0) exited non-zero on 'SIP/144-00000203'
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[applicationmap]
nway-start => *0,self,Macro,nway-start
nway-inv => **,self,Macro,nway-ok
nway-noinv => *#,self,Macro,nway-notok
nway-start => *0,self,Macro,nway-start
nway-inv => **,self,Macro,nway-ok
nway-noinv => *#,self,Macro,nway-notok
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
[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,Confbridge(${CONFNO})
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=888)
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})
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,Confbridge(${CONFNO})
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=888)
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})
набираю 208. 208 отвечает. 144 нажимает **, чтобы подтвердить участие 208 в конференции. 208 заходит в конференцию, а у 144 почему то завершается вызов.
Лог:
== Extension Changed 144[context_aup_out] new state Busy for Notify User 230
-- Executing [992@context_aup_out_515894:1] GotoIf("SIP/144-00000203", "0?number_not_exists") in new stack
-- Executing [992@context_aup_out_515894:2] Set("SIP/144-00000203", "__DYNAMIC_FEATURES=nway-start") in new stack
-- Executing [992@context_aup_out_515894:3] Dial("SIP/144-00000203", "sip/992,30,Tt") in new stack
== Using SIP RTP CoS mark 5
-- Called sip/992
-- SIP/992-00000204 is ringing
== Using SIP RTP CoS mark 5
-- SIP/992-00000204 answered SIP/144-00000203
на 144 нажал *0
-- Feature Found: nway-start exten: nway-start
-- Executing [s@macro-nway-start:1] Set("SIP/144-00000203", "CONFNO=888") in new stack
-- Executing [s@macro-nway-start:2] ChannelRedirect("SIP/144-00000203", "SIP/992-00000204,dynamic-nway,888,1") in new stack
-- Executing [s@macro-nway-start:3] Read("SIP/144-00000203", "DEST,dial,,i") in new stack
-- Executing [888@dynamic-nway:1] Answer("SIP/992-00000204", "") in new stack
-- Executing [888@dynamic-nway:2] Set("SIP/992-00000204", "CONFNO=888") in new stack
-- Executing [888@dynamic-nway:3] Set("SIP/992-00000204", "MEETME_EXIT_CONTEXT=dynamic-nway-invite") in new stack
-- Executing [888@dynamic-nway:4] Set("SIP/992-00000204", "DYNAMIC_FEATURES=") in new stack
-- Executing [888@dynamic-nway:5] ConfBridge("SIP/992-00000204", "888") in new stack
-- <SIP/992-00000204> Playing 'conf-onlyperson.alaw' (language 'ru')
-- <SIP/992-00000204> Playing 'confbridge-join.alaw' (language 'ru')
-- <Bridge/0x7fec740010b8-input> Playing 'confbridge-join.slin' (language 'en')
-- Started music on hold, class 'default', on SIP/992-00000204
на 144 набрал 208
-- User entered '208'
-- Executing [s@macro-nway-start:4] Set("SIP/144-00000203", "DYNAMIC_FEATURES=nway-inv#nway-noinv") in new stack
-- Executing [s@macro-nway-start:5] Dial("SIP/144-00000203", "Local/208@dynamic-nway-dest,,g") in new stack
-- Called Local/208@dynamic-nway-dest
-- Executing [208@dynamic-nway-dest:1] Dial("Local/208@dynamic-nway-dest-00000010;2", "SIP/208") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/208
-- SIP/208-00000206 is ringing
-- Local/208@dynamic-nway-dest-00000010;1 is ringing
-- SIP/208-00000206 answered Local/208@dynamic-nway-dest-00000010;2
-- Local/208@dynamic-nway-dest-00000010;1 answered SIP/144-00000203
== Spawn extension (dynamic-nway-dest, 208, 1) exited non-zero on 'Local/208@dynamic-nway-dest-00000010;2'
-- Feature Found: nway-inv exten: nway-inv
-- Executing [s@macro-nway-ok:1] ChannelRedirect("SIP/144-00000203", "SIP/208-00000206,dynamic-nway,888,1") in new stack
-- Executing [888@dynamic-nway:1] Answer("SIP/208-00000206", "") in new stack
-- Executing [888@dynamic-nway:2] Set("SIP/208-00000206", "CONFNO=888") in new stack
-- Executing [888@dynamic-nway:3] Set("SIP/208-00000206", "MEETME_EXIT_CONTEXT=dynamic-nway-invite") in new stack
-- Executing [888@dynamic-nway:4] Set("SIP/208-00000206", "DYNAMIC_FEATURES=") in new stack
-- Executing [888@dynamic-nway:5] ConfBridge("SIP/208-00000206", "888") in new stack
-- Stopped music on hold on SIP/992-00000204
-- <SIP/208-00000206> Playing 'conf-onlyone.alaw' (language 'ru')
-- Executing [s@macro-nway-start:6] Set("SIP/144-00000203", "DYNAMIC_FEATURES=") in new stack
Вот здесь 144 должен уйти в конференцию, но этого не происходит
-- Executing [s@macro-nway-start:7] Goto("SIP/144-00000203", "dynamic-nway,888,1") in new stack
-- Goto (dynamic-nway,888,1)
== Channel 'SIP/144-00000203' jumping out of macro 'nway-start'
== Spawn extension (dynamic-nway, 888, 0) exited non-zero on 'SIP/144-00000203'