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:username@itsp.com.br");
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:jandrade@obelisknet.com.br> jandrade(a)obelisknet.com.br
_____
De: vallimamod abdullah [mailto:vabdulla@gmail.com]
Enviada em: sexta-feira, 16 de março de 2007 07:44
Para: jandrade(a)obelisknet.com.br
Cc: users(a)openser.org
Assunto: Re: help in uac config
Hello Jobson,
On 3/16/07, "Jobson Andrade" <jandrade(a)obelisknet.com.br> 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:username@itsp.com.br <mailto:sip:username@itsp.com.br> ");
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
.