[Users] RES: help in uac config

Jobson Andrade jandrade at obelisknet.com.br
Fri Mar 16 17:01:08 CET 2007


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 at 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 at obelisknet.com.br> jandrade at obelisknet.com.br

  _____  

De: vallimamod abdullah [mailto:vabdulla at gmail.com] 
Enviada em: sexta-feira, 16 de março de 2007 07:44
Para: jandrade at obelisknet.com.br
Cc: users at openser.org
Assunto: Re: help in uac config

 

Hello Jobson,

On 3/16/07,  "Jobson Andrade" <jandrade at 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 at itsp.com.br <mailto:sip:username at 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
.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070316/894432fe/attachment.htm 


More information about the Users mailing list