Jump to content

Dial Plan - 9(.*)


kelvin

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...