[SR-Users] New functionality LCR + force_send_socket() - sanity check

Ernest Mavrel ernest.mavrel at novatel.si
Mon Jun 28 07:55:12 CEST 2010


Hello

I use same scenario as Geoffrey. But I have problem with 
force_send_socket() in failure_route[1].
If is first gw online, then everything is ok, force send socket work. 
But when first gw is offline and lcr try second gw, then message go 
trough socket which is called on first gw. I am using kamailio 1.4.2. Is 
this a bug?

Thank you


Ernest

On 27. 06. 2010 19:29, Juha Heinanen wrote:
> Geoffrey Mina writes:
>
>    
>> 1 - to_gw_grp("1").  How would I ensure that subsequent in-dialog requests
>> are sent from the same socket as the original INVITE to my ITSP.
>>
>> Asterisk -->  INVITE -->  KAMAILIO -->
>> (next_gw()/to_gw_grp("1")/force_send_socket() -->  INVITE -->  ITSP
>> Asterisk -->  BYE -->  KAMAILIO -->  (if(loose_route(){t_relay();}) -- BYE -->
>> ITSP
>>
>> How would I call the to_gw_grp("1") in this scenario?  Would I just call it
>> after calling loose_route(), but before calling t_relay()?
>>      
> yes (i think inaki already replied to this).  another possibility might
> be to store the socket info in r-r header of initial request.
>
> -- juha
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>    


-- 

  <http://novatel.si/>

Ernest Mavrel
technical support

Novatel d.o.o.
informacijske tehnologije
Mariborska 88, SI - 3000 Celje

tel:*+386 (0)82 800 823
*fax:*+386 (0)82 800 821
*mobile:+386 (0)51 436 453
e-mail:ernest.mavrel at novatel.si  <mailto:ernest.mavrel at novatel.si>  




More information about the sr-users mailing list