[SR-Users] Match ip source of response into failure_route

Henning Westerholt henning.westerholt at 1und1.de
Fri Jun 4 16:36:04 CEST 2010


On Friday 04 June 2010, inge wrote:
> [..]
> The goal, is to prevent a 503 from a PSTN gateway and try another one
> for terminating the call.
> 
> But, I realize that "src_ip" is the IP source of SIP Request.
> 
> What could be a possible way to match IP source of the 503 responses ?

Hi inge,

have you tried the T_rpl(..) PV? 
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x#t_rpl_pv

If you use 3.0 you need to load the tmx module to be able to access this PV.

Regards,

Henning



More information about the sr-users mailing list