Use the dialplan module for this.. it's *great* :)-Brett
On Thu, Jun 11, 2009 at 7:52 AM, Eli Hayun <[email protected]> wrote: > Hi > I am trying to add my dial plan and I did the following: > > [ > > $var(dp_local) = "^sip:9.{3}@"; > > if(uri=~$var(dp_local)) { > ... act as a local call > } > > ] > > I am getting a syntax error because the sip parser expect to get a > string . I do not want to use hard-code string. Is there a way to do > what I want? > > Best regards > > Eli > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
