[OpenSIPS-Users] drouting module -- How to use registered gateway as outbound gateway

2017-12-14 Thread Jeffrey Zhao
Dear all We are using drouting module for dialplan routing, for NAT issues, we need to register outbound voice gateway to opensips, instead of fixed static IP. Is there any way to use registered gateway as routing destination? Thanks. ___ Users mailin

Re: [OpenSIPS-Users] drouting module -- How to use registered gateway as outbound gateway

2017-12-15 Thread Bogdan-Andrei Iancu
Hi Jeffrey, To do something like that, you need to have in DR (as gateway) the AOR used by the GW to register with. And after you do do_routing() you do lookup(location). Now the tricky part is to link them, as Drouting is IP/domain driven while user location is AOR driven. So, in DR use

Re: [OpenSIPS-Users] drouting module -- How to use registered gateway as outbound gateway

2017-12-15 Thread Ben Newlin
Iancu Reply-To: OpenSIPS users mailling list Date: Friday, December 15, 2017 at 11:35 AM To: OpenSIPS users mailling list , Jeffrey Zhao Subject: Re: [OpenSIPS-Users] drouting module -- How to use registered gateway as outbound gateway Hi Jeffrey, To do something like that, you need to have