[OpenSIPS-Users] Fwd: Re: Opensips1.7 with MediaProxy

Лытаев Антон Викторович lav at ptcomm.ru
Fri Mar 7 08:55:33 CET 2014


Hi, H.Yavari.
Please give an example of its connection diagrams: UAC-OPENSIPS-MGW...
Show which modules and options you ordered in.cfg?
In your example: "rtpproxy_offer (" ro ");" - that is "ro"?
And as a part of the code:
if ( src_ip==XXXXXXYYYYYYYYY ) {
              route(5);
              exit;
          }
          else {
              if (!(registered("location","$fu"))) {
xlog("Caller:$fu is NOT Registered so NOT AUTHORIZED\n");
sl_send_reply("403", "Forbidden auth ID");
                  exit;
              }
              route(4);
              exit;
         }
here: src_ip - what source: MGW or UAC?
And:
route [4] {
rewritehostport ("XXXXXXXXXX");
route (relay);
}
here: rewritehostport ("XXXXXXXXXX"); - host and port UAC?

06.03.2014 16:59, H Yavari writes :

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140307/6e51f75e/attachment.htm>


More information about the Users mailing list