You can use the b2b modules to perform authentication. You will need to load uac_auth first and provision the credentials in the credentials modparam: http://www.opensips.org/html/docs/modules/1.7.x/uac_auth.html#id249026 You need to match the realm from 401 with the realm from modparam.
Regards, Ovidiu Sas -- VoIP Embedded, Inc.http://www.voipembedded.com On Thu, Dec 15, 2011 at 8:24 AM, Arnold Vriezekolk NETZOZEKER B.V. <[email protected]> wrote: > Hi, > > I'm trying to achieve the following scenario: > > SIP Phone <-> OpenSIPS <-> SIP Provider > > From my SIP Phone i want to dial a number, let opensips do the challenge > authentication to the sip provider and get the call connected. > > What i currently have in opensips is an extension '1234' which redirects to > the sip gateway with a mobile number. Whenever i dial 1234 on my sip phone > opensips relays the '401 unauthorized' message from the sip provider back to > my phone, and the phone tries to authenticate itself with the sip provider. > > What i want it to do is let opensips handle the challenge authentication and > connect the call back to my phone. I'm wondering if what i'm looking for is > B2BUA. Could anyone give me a hint if i'm going in the right direction or > that > i maybe need to switch to the B2BUA module? > > Below you will find my opensips.cfg and the siplog of the call. In the > siplog you will see my phone with the username HIJKLMNO. > > Thanks in advance! > > Arnold Vriezekolk _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
