Hi Bill/Dicko Thanks for chiming in
I tried 9 in the prepend and X. in the pattern match but no luck
(see logs below)
@dicko… i see how the ring tone would play into this but im using the yates softphone for testing. not sure if we can have ring tone on a softphone can we?
Im tracking the logs in CLI and these are the responses i get using the parameters suggested. (sorry its long)
Prepend 9 – Prefix = empty --Match Pattern = X. (capital X i assume and not lowercase x)
Using SIP RTP CoS mark 5
-- Called SIP/021070471_out/908920181655
-- SIP/021070471_out-000000a0 is making progress passing it to SIP/702-0000009f
> 0xb6119a00 -- Probation passed - setting RTP source address to 192.168.1.37:20530
> 0x2492b70 -- Probation passed - setting RTP source address to 202.129.61.102:18246
-- No one is available to answer at this time (1:0/0/0)
-- Executing [s@macro-dialout-trunk:23] NoOp("SIP/702-0000009f", "Dial failed for some reason with DIALSTATUS = NOANSWER and HANGUPCAUSE = 16") in new stack
-- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/702-0000009f", "0?continue,1:s-NOANSWER,1") in new stack
-- Goto (macro-dialout-trunk,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp("SIP/702-0000009f", "Dial failed due to trunk reporting NOANSWER - giving up") in new stack
-- Executing [s-NOANSWER@macro-dialout-trunk:2] Progress("SIP/702-0000009f", "") in new stack
-- Executing [s-NOANSWER@macro-dialout-trunk:3] Playback("SIP/702-0000009f", "number-not-answering,noanswer") in new stack
-- Playing 'number-not-answering.ulaw' (language 'en')
-- Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion("SIP/702-0000009f", "20") in new stack
== Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'SIP/702-0000009f' in macro 'dialout-trunk'
== Spawn extension (from-internal, 08920181655, 5) exited non-zero on 'SIP/702-0000009f'
-- Executing [h@from-internal:1] Hangup("SIP/702-0000009f", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/702-0000009f'
prepend 9 — prefix = . —match pattern = XXXXXXXXXX
Called SIP/021070471_out/9892081650
– SIP/021070471_out-000000a3 is making progress passing it to SIP/702-000000a2
> 0xb2f60fe8 – Probation passed - setting RTP source address to 192.168.1.37:26458
> 0x25e9d30 – Probation passed - setting RTP source address to 202.129.61.102:11590
– No one is available to answer at this time (1:0/0/0)
– Executing [s@macro-dialout-trunk:23] NoOp(“SIP/702-000000a2”, “Dial failed for some reason with DIALSTATUS = NOANSWER and HANGUPCAUSE = 16”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“SIP/702-000000a2”, “0?continue,1:s-NOANSWER,1”) in new stack
– Goto (macro-dialout-trunk,s-NOANSWER,1)
– Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp(“SIP/702-000000a2”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
– Executing [s-NOANSWER@macro-dialout-trunk:2] Progress(“SIP/702-000000a2”, “”) in new stack
– Executing [s-NOANSWER@macro-dialout-trunk:3] Playback(“SIP/702-000000a2”, “number-not-answering,noanswer”) in new stack
– <SIP/702-000000a2> Playing ‘number-not-answering.ulaw’ (language ‘en’)
– Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion(“SIP/702-000000a2”, “20”) in new stack
== Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on ‘SIP/702-000000a2’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 08920181655, 5) exited non-zero on ‘SIP/702-000000a2’
– Executing [h@from-internal:1] Hangup(“SIP/702-000000a2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/702-000000a2’
prefix and prepend empty-- match pattern = 9XXXXXXXXXX ( no . )
– Executing [08920181655@from-internal:1] ResetCDR(“SIP/702-000000a1”, “”) in new stack
– Executing [08920181655@from-internal:2] NoCDR(“SIP/702-000000a1”, “”) in new stack
– Executing [08920181655@from-internal:3] Progress(“SIP/702-000000a1”, “”) in new stack
– Executing [08920181655@from-internal:4] Wait(“SIP/702-000000a1”, “1”) in new stack
> 0xb2f81bd8 – Probation passed - setting RTP source address to 192.168.1.37:27350
– Executing [08920181655@from-internal:5] Progress(“SIP/702-000000a1”, “”) in new stack
– Executing [08920181655@from-internal:6] Playback(“SIP/702-000000a1”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/702-000000a1> Playing ‘silence/1.ulaw’ (language ‘en’)
– <SIP/702-000000a1> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
== Spawn extension (from-internal, 08920181655, 6) exited non-zero on ‘SIP/702-000000a1’
– Executing [h@from-internal:1] Hangup(“SIP/702-000000a1”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/702-000000a1’
Prepend 9 Prefix (empty) – match pattern= XXXXXXXXXX.
– Executing [08920181655@from-internal:1] ResetCDR(“SIP/702-000000a4”, “”) in new stack
– Executing [08920181655@from-internal:2] NoCDR(“SIP/702-000000a4”, “”) in new stack
– Executing [08920181655@from-internal:3] Progress(“SIP/702-000000a4”, “”) in new stack
– Executing [08920181655@from-internal:4] Wait(“SIP/702-000000a4”, “1”) in new stack
> 0xb61a2198 – Probation passed - setting RTP source address to 192.168.1.37:31416
– Executing [08920181655@from-internal:5] Progress(“SIP/702-000000a4”, “”) in new stack
– Executing [08920181655@from-internal:6] Playback(“SIP/702-000000a4”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/702-000000a4> Playing ‘silence/1.ulaw’ (language ‘en’)
– <SIP/702-000000a4> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
== Spawn extension (from-internal, 08920181655, 6) exited non-zero on ‘SIP/702-000000a4’
– Executing [h@from-internal:1] Hangup(“SIP/702-000000a4”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/702-000000a4’
Seems i keep running into " no answer" which i assume is due to the system not dialing out correctly ?
not sure.
Also i don’t believe i can manually edit a conf file to use 9|. manually right?
looks like all the conf files are generated manually and editing then manually is not a good idea.
any suggestions?
Cheers