Ok Firstly thanks for taking the time to help me.
Lets start from the top I suppose :
Regarding Pattern Matching, I had a good rattle at that and dispite having a pattern such as this (05XNNXXXXX) I was able to dial numbers such as 05786XXXXX but 05793XXXXX would deny automatically.
Anyway I’ve cleaned out the Dial Patterns to just a few patterns till I get to the bottom of this.
I’ve posted logs as asked for a failed call from my Mobile SIP client running on iOS.
I do have the extension routing module enabled and registered
Regarding configuring the soft clients to use a specific context I’ll be honest here and say I’m not entirely sure what this means. I’ll put my research hat on as soon as I stop typing and see if I can figure this part out.
Below is a screenshot of the Codecs listed in both Linphone Client and Zoiper Client on iOS
Here is the result of sip show peers command on my asterisk CLI. Extension 501 here is my iOS client
localhostCLI> sip show peers
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
500/500 10.50.0.26 D Yes Yes A 5060 OK (85 ms)
501/501 192.168.101.101 D Yes Yes A 5060 OK (20 ms)
502/502 (Unspecified) D Yes Yes A 0 UNKNOWN
503/503 (Unspecified) D Yes Yes A 0 UNKNOWN
504/504 192.168.100.19 D Yes Yes A 5060 UNREACHABLE
510 (Unspecified) D Yes Yes A 0 UNKNOWN
550 (Unspecified) D Yes Yes A 0 UNKNOWN
551/551 (Unspecified) D Yes Yes A 0 UNKNOWN
IrishVoip/laoistomirishv 77.72.174.129 Yes Yes 5060 OK (40 ms)
9 sip peers [Monitored: 3 online, 6 offline Unmonitored: 0 online, 0 offline]
Here is a snippet of my logs from a failed call
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [0851657409@from-internal:1] Macro(“SIP/501-00000069”, “user-callerid,LIMIT”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/501-00000069”, “TOUCH_MONITOR=1455221792.105”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/501-00000069”, “AMPUSER=501”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/501-00000069”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/501-00000069”, “1?Set(REALCALLERIDNUM=501)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/501-00000069”, “AMPUSER=501”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/501-00000069”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/501-00000069”, “AMPUSERCIDNAME=Thomas Quigley iPhone”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/501-00000069”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/501-00000069”, “AMPUSERCID=501”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/501-00000069”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/501-00000069”, “CALLERID(all)=“Thomas Quigley iPhone” <501>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/501-00000069”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/501-00000069”, “1?Set(GROUP(concurrency_limit)=501)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/501-00000069”, “7?sub-ccss,s,1(from-internal,0851657409)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/501-00000069”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/501-00000069”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/501-00000069”, “0?monitor_config,1(from-internal,0851657409):monitor_default,1(from-internal,0851657409)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/501-00000069”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/501-00000069”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/501-00000069”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/501-00000069”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/501-00000069”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] Set(“SIP/501-00000069”, “CALLERID(number)=501”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/501-00000069”, “CALLERID(name)=Thomas Quigley iPhone”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/501-00000069”, “CDR(cnum)=501”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/501-00000069”, “CDR(cnam)=Thomas Quigley iPhone”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/501-00000069”, “CHANNEL(language)=en”) in new stack
– Executing [0851657409@from-internal:2] Set(“SIP/501-00000069”, “ROUTEUSER=501”) in new stack
– Executing [0851657409@from-internal:3] GotoIf(“SIP/501-00000069”, “1?notblind”) in new stack
– Goto (from-internal,0851657409,6)
– Executing [0851657409@from-internal:6] GotoIf(“SIP/501-00000069”, “1?restrictedroute-cfcd208495d565ef66e7dff9f98764da,0851657409,2:outbound-allroutes,0851657409,2”) in new stack
– Goto (restrictedroute-cfcd208495d565ef66e7dff9f98764da,0851657409,2)
[2016-02-11 20:16:32] WARNING[14728][C-00000738]: pbx.c:6646 __ast_pbx_run: Channel ‘SIP/501-00000069’ sent to invalid extension but no invalid handler: context,exten,priority=restrictedroute-cfcd208495d565ef66e7dff9f98764da,0851657409,2
– Executing [h@restrictedroute-cfcd208495d565ef66e7dff9f98764da:1] Hangup(“SIP/501-00000069”, “”) in new stack
== Spawn extension (restrictedroute-cfcd208495d565ef66e7dff9f98764da, h, 1) exited non-zero on ‘SIP/501-00000069’
[2016-02-11 20:16:49] WARNING[30618]: chan_sip.c:4082 retrans_pkt: Timeout on e63a8abb13d80c9440132cd7c08e82b2 on non-critical invite transaction.
Regards,
Laois tom