[Serusers] bridging SER peering other Sip Servers

Joao Pereira joao.pereira at fccn.pt
Fri Oct 28 13:42:50 CEST 2005


Hello to all,
I have my SER in bridging mode (with two IPs in two non routable 
networks), with rtpproxy and nathelper:
 rtpproxy -l 10.0.0.135/193.136.2.205

And the clients in the private and public networks can speak each other 
with no problems.

But in the calls from the private network to external SERs (for example: 
user at iptel.org), the speech only passes one way (from my private 
IPclient to the user at iptel.org)

Can someone tell me what could be the problem?


These are my routing lines:

     if (lookup("interno")) {
       if (dst_ip == 10.0.0.135){
           if (force_rtp_proxy("FAII"))
             t_on_reply("1");
       }
       if (dst_ip == 193.136.2.205){
           if (force_rtp_proxy("FAEI"))
           t_on_reply("1");
       }
      } else if (lookup("externo")) {
       if (dst_ip == 10.0.0.135){
             if (force_rtp_proxy("FAIE"))
           t_on_reply("1");
       }
       if (dst_ip == 193.136.2.205){
         if (force_rtp_proxy("FAEE"))
           t_on_reply("1");
       }
     } else {
           sl_send_reply("403", "Utilizador nao Encontrado");
       break;
     };

(....)

Thats my external routing section:

     if( !uri=~"@fccn.pt"){
     
        if (!method=="REGISTER")

           # internal IPs must use RTP proxy to call user at iptel.org
           if (dst_ip == 10.0.0.135){
             if (force_rtp_proxy("FAIE"))
             t_on_reply("1");
             route(1);
             break;
           }
          record_route();
          t_on_reply("3");
          t_relay();
        break;  
      }        

(....)

onreply_route[1] {
            if (!(status=~"183" || status=~"200"))
                break;
           force_rtp_proxy("FA");

}







More information about the sr-users mailing list