[OpenSIPS-Users] Help with dr_routing outside VoIP network
    Michele Pinassi 
    michele.pinassi at unisi.it
       
    Fri May 30 15:28:16 CEST 2014
    
    
  
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 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opensips.org/pipermail/users/attachments/20140530/933b57e7/attachment.pgp>
    
    
More information about the Users
mailing list