Reg Expression to add plus sign (+) to outbound route
Page 1 of 1
Reg Expression to add plus sign (+) to outbound route
Hi guys, we are creating a trunk for a customer and they need us to send the call using E.164, so we are trying to figure out the way to do it.
Our regex uses a prefix to use that trunk so it is something like this /^2021([0-9]{9,13})$/\1/
How can I add + to this regex?
Thanks in advance.
Our regex uses a prefix to use that trunk so it is something like this /^2021([0-9]{9,13})$/\1/
How can I add + to this regex?
Thanks in advance.
Last edited by ahsanul.moyeen on Thu Apr 29, 2021 6:36 am; edited 1 time in total
Guest- Guest
Re: Reg Expression to add plus sign (+) to outbound route
Hi,
From below,
/^2021([0-9]{9,13})$/\1/
You can add + like this,
/^2021([0-9]{9,13})$/+\1/
This means it will strip off 2021 and + to the first group ([0-9…) after remapped.
Best regards,
From below,
/^2021([0-9]{9,13})$/\1/
You can add + like this,
/^2021([0-9]{9,13})$/+\1/
This means it will strip off 2021 and + to the first group ([0-9…) after remapped.
Best regards,
Guest- Guest
Similar topics
» ITSP uses outbound proxy; unable to make outbound calls.
» Route questions on TelcoBridges SBC
» can we do a regex expression in the call trace?
» Is there any way to limit calls by route?
» Inbound calls are working but outbound calls are failing for SIP Trunk
» Route questions on TelcoBridges SBC
» can we do a regex expression in the call trace?
» Is there any way to limit calls by route?
» Inbound calls are working but outbound calls are failing for SIP Trunk
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum