I have the current setup: SIP client <-> SER Proxy <-> SIP Trunk.
My reason for the SER Proxy is that the SIP trunk only allows connections from approved IP addresses (such as my server with SER Proxy).
My user on the SIP Trunk has the following authentication username@domain.
I am able to register to the SIP Trunk as I'm setting up my SIP klient with username to username, domain to domain and then add my SER Proxy IP address as proxy.
This works and means that I'm able to place calls to the SIP Trunk.
BUT people cannot place calls from the SIP Trunk to my SIP client, due to the fact that on the SIP Trunk my locations is registered as username@SER-Procy-IP.
So when people are calling me, the SER Proxy is looking for username@SER-Procy-IP and NOT username@domain, as I'm registered with. And then SER Proxy reports: 404 Not Found.
Can anyone help me how to set this up correctly? I do not have access to the SIP Trunk, but I have all access to the SIP client and SIP Proxy.
You'll need to set up some sort of mapping between the RURI as it comes into the proxy and the AORs that need to be looked up by the registrar. The alias_db module is a good start.
Hi Alex.
I've tried with alias_db, to setup a alias: kamctl alias_db add username@SER-Proxy-IP username@domain
But that doesn't help.
Also, my SIP client doesn't register with my SIP Proxy, but with the SIP Trunk. Is that a problem as well?
On Thu, Oct 6, 2011 at 3:48 AM, Alex Balashov abalashov@evaristesys.comwrote:
You'll need to set up some sort of mapping between the RURI as it comes into the proxy and the AORs that need to be looked up by the registrar. The alias_db module is a good start.
-- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users