jholland Posted March 30, 2007 Report Share Posted March 30, 2007 When we recieve inbound calls from our sip gateway carrier it comes in with a +1(999)999-9999. What is the replacement dial string that replaces this pattern when trying to return this call through a missed call log? Basically we need to strip the + sign but how? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted April 7, 2007 Report Share Posted April 7, 2007 Try something like !\+([0-9]*)!\1!. The trick is to escape the + symbol with a backslash, because it has a special meaning in extended regular expressions. Quote Link to comment Share on other sites More sharing options...
James Mahood Posted September 15, 2007 Report Share Posted September 15, 2007 This is similar to a problem I am having trying to dial numbers out of a contact list that are in the form of +(country code)(phone number). I tried the above dial plan and it doesn't work. In my case I want to have PBXnSIP pass the + throught because some of my number are in different countries. 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.