Hello,
I need to check where is send the frame to the next server, I need to do something like:
ds_select_dst("1","0");
xlog("L_ERR", " methode <$rm> ruri:$ruri ru:$ru\n");
forward();
exit;
I want to log to next server! How to do?
Thank you
Cordialement
BERGANZ François
http://www.acropolistelecom.net
TEL/FAX : 33 (0) 1 70 72 50 15
El Wednesday 10 September 2008 15:49:17 Klaus Darilion escribió:
BERGANZ François schrieb:
Hello,
I need to check where is send the frame to the next server, I need to do something like:
ds_select_dst("1","0");
^^^^ sets the destination URI ($du). use:
xlog("L_ERR", "$rm: $$ru=$ru, $$du=$du\n");
Other option is using "ds_next_domain()" that modifies the hostpart of the RURI so ti will be visible by reading $ru.
Berganz: I recommend you reading about the $du variable in the Kamailio wiki. This variable sets the *real* destination of the message **without** changing the RURI.