Jump to content

How to call star codes from a trunk


pcapps
 Share

Recommended Posts

We are a PBXnSIP customer using CallCentric for SIP. They have quick dial codes *7501 to *7599 and we want to use them by simply dialing 75xx into our phones through PBXnSIP. Seems like a simple dial plan right?

 

It works if we hardcode 7501 --> *7501 (But we would have to do this 99 times).

 

Using Regular expressions doesn?t work because of a bug in your regular expression translator.

 

The following RegEx should match (which PBXnSIP does do properly): 75{[0-9][0-9]}

And either of the following replacement strings should result in the correct replacement, but they don?t: *75\1 Or *$_

 

A regular expression calculator will show that the replacement strings should work.

 

Anyone have a solution, or bug fix?

Link to comment
Share on other sites

Only one combination worked, "75([0-9]{2})@.*" as a pattern, and "sip:*75\1@\r;user=phone" as the replacement. 75xx didn't work, which surprises me.

 

 

Try the patterns

 

75xx

 

or

 

75([0-9]{2})@.*

 

In the replacement, try:

 

sip:*75\1@\r;user=phone

 

or

 

sip:\*75\1@\r;user=phone

 

(not sure if the escape symbol is needed)

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.

 Share

×
×
  • Create New...