Modify what dialplan is created when setting a destination?

Status
Not open for further replies.

Techd00d

New Member
Mar 1, 2017
9
0
1
40
I would like to be able to adjust the inbound route dialplan that gets generated when you setup a destination. What files or scripts control what builds the resulting dialplan?

Specifically, I would like to insert a caller ID lookup line before the transfer line. This works great on its own but I have to manually add it each time I create a new destination. I would like to have it populate automatically.

action set effective_caller_id_name=${cidlookup(${caller_id_number})} true 0 25
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,045
566
113
Tim, you could probably follow the code in destination_edit.php and see where that goes, your problem is that it will break any auto updating, or will simply get overwritten if you do.
 

Techd00d

New Member
Mar 1, 2017
9
0
1
40
Thank you, I was afraid of it being overwritten, was hoping for a more "supported" route. I will follow that and see what I come up with.
 
Status
Not open for further replies.