Caller ID number add 0 prefix inbound call

Status
Not open for further replies.

Vahram

Member
Oct 2, 2017
36
0
6
57
Hi

Can someone help me add 0 Caller ID number on inbound routes?

got from provider 95415252
translate to 095415252
 

roger_roger

Member
Oct 12, 2016
198
19
18
69
Try this in your inbound route section and make sure it has order number 0

condition destination_number ^\+?1(\d{10})$
action transfer 0$1 XML public
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,417
377
83
If its just the caller ID you want to change, then the following line in your inbound route should do it:

action set effective_caller_id_name=0${caller_id_name}
 

ad5ou

Active Member
Jun 12, 2018
887
197
43
Pretty sure Adrian mean "number" instead of "name" ;)
action set effective_caller_id_number=0${caller_id_number}
 

Vahram

Member
Oct 2, 2017
36
0
6
57
Hello

Yes i configured before - action set effective_caller_id_number=0${caller_id_number}
Not working for me .
 

Vahram

Member
Oct 2, 2017
36
0
6
57
Again issue

effective_caller_id_number and caller_id_number, caller_id and etc I can set 0 before caller id , but in CDR and active call is shown without 0 .
 

Attachments

  • Untitled.png
    Untitled.png
    12.7 KB · Views: 47
  • Untitled1.png
    Untitled1.png
    16 KB · Views: 45
  • Untitled2.png
    Untitled2.png
    9 KB · Views: 44
Status
Not open for further replies.