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(a)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(a)avonaco.com
============================================
________________________________
������: Allan Chao ( �w͢� ) [mailto:AllanChao@taiwanmobile.com]
����ʱ��: 2008��12��19�� 10:50
�ռ���: WANG Zhenzhong; serusers(a)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(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf
Of WANG Zhenzhong
Sent: Friday, December 19, 2008 10:28 AM
To: serusers(a)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(a)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:
Sample Disclaimer added in a VBScript.