i have a SIP gateway device connected to an asterisk box which is sending all numbers in as +5000 (extension) +095551234 (e.g. auckland) +0275551234 (e.g. mobile). How do I tell asterisk to strip/ignore the "+" on the number?
i have a SIP gateway device connected to an asterisk box which is sending all numbers in as +5000 (extension) +095551234 (e.g. auckland) +0275551234 (e.g. mobile). How do I tell asterisk to strip/ignore the "+" on the number?
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
![]() ![]() |
sbiddle: Asterisk is receiving the numbers from an external SIP provider with the + at the front? What provider is this?
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
sbiddle: Are you using pure Asterisk or a distro such as trixbox? Assuming both OCS and your gateway use the same incoming context then the change is fairly simple.
sbiddle: Are you using pure Asterisk or a distro such as trixbox? Assuming both OCS and your gateway use the same incoming context then the change is fairly simple.
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
LennonNZ:sbiddle: Are you using pure Asterisk or a distro such as trixbox? Assuming both OCS and your gateway use the same incoming context then the change is fairly simple.
why don't you try and get the other devices "fixed" so they send proper CID? instead of trying to fix something else becuase the 1st device is broken?
Thanks
:)
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
LennonNZ: CallerID != E164.
E164 is a routing protocol.
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
with the release of teh R2 version of Microsoft OCS i can now get around this pesky problem with ease:
http://technet.microsoft.com/en-us/library/dd441273(office.13).aspx
Handling E.164 Numbers in Outbound Calls
By default, E.164 numbers in the Request Uniform Resource Identifier (URI) for outgoing calls are prefixed with a plus sign (+). Most Private Branch eXchanges (PBXs) process such numbers without problem. Certain PBXs, however, do not accept numbers that are prefixed with a plus sign.To ensure interoperability with these PBXs, Mediation Server has a new WMI Boolean setting called RemovePlusFromRequestURI, which has two values: TRUE and FALSE. If your PBX does not accept numbers prefixed with a plus sign, the value for the WMI setting should be set to TRUE, which causes Mediation Server to strip the plus sign from a Request URI for outbound calls. The default is FALSE, which causes Mediation Server to pass the outgoing INVITE’s Request URI, To URI, and From URI unchanged.
Sales Engineer
Snowflake
www.snowflake.com
about.me/nzregs
Twitter: @nzregs
![]() ![]() |