How to make dialplan rules for outbound calls only

Status
Not open for further replies.

goose2600

Member
Dec 18, 2018
51
1
8
Could someone point me in the right direction to set a dialplan rule for outbound calls only?
 

goose2600

Member
Dec 18, 2018
51
1
8
I am trying to properly set a rule for cidlookup for outbound calls.
Currently, my cidlookup rule is this:
Code:
order: 98
condition : destination_number : ^.*$
action : cidlookup : $1
action : set : effective_caller_id_name=${cidlookup(${caller_id_number})}
 

goose2600

Member
Dec 18, 2018
51
1
8
I tried to use "direction" as condition, but is not working. Infatc it is not showing neither in the "Type" dropdown.

At the moment I set up a condition, destination_number : ^(destionation_number), in the cidlookup dialplan and it seems to work, looking up the cid only for the inbonud calls.
 
Status
Not open for further replies.