[Users] How to use forward command with script variables?

Noel R. Morais noel at voicetechnology.com.br
Wed May 9 16:43:30 CEST 2007


Hi Daniel,

Did worked fine.

Thanks a lot.

Noel

On 5/9/07, Daniel-Constantin Mierla <daniel at voice-system.ro> wrote:
> Hello,
>
> try
>
> $duri = "sip:192.168.192.100";
> forward();
>
> Cheers,
> Daniel
>
>
> On 05/08/07 21:51, Noel R. Morais wrote:
> > Hi All,
> >
> > I am trying to do something like this:
> >
> > route[1] {
> >            $var(forwardTo) = "192.168.192.100";
> >            forward($var(forwardTo));
> >            exit;
> > }
> >
> >
> > But it do not work.
> >
> > you know a way to do it?
> >
> >
> > Thanks
> >
> > Noel
> >
> > _______________________________________________
> > Users mailing list
> > Users at openser.org
> > http://openser.org/cgi-bin/mailman/listinfo/users
> >
>




More information about the Users mailing list