Thank you very much Friend!

It is big help for me!

 

 

 

 

王振中 wangzz

艾诺通信系统(苏州)有限责任公司

苏州工业园区国际科技园一期203A

wangzz@avonaco.com

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

 

 

 

 

 

 


发件人: Allan Chao ( ?w廷睿 ) [mailto:AllanChao@taiwanmobile.com]
发送时间: 2008年12月19 13:55
收件人: WANG Zhenzhong; serusers@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@avonaco.com]
Sent: Friday, December 19, 2008 11:39 AM
To: Allan Chao (
?w廷睿 ); serusers@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@avonaco.com

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

 

 

 

 

 

 


发件人: Allan Chao ( ?w廷睿 ) [mailto:AllanChao@taiwanmobile.com]
发送时间: 2008年12月19 10:50
收件人: WANG Zhenzhong; serusers@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@lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of WANG Zhenzhong
Sent: Friday, December 19, 2008 10:28 AM
To: serusers@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@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.