Hello Rafael,

I took a very quick look at your conifguration and noticed that you have commented out the "nat_flag" line. This setting is documented here: http://www.openser.org/docs/modules/1.1.x/registrar.html#AEN103 I believe that you should, at a minimum, uncomment this line.

# modparam("registrar", "nat_flag", 6)

Your configuration looks as though it is based on information from the iptel.org site. I would suggest that you also review the NAT example configuration from the onsip.org site. The onsip.org configurations are a little more current. The nice part of the onsip.org configurations is that they are provided with line-by-line explanations.

Regards,
Norm


Rafael R. GV wrote:

Hi
thank you!, now i am using Openser, it was easy to move from ser, just some minor changes like 'break' to 'return' etc, my nathelper implementation is based on a ser example and it works very well, just made some minor changes to set flag 6 and flag 7 to 'Register' and 'Invites' when 'nat_uac_test("19")' in order to try Tavis code snippet, in my tests there is no audio when reset flag 6 and 7 after detected the two clients behind the same NAT and can't hungup or cancel calls properly, please someone see my cfg attached and send some advice, what I am missing?

thanks
rafael



On 12/7/05, *Norman Brandinger* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi Rafael,

    You would use the "example code snippet" when you want to decide
    whether
    or not to use rtpproxy or mediaproxy based on the fact that both the
    caller and the callee are behind the same NAT device.  Please
    review the
    mailing lists as this topic has been discussed many times.

    I added some additional comments in regard to the setting of flags
    2 and
    3 in the posted example at:
    http://openser.org/dokuwiki/doku.php?id=avp_examples

    Generally, I have found that if OpenSER fails to start with an error
    indicating that the function can't be found, it's time to find the
    correct module to add.

    In response to your last question "etc." I suggest that you review the
    three web sites: openser.org <http://openser.org>, iptel.org
    <http://iptel.org> and onsip.org <http://onsip.org>.  The last one has
    some really great material that explains alot.

    Regards,
    Norm


    Rafael R. GV wrote:
    > Hi
    > I am using nathelper/rtpproxy in ser , please see my ser.cfg
    attached
    > and tell me where do I have to use this code snippet?  where did you
    > set flags 2 and 3?, what other modules I need?, etc.
    >
    > thank you
    > Rafael
    > Lima-Peru
    >


------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/199 - Release Date: 12/13/2005



_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to