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-boun...@lists.sip-router.org [mailto:sr-users-boun...@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:09711234...@test.fi> by <j...@test.fi> as <sip:j...@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 _______________________________________________ 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