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