Hi friends, I have SER (with database support) running on my linux box. But I do not have a domain name registered for the IP of this machine but it does have a public IP (202.87.xx.xxx) address which allows me access it from outside.
If I try to access (using sipsak client) a uri from local system it fails. example URIs I am trying are ... sip:mukesh@<public ip> sip:mukesh@<public ip>:5060
...with no result :( I referred http://mit.edu/sip/sip.edu/ser.shtml to configure my ser.cfg. So the question is How can I connect to SER using IP and do I need to use "# export SIP_DOMAIN=<public ip>"?
Regards Mukesh
Hi,
AFAIK, SIP_DOMAIN you need to export anyway.. Just put your IP instead of the name. Then this SIP_DOMAIN will be used to properly add contacts to your subscriber table. So, if your domain is an IP address, newly added ppl will have an IP instead of domain for their host part of URI. Try also to specify alias as you IP address, i.e.
listen="202.x.x.x" alias="202.x.x.x"
You may also try to add a domain entry to the domain table with serctl (that is if you use functions in your config such as "is_uri_host_local()"), i.e.
serctl domain add 202.x.x.x
Hope it will work for you.
Andrey.
On 9/20/06, mukesh mukesh@hungama.com wrote:
Hi friends, I have SER (with database support) running on my linux box. But I do not have a domain name registered for the IP of this machine but it does have a public IP (202.87.xx.xxx) address which allows me access it from outside.
If I try to access (using sipsak client) a uri from local system it
fails. example URIs I am trying are ... sip:mukesh@<public ip> sip:mukesh@<public ip>:5060
...with no result :( I referred http://mit.edu/sip/sip.edu/ser.shtml to configure my
ser.cfg.
So the question is How can I connect to SER using IP and do I need
to use "# export SIP_DOMAIN=<public ip>"?
Regards Mukesh
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers