Hi VMA,
I made this configuration but not work, i need send International calls for
my gateway using one identification (username and password) only this more
not work my configuration.
Bellow my configuration:
modparam("uac","credential","username:itsp.com.br:password")
##Send Call For DDI
if (uri=~"^sip:00[1-9][1-9][0-9]*@") {
route(3);
exit;
}
route[3]{
#enviando route to hitconferencing
strip(2);
resetflag(7);
uac_replace_from(""sip:[EMAIL PROTECTED]");
route(1);
exit;
}
where is the error??
Jobson Andrade
Projetos & Desenvolvimento
Obelisk - The Asterisk & VoIP Experts
phone/fax: (11) 2164-4808 ext. 115
cell Phone: (11) 8175-9916 / 8271-0480
email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
_____
De: vallimamod abdullah [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 16 de março de 2007 07:44
Para: [EMAIL PROTECTED]
Cc: [email protected]
Assunto: Re: help in uac config
Hello Jobson,
On 3/16/07, "Jobson Andrade" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I need one help in my configuration using authentication
>
> Bellow is my configuration more not work, i need one help for work this
> configuration
>
> modparam("uac","credential","username:itsp.com.br:password")
>
> ##Send Call For DDI
> if (uri=~"^sip:00[1-9][1-9][0-9]*@") {
> route(3);
> exit;
> }
>
> route[3]{
> #enviando route to hitconferencing
> strip(2);
> uac_replace_from("credential");
> route(1);
> exit;
> }
>
> This is correct?
IMHO, it shoud be, according to your example: uac_replace_from("
sip:[EMAIL PROTECTED] <mailto:sip:[EMAIL PROTECTED]> ");
Here are 2 pointers to interesting documentation and example:
http://www.openser.org/docs/modules/1.2.x/uac.html#AEN174
http://www.voice-system.ro/docs/uac/ar01s06.html
Hope this will help.
--
Regards,
-vma
.
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users