Solved ring mobile simultaneously

Status
Not open for further replies.

niffur00

Bronze Partner
Joined
Mar 21, 2022
Messages
5
Reaction score
3
When I set an extension to "ring my mobile simultaneously", calls from internal extensions are rejected by my SIP trunk because the caller ID is not E.164 (it caller's extension as the user part i(.e. sip:[email protected]). I can fix this by changing the outbound parameters of the trunk from OriginatorCallerID to OutboundCallerID which uses the main caller ID of the trunk, but then I lose the ability to send the caller ID of external calls to the target mobile number. I think the right solution to use the "Reformat Outgoing Caller" feature of the trunk but I cannot get the standard regex expression [0-9][0-9] to work. This expression should match only extensions from 00-99. Does this feature use standard regex expressions? Otherwise how can I reformat the outgoing caller ID for only internal extensions for the ring my mobile simultaneously feature?
 
If you want to use the Caller ID reformatting what you would ideally do is create a rule that basically matches only 3 digit extensions. This however is not possible so what remains for you to do is match everything above 3 digits and specify that the caller id in those cases should stay as is.

If let's say the largest caller id you can ever receive is 10 digits long, you will end up with something like this:
1647961704654.png


The last rule that replaces the value with 3333333 is the rule where you will set your desired Caller ID for extension calls(three digit caller id calls).
 
  • Like
Reactions: systemstech
Do you have a valid (E164) caller ID (DID number?)set against each extension, for outgoing calls, and then use OriginatorCallerID?
 
If you want to use the Caller ID reformatting what you would ideally do is create a rule that basically matches only 3 digit extensions. This however is not possible so what remains for you to do is match everything above 3 digits and specify that the caller id in those cases should stay as is.

If let's say the largest caller id you can ever receive is 10 digits long, you will end up with something like this:
View attachment 28902


The last rule that replaces the value with 3333333 is the rule where you will set your desired Caller ID for extension calls(three digit caller id calls).
Clever! Wished this feature could be extended to use standard regex, which would allow us to match only three digits. Regex to match would be just [0-9]{3}. Thank you I think what you have will work.
 
  • Like
Reactions: ChrisC_3CX
Glad I could help!

Feel free to start a new thread should anything else come up!
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet