[SR-Users] Dispatcher variables

Henning Westerholt henning.westerholt at 1und1.de
Mon May 30 14:44:29 CEST 2011


On Friday 27 May 2011, Lee Archer wrote:
> Hi all, I am using dispatcher and on a failure I would like to log the
> server that has failed.  I am using $dd but this only ever returns the
> address of the first server that was tried and not any subsequent servers
> that were tried and also failed.  What should I be using to display the IP
> address of the server dispatcher is about to use? Thanks

Hi Lee,

I've no big experience with the dispatcher module, but have you tried to log 
this in the failure_route block of your configuration, e.g. with:

http://sip-router.org/wiki/cookbooks/pseudo-variables/devel#t_rpl_pv

Best regards,

Henning



More information about the sr-users mailing list