[OpenSIPS-Users] Database entries for Trunking script?

Răzvan Crainea razvan at opensips.org
Wed Oct 14 15:16:34 EST 2020


Hi, Jack!

Rules have to be added in group 1[1].
You need to add a gateway to host 172.18.0.8. Then you need to add a 
rule with the prefix (2111234567 in your case) and assign it to group 1. 
If you don't have group 1, you can provision it in the settings tab.

[1] 
https://github.com/OpenSIPS/opensips/blob/master/menuconfig/configs/opensips_trunking.m4#L268

Best regards,

Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 10/12/20 7:18 AM, jack krog via Users wrote:
> Bump?
> 
> I still don't understand how drouting needs to be configured for the 
> trunking script to work.
> 
> Are there videos covering the scripts generated by osipsconfig?
> On Thursday, October 1, 2020, 10:02:50 AM MST, jack krog via Users 
> <users at lists.opensips.org> wrote:
> 
> 
> Hello,
> 
> I'm new to opensips coming from a asterisk background.
> 
> I'm trying to learn how things work by using the osipsconfig generated 
> trunking script but I can't find documentation on what database values I 
> need to input to route a call to my PBX.
> 
> The script appears to get to where it runs dp_translate followed by 
> do_routing and then all my test calls get rejected with a No Route Found 
> response.
> 
> /What do I need to put in the control panel to route the DDI number 
> 211-123-4567 to the host 172.18.0.8 using the domain cust0001.pbx ? /
> 
> I've entered my PBX under Dynamic Routing > Gateways but don't know if I 
> need to create a Group?
> 
> If I want to pass the number through without changing it do I need to 
> use dialplan? Is that where I need to point my DID to my PBX?
> 
> Thank you for your time.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 



More information about the Users mailing list