[OpenSER-Users-ES] strip no funciona?

David Villasmil david.villasmil.work at gmail.com
Fri Feb 1 21:15:20 CET 2008


si, cierto. pero igual no lo hace

On Feb 1, 2008 9:07 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> 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>
> _______________________________________________
> Users-es mailing list
> Users-es at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users-es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/sr-users-es/attachments/20080201/79ca9d9d/attachment-0002.htm 


More information about the Users-es mailing list