[Users] Send Call using authentication

Jobson Andrade jandrade at obelisknet.com.br
Tue Feb 13 15:27:52 CET 2007


Hi All,

 

I need of send the calls for my ITSP using verification.

 

Ex.: 

 

User          = user_itsp

Passwd     = pass_itsp

SIP Server = itsp.com.br

 

I my configuration I made of this way, more not work.

 

...

 

##Obelisk

                if (uri=~"^sip:00[1-9][1-9][0-9]*@") {

                route(3);

                exit;

}

...

 

route[3]{

#sending route to DDI

        strip(2);

        rewritehostport("itsp.com.br:5060");

        rewriteuser("user_itsp");

        rewriteuserpass("pass_itsp");

        route(1);

        exit;

}

 

...

 

How to made this in openser?

 

I use the openser version 1.0.1

 

Thanks in advanced,

 

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

 

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


More information about the Users mailing list