Outbound Route with more than 2 alternates and....

Status
Not open for further replies.

Scott Ellis

New Member
Aug 17, 2017
2
0
1
58
So I think I can see how to add more than 2 alternates on fail, (just edit the script), BUT I am trying to use iiNET in Australia, and found this configuration information from the FreeSwitch wiki.

The effective_caller_id_number and the effective_caller_id_name have to be set to the number of the gateway you are making the call on. I just changed these in the script, see below

Am I right in assuming I could just change these values before moving onto the next bridge command?

action set effective_caller_id_name=02405493##
action set effective_caller_id_number=02405493##
.
.
action set continue_on_fail=true
action bridge sofia/gateway/iiNET02405493##/$1

** Do stuff in here like **
action set effective_caller_id_name=02401111##
action set effective_caller_id_number=02401111##
**
action set continue_on_fail=true
action bridge sofia/gateway/iiNET02401111##/$1

add some more alternates?

Thanks.
 
Status
Not open for further replies.