403 Call_Rejected - roll over to second gateway

Status
Not open for further replies.
Feb 18, 2017
44
7
8
63
Hi Wizards!

May I please get some help configuring a second gateway? I am getting infrequent 403 errors (CALL_REJECTED).

I would like to route the call out of a second gateway.

Here's my XML:
<extension name="TEST" continue="false" uuid="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
<condition field="destination_number" expression="^\+?(\d{11})$">
<action application="set" data="sip_h_X-accountcode=${accountcode}"/>
<action application="set" data="call_direction=outbound"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
<action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<action application="set" data="inherit_codec=true"/>
<action application="set" data="ignore_display_updates=true"/>
<action application="set" data="callee_id_number=$1"/>
<action application="set" data="continue_on_fail=CALL_REJECTED"/>
<action application="bridge" data="sofia/gateway/1111111111111111111111111111111111111111/$1"/>
<action application="bridge" data="sofia/gateway/2222222222222222222222222222222222222222/$1"/>
</condition>
</extension>


What am I missing here? Probably something obvious...

TIA,
Scott
 
Status
Not open for further replies.