Caller ID

Status
Not open for further replies.

Wael

Free User
Joined
Nov 24, 2020
Messages
42
Reaction score
3
Hello! Numbers in Lebanon are displayed as (03 088 332 or 78 988 884) and the country code is 00961.
Is there any way I can get make the Caller ID to be displayed as 9613088332 instead of 03 088 332.
 
  • Like
Reactions: ChrisC_3CX
Thank you!! But I didn't know how to write the Source CID Pattern :(
 
Good thing there are examples in that link! Otherwise depending on how the calls are coming in you can ask the provider to adjust them on their end
 
  • Like
Reactions: ChrisC_3CX
I did this but it didn't work, I don't have a provider because I use GOIP. 1614763048465.png
 
Hey @Wael

Since you say 961 is not included in the Caller ID, you should not have put it in the source pattern as the source pattern field should be able to match the incoming caller ID.

For the example you provided:

"Turn 03088332 into 9613088332"

The following should be sufficient:
1614764355916.png
 
Hello @ChrisC_3CX it only worked with 03088332, when calling from 78988884 the numbers shows without 961
 
Hello @chrisC_cx it only worked with 03088332, when calling from 78988884 the numbers shows without 961
The example I provided will indeed match any number starting with 0 and then remove the 0 and prepend 961. Since 789.. does not start with 0 you could create a second reformatting rule and just remove the 0 like so:

Source Pattern: (.*)
Replace Pattern: 961\1


Add this rule under the first one so it is not matched first.
 
Status
Not open for further replies.