Hi Wadii,

The fact you are registering against a trunk provider does NOT impact how you send the call to them (registration is mainly for RECEIVING calls, and probably in this case a kind of auth method). So, if you registered against provide.com SIP URI, you should send the calls to the same SIP URI.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 11/20/22 1:42 PM, Wadii ELMAJDI | Evenmedia wrote:
I know i can route calls to any sip uri , i'm just trying to find the most suitable solution.

Its a usecase i never faced before, on which the sip trunk provider requires a registration and also challenging every outbound invite.

Do you confirm it wouldnt be a bad idea running a registration using uac_registrant module. which will allow me to receive calls from the sip provider endpoint.  At the same time add their host/ip as a gateway in order to route outbound calls to this same exact provider using DR module ?

------------------------------------------------------------------------
*De :* Bogdan-Andrei Iancu <bog...@opensips.org>
*Envoyé :* vendredi 18 novembre 2022 11:27
*À :* OpenSIPS users mailling list <users@lists.opensips.org>; Wadii ELMAJDI | Evenmedia <wa...@evenmedia.fr>
*Objet :* Re: [OpenSIPS-Users] relay invites UAC
Hi Wadii,

You can route the call to any SIP URI you want :)

Regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com  <https://www.opensips-solutions.com>
OpenSIPS Bootcamp 5-16 Dec 2022, online
   https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/  
<https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/>
On 11/15/22 10:14 PM, Wadii ELMAJDI | Evenmedia wrote:
Hello Everyone,

I am using opensips as sip proxy, receiving invites from my clients (mostly b2bua), that i should relay to some gateways.
I am using Dynamic route module for such purpose.
Some of those invites (depending on called DID or gateways probing) should be relayed to a sip trunk service provider. My provider requires a registration, which i did using uac registrant module. My question, is it possible to route calls to my sip provider knowing it is neither a Gateway, nor a subscriber ?

Thank you

_______________________________________________
Users mailing list
Users@lists.opensips.org  <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users  
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


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

Reply via email to