kelvin Posted August 7, 2008 Report Share Posted August 7, 2008 hi support, we facing problem dial number start with 8, for 9 and 6 is fine. the number did not match the pattern we have created. our dialplan matching pattern = 9(.*) and replacement = sip:120165\1 . please refer to below log tracert. thx Dial - 997933491 [6] 2008/08/07 13:55:06: Sending RTP for 3c2679a854e3-wgw1csffzh2n#90082fb57e to 192.168.1.189:55696 [9] 2008/08/07 13:55:06: Dialplan: Evaluating !9019(.*)!sip:1201\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !902(.*)!sip:12016\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !900(.*)!sip:1201\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !9(.*)!sip:120165\1!i against 997933491@pbx.pgcomms.com [5] 2008/08/07 13:55:06: Dialplan offnet_1_dp: Match 997933491@pbx.pgcomms.com to <sip:12016597933491@pbx.pgcomms.com> on trunk QT-85 Dial - 981257900 [6] 2008/08/07 13:55:42: Sending RTP for 3c2679cbc53c-uk22xdwf07eh#3f56548b43 to 192.168.1.189:63564 [9] 2008/08/07 13:55:42: Dialplan: Evaluating !9019(.*)!sip:1201\1!i against 981257900@pbx.pgcomms.com [9] 2008/08/07 13:55:42: Dialplan: Evaluating !902(.*)!sip:12016\1!i against 981257900@pbx.pgcomms.com [9] 2008/08/07 13:55:42: Dialplan: Evaluating !900(.*)!sip:1201\1!i against 981257900@pbx.pgcomms.com [5] 2008/08/07 13:55:42: Dialplan offnet_1_dp: Match 981257900@pbx.pgcomms.com to <sip:1201@pbx.pgcomms.com> on trunk Cisco-94 regards, kelvin Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 7, 2008 Report Share Posted August 7, 2008 hi support, we facing problem dial number start with 8, for 9 and 6 is fine. the number did not match the pattern we have created. our dialplan matching pattern = 9(.*) and replacement = sip:120165\1 . please refer to below log tracert. thx Dial - 997933491 [6] 2008/08/07 13:55:06: Sending RTP for 3c2679a854e3-wgw1csffzh2n#90082fb57e to 192.168.1.189:55696 [9] 2008/08/07 13:55:06: Dialplan: Evaluating !9019(.*)!sip:1201\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !902(.*)!sip:12016\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !900(.*)!sip:1201\1!i against 997933491@pbx.pgcomms.com [9] 2008/08/07 13:55:06: Dialplan: Evaluating !9(.*)!sip:120165\1!i against 997933491@pbx.pgcomms.com [5] 2008/08/07 13:55:06: Dialplan offnet_1_dp: Match 997933491@pbx.pgcomms.com to <sip:12016597933491@pbx.pgcomms.com> on trunk QT-85 Dial - 981257900 [6] 2008/08/07 13:55:42: Sending RTP for 3c2679cbc53c-uk22xdwf07eh#3f56548b43 to 192.168.1.189:63564 [9] 2008/08/07 13:55:42: Dialplan: Evaluating !9019(.*)!sip:1201\1!i against 981257900@pbx.pgcomms.com [9] 2008/08/07 13:55:42: Dialplan: Evaluating !902(.*)!sip:12016\1!i against 981257900@pbx.pgcomms.com [9] 2008/08/07 13:55:42: Dialplan: Evaluating !900(.*)!sip:1201\1!i against 981257900@pbx.pgcomms.com [5] 2008/08/07 13:55:42: Dialplan offnet_1_dp: Match 981257900@pbx.pgcomms.com to <sip:1201@pbx.pgcomms.com> on trunk Cisco-94 regards, kelvin Try using ^9(.*), then the match will start at the beginning. Quote Link to comment Share on other sites More sharing options...
kelvin Posted August 8, 2008 Author Report Share Posted August 8, 2008 Try using ^9(.*), then the match will start at the beginning. It works. thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.