First Call WORKS
– Executing [9301@geral:1] Set(“PJSIP/9303-00000004”, “CDR(userfield)=ENTRADA”) in new stack
– Executing [9301@geral:2] Set(“PJSIP/9303-00000004”, “__HABILITAT1=t”) in new stack
– Executing [9301@geral:3] Set(“PJSIP/9303-00000004”, “__HABILITAT2=T”) in new stack
– Executing [9301@geral:4] Set(“PJSIP/9303-00000004”, “_CHAMADAPABX=E”) in new stack
– Executing [9301@geral:5] Set(“PJSIP/9303-00000004”, “__RAMALPABX=9301”) in new stack
– Executing [9301@geral:6] Set(“PJSIP/9303-00000004”, “QTDE=0”) in new stack
– Executing [9301@geral:7] Set(“PJSIP/9303-00000004”, “_BINAANIMAL=9303”) in new stack
– Executing [9301@geral:8] Set(“PJSIP/9303-00000004”, “TRUST=0”) in new stack
– Executing [9301@geral:9] Set(“PJSIP/9303-00000004”, “DDAC=0”) in new stack
– Executing [9301@geral:10] Set(“PJSIP/9303-00000004”, “FILA_RAMAL=0”) in new stack
– Executing [9301@geral:11] Set(“PJSIP/9303-00000004”, “TRANSFERENCIADAC=0”) in new stack
– Executing [9301@geral:12] GotoIf(“PJSIP/9303-00000004”, “0?prox:VAICLI”) in new stack
– Goto (geral,9301,13)
– Executing [9301@geral:13] Set(“PJSIP/9303-00000004”, “_variable1=PJSIP/9303”) in new stack
– Executing [9301@geral:14] Set(“PJSIP/9303-00000004”, “_variable1=9303”) in new stack
– Executing [9301@geral:15] Set(“PJSIP/9303-00000004”, “__FROMCALLERID=9303”) in new stack
– Executing [9301@geral:16] GotoIf(“PJSIP/9303-00000004”, “0?CONTINUATR:TR”) in new stack
– Goto (geral,9301,18)
-- Executing [9301@geral:81] Answer("PJSIP/9303-00000004", "") in new stack
> 0x7f516006be90 -- Strict RTP learning after remote address set to: 177.53.246.173:4028
> 0x7f516006be90 -- Strict RTP switching to RTP target address 177.53.246.173:4028 as source
-- Executing [9301@geral:82] Queue("PJSIP/9303-00000004", "9301,nTt,,,,,,,,") in new stack
-- Started music on hold, class 'default', on channel 'PJSIP/9303-00000004'
-- Called Local/9301@agents
-- Executing [9301@agents:1] AgentRequest("Local/9301@agents-00000001;2", "9301") in new stack
-- Channel Local/9301@agents-00000001;2 joined 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Stopped music on hold on PJSIP/9301-00000003
-- Local/9301@agents-00000001;1 is ringing
-- <PJSIP/9301-00000003> Playing 'beep.gsm' (language 'pt_BR')
-- Channel PJSIP/9301-00000003 left 'holding_bridge' agent_hold-bridge <55b3b786-5445-43a1-b33a-b65d091310fe>
-- Channel PJSIP/9301-00000003 joined 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Local/9301@agents-00000001;1 connected line has changed. Saving it until answer for PJSIP/9303-00000004
-- Local/9301@agents-00000001;1 answered PJSIP/9303-00000004
-- Stopped music on hold on PJSIP/9303-00000004
-- Channel Local/9301@agents-00000001;1 joined 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9303-00000004 joined 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
> Move-swap optimizing Local/9301@agents-00000001;1 <-- PJSIP/9301-00000003.
-- Channel PJSIP/9301-00000003 left 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
-- Channel Local/9301@agents-00000001;1 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9301-00000003 swapped with Local/9301@agents-00000001;1 into 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel Local/9301@agents-00000001;2 left 'simple_bridge' basic-bridge <c3cbca5b-69d4-4589-9b6c-1744f45466d2>
== Spawn extension (agents, 9301, 1) exited non-zero on ‘Local/9301@agents-00000001;2’
> 0x7f516006be90 -- Strict RTP learning complete - Locking on source address 177.53.246.173:4028
-- Channel PJSIP/9303-00000004 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
-- Channel PJSIP/9301-00000003 left 'simple_bridge' basic-bridge <9571f08d-6256-4a0a-bd2f-bd328782b227>
== Spawn extension (geral, 9301, 82) exited non-zero on ‘PJSIP/9303-00000004’
– Executing [h@geral:1] Set(“PJSIP/9303-00000004”, “CALLERID(num)=9303”) in new stack
– Executing [h@geral:2] NoOp(“PJSIP/9303-00000004”, “Hangupcause: 16 → 9303”) in new stack
– Channel PJSIP/9301-00000003 joined ‘holding_bridge’ agent_hold-bridge <55b3b786-5445-43a1-b33a-b65d091310fe>
– Executing [h@geral:3] CELGenUserEvent(“PJSIP/9303-00000004”, “HANGUPCAUSE,16”) in new stack
– Executing [h@geral:4] AGI(“PJSIP/9303-00000004”,
– Started music on hold, class ‘default’, on channel ‘PJSIP/9301-00000003’
-- Executing [h@geral:5] CELGenUserEvent("PJSIP/9303-00000004", "DIALSTATUS,") in new stack
-- Executing [h@geral:6] NoOp("PJSIP/9303-00000004", "Mixar: ") in new stack
-- Executing [h@geral:7] Hangup("PJSIP/9303-00000004", "") in new stack
SECOND CALL - DONT GO TO Local/9301@agents
-- Executing [9301@geral:1] Set("PJSIP/9303-00000005", "CDR(userfield)=ENTRADA") in new stack
-- Executing [9301@geral:2] Set("PJSIP/9303-00000005", "__HABILITAT1=t") in new stack
-- Executing [9301@geral:3] Set("PJSIP/9303-00000005", "__HABILITAT2=T") in new stack
-- Executing [9301@geral:4] Set("PJSIP/9303-00000005", "_CHAMADAPABX=E") in new stack
-- Executing [9301@geral:5] Set("PJSIP/9303-00000005", "__RAMALPABX=9301") in new stack
-- Executing [9301@geral:6] Set("PJSIP/9303-00000005", "QTDE=0") in new stack
-- Executing [9301@geral:7] Set("PJSIP/9303-00000005", "_BINAANIMAL=9303") in new stack
-- Executing [9301@geral:8] Set("PJSIP/9303-00000005", "TRUST=0") in new stack
-- Executing [9301@geral:9] Set("PJSIP/9303-00000005", "DDAC=0") in new stack
-- Executing [9301@geral:10] Set("PJSIP/9303-00000005", "FILA_RAMAL=0") in new stack
-- Executing [9301@geral:11] Set("PJSIP/9303-00000005", "TRANSFERENCIADAC=0") in new stack
-- Executing [9301@geral:12] GotoIf("PJSIP/9303-00000005", "0?prox:VAICLI") in new stack
-- Goto (geral,9301,13)
-- Executing [9301@geral:13] Set("PJSIP/9303-00000005", "_variable1=PJSIP/9303") in new stack
-- Executing [9301@geral:14] Set("PJSIP/9303-00000005", "_variable1=9303") in new stack
-- Executing [9301@geral:15] Set("PJSIP/9303-00000005", "__FROMCALLERID=9303") in new stack
-- Executing [9301@geral:16] GotoIf("PJSIP/9303-00000005", "0?CONTINUATR:TR") in new stack
-- Goto (geral,9301,18)
-- Executing [9301@geral:81] Answer("PJSIP/9303-00000005", "") in new stack
> 0x7f5160071110 -- Strict RTP learning after remote address set to: 177.53.246.173:4030
-- Executing [9301@geral:82] Queue("PJSIP/9303-00000005", "9301,nTt,,,,,,,,") in new stack
-- Started music on hold, class 'default', on channel 'PJSIP/9303-00000005'
> 0x7f5160071110 -- Strict RTP switching to RTP target address 177.53.246.173:4030 as source