[Serusers] 答复: sip register problem SER behind NAT

WANG Zhenzhong wangzz at avonaco.com
Fri Dec 19 08:15:36 CET 2008


Thank you very much£¡ Friend!

It is big help for me!

 

 

 

 

ÍõÕñÖÐ wangzz

°¬ÅµÍ¨ÐÅϵͳ£¨ËÕÖÝ£©ÓÐÏÞÔðÈι«Ë¾

ËÕÖݹ¤ÒµÔ°Çø¹ú¼Ê¿Æ¼¼Ô°Ò»ÆÚ203A

wangzz at avonaco.com

============================================

 

 

 

 

 

 

  _____  

·¢¼þÈË: Allan Chao ( ÚwÍ¢î£ ) [mailto:AllanChao at taiwanmobile.com] 
·¢ËÍʱ¼ä: 2008Äê12ÔÂ19ÈÕ 13:55
ÊÕ¼þÈË: WANG Zhenzhong; serusers at lists.iptel.org
Ö÷Ìâ: RE: [Serusers] sip register problem SER behind NAT

 

For example: 

debug=3         # debug level (cmd line: -dddddddddd)

fork=yes

log_stderror=yes  # (cmd line: -E)

log_facility=LOG_LOCAL0

 

listen=eth1:5060

listen=eth0:5060

 

children=2

check_via=no      # (cmd. line: -v)

dns=off           # (cmd. line: -r)

rev_dns=off       # (cmd. line: -R)

port=5060

alias=".your ip address"

 

#module loading

XXXX

#module setting

XXXX

#################################

route

{

if (uri==myself) 

{                    

                     if (method=="REGISTER") 

                     {         

                                save("location");

                                exit;

                     };        

}

}

SER will see your alias in the ¡°uri==myself ¡°  or anther way is blanked
out this line to let SER do not check your domain

Ps :  you can refer
http://www.opensips.org/index.php?n=Resources.Documentation  ,  it is like
SER and there are  some  instructions

  _____  

From: WANG Zhenzhong [mailto:wangzz at avonaco.com] 
Sent: Friday, December 19, 2008 11:39 AM
To: Allan Chao ( ÚwÍ¢î£ ); serusers at lists.iptel.org
Subject: µªÎ`: [Serusers] sip register problem SER behind NAT

 

Thank you very much.

But how set the alias.

Can you give me example of ser.cfg.

 

Thanks.

 

ÍõÕñÖÐ wangzz

°¬ÅµÍ¨ÐÅϵͳ£¨ËÕÖÝ£©ÓÐÏÞÔðÈι«Ë¾

ËÕÖݹ¤ÒµÔ°Çø¹ú¼Ê¿Æ¼¼Ô°Ò»ÆÚ203A

wangzz at avonaco.com

============================================

 

 

 

 

 

 

  _____  

·¢¼þÈË: Allan Chao ( ÚwÍ¢î£ ) [mailto:AllanChao at taiwanmobile.com] 
·¢ËÍʱ¼ä: 2008Äê12ÔÂ19ÈÕ 10:50
ÊÕ¼þÈË: WANG Zhenzhong; serusers at lists.iptel.org
Ö÷Ìâ: RE: [Serusers] sip register problem SER behind NAT

 

This is because SER can¡¯t understand this IP, Maybe you can set alias to
122.194.106.139 in ser.cfg and try again

 

BR,

Allan

  _____  

From: serusers-bounces at lists.iptel.org [mailto:serusers-bounces at lists.iptel.
org] On Behalf Of WANG Zhenzhong
Sent: Friday, December 19, 2008 10:28 AM
To: serusers at lists.iptel.org
Subject: [Serusers] sip register problem SER behind NAT

 

I set the SER behind a NAT.

The SER¡¯s private IP is 192.168.9.88

The NAT¡¯s public IP is 122.194.106.139

 

I use the eyebeam to register to SER from internet via the NAT address.

 

But when the SER receive the register message, it find the
IP(122.194.106.139) in ¡°To¡± & ¡°from¡± line is different from the local
IP(192.168.9.88),

So the SER forward the register message and the register is failed.

 

How solve this problem. Thanks.

 

 

 

ÍõÕñÖÐ wangzz

°¬ÅµÍ¨ÐÅϵͳ£¨ËÕÖÝ£©ÓÐÏÞÔðÈι«Ë¾

ËÕÖݹ¤ÒµÔ°Çø¹ú¼Ê¿Æ¼¼Ô°Ò»ÆÚ203A

wangzz at avonaco.com

============================================

 

 

 

 

 

 

 

DISCLAIMER:
This message (and any attachments) may contain information that is
confidential, proprietary, privileged or otherwise protected by law. The
message is intended solely for the named addressee (or a person responsible
for delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain, copy or
disseminate this message or any part of it. If you have received this
message in error, please destroy the message or delete it from your system
immediately and notify the sender.

DISCLAIMER:
This message (and any attachments) may contain information that is
confidential, proprietary, privileged or otherwise protected by law. The
message is intended solely for the named addressee (or a person responsible
for delivering it to the addressee). If you are not the intended recipient
of this message, you are not authorized to read, print, retain, copy or
disseminate this message or any part of it. If you have received this
message in error, please destroy the message or delete it from your system
immediately and notify the sender.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20081219/d1b27ae7/attachment.htm>


More information about the sr-users mailing list