Hello,
I've some understanding problem on lcr module.
I've this route
route[LCR] {
xlog("L_INFO", "ENTRO IN ROUTE LCR ********************************** \n");
if (!load_gws(1)) {
sl_send_reply("503", "Unable to load gateways");
exit;
} else {
$var(i) = 0;
while(is_avp_set("$(avp(i:709)[$var(i)])")) {
xlog("L_INFO","loading gw_uri_avp[$var(i)]='$(avp(i:709)[$var(i)])'\n");
$var(i) = $var(i) + 1;
avp_print();
};
if(is_avp_set("$avp(i:709)")) {
xlog("L_INFO", "Trying gateway '$avp(i:709)'\n");
} else {
xlog("L_INFO", "No More Gateways \n");
};
# try the first matched gateway
if (next_gw()) {
xlog("L_INFO","ruri_user_avp='$avp(i:500)'\n");
xlog("L_INFO","test ruri_avp_mod='$tu'\n");
#xlog("L_INFO","************************************************************ ****\n");
avp_print();
# Route to failure for failover
#t_on_failure("2");
route(RELAY);
} else {
sl_send_reply("503","No available gateways");
exit;
};
};
exit;
}
And this is what I get:
Apr 27 15:44:44 localhost kamailio[7827]: INFO: <script>: ENTRO IN ROUTE LCR **********************************
Apr 27 15:44:44 localhost kamailio[7827]: INFO: <script>: loading gw_uri_avp[0]='1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1328]: p=0xb60dc5b0, flags=0x0112
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1334]: id=<709>
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1340]: val_str=<1|1|3|774|1171521237|172.16.10.200|5060||1|0 / 45>
Apr 27 15:44:44 localhost kamailio[7827]: INFO: <script>: Trying gateway '1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 15:44:44 localhost kamailio[7827]: INFO: <script>: ruri_user_avp='09711234567'
Apr 27 15:44:44 localhost kamailio[7827]: INFO: <script>: test ruri_avp_mod='sip: 09711234567@voip.myproxy.it'
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1328]: p=0xb60dc624, flags=0x0110
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1334]: id=<712>
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1342]: val_int=<0>
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1328]: p=0xb60dc5b0, flags=0x0112
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1334]: id=<500>
Apr 27 15:44:44 localhost kamailio[7827]: INFO: avpops [avpops_impl.c:1340]: val_str=<09711234567 / 11>
I expected that the lcr module strips 3 numbers from avp(i:500) and adds the prefix 774.
Anyone can explane why it didn't works? The called number never changes in 77409711891234567.
Any help will be appreciated.
Thank you
Danilo
I've some understanding problem on lcr module.
based on info you gave, i cannot say anything. check how your request uri looks like when you call load_gws() and after you have called next_gw() and check how your tables look like. there is no need to inspect the internal avps unless you suspect a bug somewhere.
-- juha
Here you are
gw_uri_avp[0]='1|1|3|774|1171521237|172.16.10.200|5060||1|0' -> what does 1171521237 means? I never entered this value
Kamailio 3.1 installed from rpm on Centos
The modified route
route[LCR] {
xlog("L_WARN", "ENTRO IN ROUTE LCR ********************************** \n");
if (!load_gws(1)) {
sl_send_reply("503", "Unable to load gateways");
exit;
} else {
$var(i) = 0;
while(is_avp_set("$(avp(i:709)[$var(i)])")) {
xlog("L_WARN","loading gw_uri_avp[$var(i)]='$(avp(i:709)[$var(i)])'\n");
$var(i) = $var(i) + 1;
avp_print();
};
if(is_avp_set("$avp(i:709)")) {
xlog("L_WARN", "Trying gateway '$avp(i:709)'\n");
} else {
xlog("L_WARN", "No More Gateways \n");
};
# try the first matched gateway
if (next_gw()) {
xlog("L_WARN","ruri_user_avp='$avp(i:500)'\n");
xlog("L_WARN","test ruri_avp='$ru'\n");
xlog("L_WARN", "$tu in next_gw() call route(LCR)='$tu' \n");
# Route to failure for failover
#t_on_failure("2");
route(RELAY);
} else {
sl_send_reply("503","No available gateways");
exit;
};
};
exit;
}
The result
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: ENTRO IN PSTN **********************************
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: $tu before call route(LCR)='sip:09711234567@voip.myproxy.it'
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: ENTRO IN ROUTE LCR **********************************
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: loading gw_uri_avp[0]='1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: Trying gateway '1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: ruri_user_avp='09711234567'
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: test ruri_avp='sip: 09711234567@172.16.10.200'
Apr 27 16:34:14 localhost kamailio[8725]: WARNING: <script>: $tu in next_gw() call route(LCR)='sip:09711234567@voip.alida.it'
Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: mercoledì 27 aprile 2011 14:31 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] lcr module: strip and tag
I've some understanding problem on lcr module.
based on info you gave, i cannot say anything. check how your request
uri looks like when you call load_gws() and after you have called
next_gw() and check how your tables look like. there is no need to
inspect the internal avps unless you suspect a bug somewhere.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thanks for your replies
Here you are Juha
xlog("L_WARN", "ENTRO IN ROUTE LCR ********************************** \n");
xlog("L_WARN","test before call load_gws() ruri='$ru'\n");
if (!load_gws(1)) {
. . .
. . .
if (next_gw()) {
xlog("L_WARN","ruri_user_avp='$avp(i:500)'\n");
xlog("L_WARN","test ruri_avp='$ru'\n");
xlog("L_WARN", "$tu in next_gw() call route(LCR)='$tu' \n");
and this is what I get
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: ENTRO IN ROUTE LCR **********************************
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: test before call load_gws() ruri='sip:09711234567@voip.myproxy.it'
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: loading gw_uri_avp[0]='1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: Trying gateway '1|1|3|774|1171521237|172.16.10.200|5060||1|0'
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: ruri_user_avp='09711234567'
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: test ruri_avp='sip:09711234567@172.16.10.200'
Apr 27 17:02:19 localhost kamailio[9135]: WARNING: <script>: $tu in next_gw() call route(LCR)='sip:09711234567@voip.myproxy.it'
Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: mercoledì 27 aprile 2011 15:03 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Here you are
no, i asked you to check request uri before calling load_gws() and check
how your tables look like.
-- juha
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I'm sorry... which tables?
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: mercoledì 27 aprile 2011 15:28 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Thanks for your replies
Here you are Juha
no, you have not yet shown your tables and i'll offline for the next 24 hours or so.
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
LCR tables, of course: http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2551334 http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2499833 http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2501638
Regards, Ovidiu Sas
On Wed, Apr 27, 2011 at 11:28 AM, Alida - Danilo SMALDONE dsmaldone@alida.it wrote:
I'm sorry... which tables?
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: mercoledì 27 aprile 2011 15:28 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Thanks for your replies
Here you are Juha
no, you have not yet shown your tables and i'll offline for the next 24 hours or so.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Thanks Ovidiu
lcr_rule_target
id lcr_id rule_id gw_id priority weight
1 1 2 1 1 1
lcr_rule
id lcr_id prefix from_uri stopper enabled
2 1 0971 - 1 1
lcr_gw
id lcr_id gw_name ip_addr hostname port params uri_scheme transport strip tag flags defunct
1 1 ALIDA 172.16.10.200 172.16.10.200 5060 - 1 1 3 774 0 -
These are the tables
Thank you
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Ovidiu Sas Inviato: mercoledì 27 aprile 2011 17:34 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - UsersMailing List Oggetto: Re: [SR-Users] R: R: R: lcr module: strip and tag
LCR tables, of course:
http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2551334
http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2499833
http://www.kamailio.org/docs/modules/3.1.x/modules/lcr.html#id2501638
Regards,
Ovidiu Sas
On Wed, Apr 27, 2011 at 11:28 AM, Alida - Danilo SMALDONE
dsmaldone@alida.it wrote:
I'm sorry... which tables?
-----Messaggio originale-----
Da: sr-users-bounces@lists.sip-router.org
[mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen
Inviato: mercoledì 27 aprile 2011 15:28
A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users
Mailing List
Oggetto: [SR-Users] R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Thanks for your replies
Here you are Juha
no, you have not yet shown your tables and i'll offline for the next 24
hours or so.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
i looked the tables and according to them request uri user should be 77411234567 when request forwarded. --text follows this line-- however, i don't understand you script:
xlog("L_WARN", "ENTRO IN ROUTE LCR
********************************** \n");
xlog("L_WARN","test before call load_gws() ruri='$ru'\n"); if (!load_gws(1)) { . . . . . . if (next_gw()) {
because according to the above, next_gw() is called only when load_gws(1) call has failed.
i made test using your table contents and lcr module worked as expected:
Apr 29 13:56:41 sip /usr/sbin/sip-proxy[8129]: INFO: INVITE sip:09711234567@test.fi by jh@test.fi as sip:jh@test.fi from <192.98.102.10> is authorized Apr 29 13:56:41 sip /usr/sbin/sip-proxy[8129]: INFO: Routing INVITE sip:77411234567@192.98.102.10 to PSTN
-- juha
I'm getting very confused!
Could you please send a simple script with load_gws() and next_gw() working? I've tried but I'll never seen working strip and tag
Thank you for your kindness Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: venerdì 29 aprile 2011 13:01 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: lcr module: strip and tag
i looked the tables and according to them request uri user should be 77411234567 when request forwarded. --text follows this line-- however, i don't understand you script:
xlog("L_WARN", "ENTRO IN ROUTE LCR
********************************** \n");
xlog("L_WARN","test before call load_gws() ruri='$ru'\n"); if (!load_gws(1)) { . . . . . . if (next_gw()) {
because according to the above, next_gw() is called only when load_gws(1) call has failed.
i made test using your table contents and lcr module worked as expected:
Apr 29 13:56:41 sip /usr/sbin/sip-proxy[8129]: INFO: INVITE sip:09711234567@test.fi by jh@test.fi as sip:jh@test.fi from <192.98.102.10> is authorized Apr 29 13:56:41 sip /usr/sbin/sip-proxy[8129]: INFO: Routing INVITE sip:77411234567@192.98.102.10 to PSTN
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Alida - Danilo SMALDONE writes:
Could you please send a simple script with load_gws() and next_gw() working? I've tried but I'll never seen working strip and tag
for example:
if (!load_gws("1")) { xlog("L_ERR", "Cannot load gws for $rm <$ru>\n"); send_reply("500", "Server Internal Error - Cannot load gateways"); exit; };
if (!next_gw()) { xlog("L_WARN", "No gateways for $rm <$ru>\n"); send_reply("503", "Service not available - No gateways"); exit; };
if (t_relay()) exit;
-- juha
Thanks juha I will try and send you a feedback
Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: venerdì 29 aprile 2011 17:14 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Could you please send a simple script with load_gws() and next_gw()
working?
I've tried but I'll never seen working strip and tag
for example:
if (!load_gws("1")) { xlog("L_ERR", "Cannot load gws for $rm <$ru>\n"); send_reply("500", "Server Internal Error - Cannot load gateways"); exit; };
if (!next_gw()) { xlog("L_WARN", "No gateways for $rm <$ru>\n"); send_reply("503", "Service not available - No gateways"); exit; };
if (t_relay()) exit;
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hi Juha, I've tried and tested, but I don't under stand why I have to force $tu in this way to make the routing to external gateway works:
route[LCR1]{ if (!load_gws("1")) { xlog("L_ERR", "Cannot load gws for $rm <$ru>\n"); send_reply("500", "Server Internal Error - Cannot load gateways"); exit; };
if (!next_gw()) { xlog("L_WARN", "No gateways for $rm <$ru>\n"); send_reply("503", "Service not available - No gateways"); exit; };
$tu="sip:" + $rU + "@" + $od; route(RELAY); }
route[RELAY] { #!ifdef WITH_NAT if (check_route_param("nat=yes")) { setbflag(FLB_NATB); } if (isflagset(FLT_NATS) || isbflagset(FLB_NATB)) { route(RTPPROXY); } #!endif
/* example how to enable some additional event routes */ if (is_method("INVITE")) { #t_on_branch("BRANCH_ONE"); t_on_reply("REPLY_ONE"); t_on_failure("FAIL_ONE"); } if (!t_relay()) { sl_reply_error(); } exit; }
If I delete $tu="sip:" + $rU + "@" + $od; the call to outbound gateway fails. Any suggestion?
Thank you Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: venerdì 29 aprile 2011 17:14 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
Could you please send a simple script with load_gws() and next_gw()
working?
I've tried but I'll never seen working strip and tag
for example:
if (!load_gws("1")) { xlog("L_ERR", "Cannot load gws for $rm <$ru>\n"); send_reply("500", "Server Internal Error - Cannot load gateways"); exit; };
if (!next_gw()) { xlog("L_WARN", "No gateways for $rm <$ru>\n"); send_reply("503", "Service not available - No gateways"); exit; };
if (t_relay()) exit;
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
I'm sorry for boring you Juha and others, but I really can't find an explanation to this.
The only difference in the Basic Scripting is based on the $tu=$ru statement in the LCR1
I attached you 2 debug files, one with the statement $tu=$ru and one without...it seems there is some hidden place where $tu is changed... ...I'm developing My last work at the University and this is my worst stop at the moment.
Please, if I have to pay for support...no problem!
With many thanks Danilo
route[PSTN] { # check if PSTN GW IP is defined xlog("L_WARN", "ENTRO IN PSTN ********************************** \n");
if (strempty($sel(cfg_get.pstn.gw_ip))) { xlog("SCRIPT: PSTN rotuing enabled but pstn.gw_ip not defined\n"); return; }
# route to PSTN dialed numbers starting with '+' or '00' # (international format) # - update the condition to match your dialing rules for PSTN routing if(!($rU=~"^(+|0|3|77)[1-9][0-9]{3,20}$")){ return; }
# only local users allowed to call if(from_uri!=myself) { xlog("L_WARN", "external call\n"); sl_send_reply("403", "Not Allowed"); exit; }
xlog("L_WARN", "tu before call route LCR='$tu' \n"); route(LCR1);
xlog("L_WARN", "PASSO AL GATEWAY STATICO ********************************** \n"); #$ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip);
xlog("L_WARN", "tu after call route LCR='$tu' \n"); xlog("L_WARN", "ESCO DA PSTN ********************************** \n");
route(RELAY); exit; xlog("L_WARN", "tu after route RELAY in route PSTN\n");
return; }
route[LCR1]{ if (!load_gws("1")) { xlog("L_ERR", "Cannot load gws for $rm <$ru>\n"); send_reply("500", "Server Internal Error - Cannot load gateways"); exit; };
if (!next_gw()) { xlog("L_WARN", "No gateways for $rm <$ru>\n"); send_reply("503", "Service not available - No gateways"); exit; };
xlog("L_WARN","3 ruri_user_avp='$avp(i:500)'\n"); xlog("L_WARN","3 test ruri_avp='$ru'\n"); xlog("L_WARN","3 test rUri_avp='$rU'\n"); xlog("L_WARN", "3 tu in next_gw call route LCR='$tu' \n"); >>>>> $tu=$ru; <<<<<< xlog("L_WARN", "4 dd dopo next_gw call route LCR='$dd' \n"); xlog("L_WARN", "4 du dopo next_gw call route LCR='$du' \n"); xlog("L_WARN", "4 fd dopo next_gw call route LCR='$fd' \n"); xlog("L_WARN", "4 fu dopo next_gw call route LCR='$fu' \n"); xlog("L_WARN", "4 od dopo next_gw call route LCR='$od' \n"); xlog("L_WARN", "4 rd dopo next_gw call route LCR='$rd' \n"); xlog("L_WARN", "4 ru dopo next_gw call route LCR='$ru' \n"); xlog("L_WARN", "4 td dopo next_gw call route LCR='$td' \n"); xlog("L_WARN", "4 tu dopo next_gw call route LCR='$tu' \n"); return; }
Danilo
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: lunedì 2 maggio 2011 22:48 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
If I delete $tu="sip:" + $rU + "@" + $od; the call to outbound gateway fails.
Any suggestion?
sorry, i don't have any suggestions. lcr module does not use To URI for anything.
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Alida - Danilo SMALDONE writes:
The only difference in the Basic Scripting is based on the $tu=$ru statement in the LCR1
as i said, lcr module nor t_relay() have nothing to do with To uri. thus unless there is a serious bug somewhere, changing To uri cannot have any effect to operation of lcr or tm module.
-- juha
Thank you Juha
" lcr module nor t_relay() have nothing to do with To uri" now it's all clear.
-----Messaggio originale----- Da: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] Per conto di Juha Heinanen Inviato: mercoledì 4 maggio 2011 18:03 A: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -Users Mailing List Oggetto: [SR-Users] R: R: R: R: R: lcr module: strip and tag
Alida - Danilo SMALDONE writes:
The only difference in the Basic Scripting is based on the $tu=$ru
statement
in the LCR1
as i said, lcr module nor t_relay() have nothing to do with To uri. thus unless there is a serious bug somewhere, changing To uri cannot have any effect to operation of lcr or tm module.
-- juha
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users