[OpenSER-Users-ES] strip no funciona?

Iñaki Baz Castillo ibc at aliax.net
Fri Feb 1 21:07:46 CET 2008


2008/2/1, David Villasmil <david.villasmil.work at gmail.com>:
> Alguien sabe porqué el strip() no hace su trabajo??
>
> tengo esta ruta:
>
> route[8] {
>      #         DO NOT AUTHORIZE YET.... AND ROUTE CALL
>      xlog("L_ERR", "\n************** $ou ***********\n");
>      xlog("L_ERR", "\n************** Changing dialed number (Removing 8888)
> **************\n");
>       strip(4);
>      xlog("L_ERR", "\n************** $ou ***********\n");
>
>      if (!lookup("location")) {
>           sl_send_reply("404", "Not Found");
>            exit;
>      };
>
>
>
> y no hace el stripping!... log:
>
> ************** SOURCE IP: 200.198.182.202 ***********
> ************** sip:88887059999 at 200.198.182.203 ***********
> ************** Changing dialed number (Removing 8888) **************
>  ************** sip:88887059999 at 200.198.182.203 ***********
>
>
> muchas gracias... esto me está volviendo loco...

$ou  - reference to request's original URI

"Original" significa que es la original, la URI que llega
inicialmente. Lo que tú estás cambiando es la $ru.
-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Users-es mailing list