Re: [OpenSIPS-Users] Help with dr_routing outside VoIP network
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@lists.opensips.org 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
[OpenSIPS-Users] Help with dr_routing outside VoIP network
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 -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)2169 - fax: 0577.(23)2053 Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, http://www.faq.unisi.it signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users