Hi Aatif,

Take a look at the uac_auth module - this module implements the UAC authentication logic in OpenSIPS. If you want to do the auth from script, use it with uac module (see the uac_auth() function from the module). With B2B, it should work automatically, just be sure you populate in uac_auth module the right credentials.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Summit 2019
  https://www.opensips.org/events/Summit-2019Amsterdam/

On 12/13/2018 02:03 PM, Aatif Shaikh wrote:


      Aatif Shaikh <[email protected]
      <mailto:[email protected]>>

        
Attachments5:27 PM (5 minutes ago)
        
        
to users

Dear Team,

we need to used Opensips as B2BUA. With the help of *registrant* we are able to register with Gateway and now we want the below call scenario to achieve with B2BUA. 1) Any user(Not register with Opensip) from another IPPBX (Asterisk) make a call to Opensips.
2) We authenticate this user as per IPPBX IP address.
3) Then we make a call to Gateway from Opensips after modifying From User $fU, which is already register with Gateway via registrant.
4) Gateway reply back 407.

We need to resolve this 407 with authentication but we don't have any more details how to do it with Opensips.Please provide suggestions for this.


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to