[OpenSIPS-Users] Help with dr_routing outside VoIP network
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Jun 4 14:04:39 CEST 2014
Hi Michele,
What exactly do you mean by "i'm not able to forward correctly packets
"- what is the exact problem you are facing ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 30.05.2014 16:28, Michele Pinassi wrote:
> Hi all,
>
> this is my context:
>
> VoIP NET 172.20.x.x
> VoIP ROUTER 172.20.1.2
> External NET 200.200.200.x
>
> I use dr_route module to do dynamic routing:
>
> main() {
>
> [...]
> if($avp(dest)=="trunkmed") {
> route(trunkmed);
> }
>
> if($avp(dest)=="external") {
> route(pstn);
> }
>
> if($avp(dest)=="media") {
> route(mediabox);
>
> [...]
> }
>
>
> route[trunkmed] {
> xlog("L_INFO","Route TRUNK MEDICINA [$fd/$fu/$rd/$ru/$si/]\n");
>
> if(route_to_carrier("trunkmed")) {
> t_on_failure("next_gw");
> t_relay();
> exit;
> }
>
> }
>
> "trunkmed" gw is outside VoIP network (200.200.200.2) and i'm not able
> to forward correctly packets from VoIP devices to trunkmed GW: maybe i
> have to nat/fix it ?
>
> Any hint ?
>
> Thanks, Michele
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140604/03b4d260/attachment.htm>
More information about the Users
mailing list