[SR-Users] continue processing route script if no response from gateway

JR Richardson jmr.richardson at gmail.com
Thu May 27 16:43:18 CEST 2010


On Thu, May 27, 2010 at 4:38 AM, Henning Westerholt
<henning.westerholt at 1und1.de> wrote:
> On Thursday 27 May 2010, JR Richardson wrote:
>> I am lab testing carrierroute modue on kamailio 1.5.4-notls
>> (i386/linux) and have a question on how to continue processing a call
>> if kamailio sends a call with t_relay() but does not get a response
>> from the gateway.
>>
>> I read about the timers in the tm module and set them pretty low in
>> the config file:
>>
>> # ----- tm params -----
>> modparam("tm", "fr_timer", 2)
>> modparam("tm", "fr_inv_timer_next", 3)
>>
>> But nothing happens in the routing script after an invite is sent and
>> there is no response.  Debug just shows the invite to the gateway
>> being re-transmited several times.
>
> Hi JR,
>
> i assume according your description that the GW in question don't send a
> provisional response. Then the tm module should generate a internal 408 after
> fr_timer interval which you could then catch in a failure_route. Do you armed
> the appropriate failure_route in your cfg?
>
> Cheers,
>
> Henning
>
Hi Henning,

Yes, the gateway is totally off-line so no response comes back.  I do
have failure_route in the config.  This is related to another active
post from me "Carrierroute failover domain not working" so I'm sure
this is a redundant post, but your input is appreciated.

The pastebin has my kamailio.cfg, the kamailio debug trace and the
error received by sipp and the ngrep capture.

http://pastebin.com/VQziKYjE

Thanks.

JR
-- 
JR Richardson
Engineering for the Masses



More information about the sr-users mailing list