Re: [OpenSIPS-Users] add gateway a sip trunk

2018-04-19 Thread John Quick
Hello John,

You should take a look at the REGISTRANT module. This will allow your
OpenSIPS Proxy to register with the provider.
That should allow the provider to send calls to OpenSIPS.

For calls going in the other direction (OpenSIPS to provider) there could be
a problem. It depends if your provider will accept calls based solely on
their source IP address.
If your provider demands call-by-call authentication - username and password
- then OpenSIPS may not be the best choice.
FreeSwitch would be better able to deal with authentication challenges. It
could be used in conjunction with OpenSIPS, depending on overall
requirements.

OpenSIPS  -->  FreeSwitch  -->  Provider

OpenSIPS has a module for authentication - UAC_AUTH - but I have never been
able to make it work because it messes up the CSeq index sequence.

The Dynamic Routing module is great for distributing calls to various
providers based on number prefix, gateway availability, pre-defined rules
etc. However, it assumes the remote gateways will accept INVITE requests
without challenging for username/password authentication. Authentication is
normally based on IP address alone for this type of connection.

John Quick
Smartvox Limited
Web: www.smartvox.co.uk



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] add gateway a sip trunk

2018-04-18 Thread John Tuxies
Hi. i have sip accounts in different providers and i would like to add it
to my system as a sip trunk.
I am running a debian 8.9 with opensips and control panel. the trunk
requires a username/passwd and a domain to register. how do i add that in
opensips, please?

In the opensips-cp there under dynaminc routing there is a section to add a
gateway. But there isn't any place to add username/passwd.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users