[SR-Users] Multidomains - quick question

Lucas Alvarez lucasaa at gmail.com
Tue May 31 17:13:39 CEST 2011


Thanks Andres for your answer, the problem I'm having is that I'm not being
able to register an extension from outside of the firewall. I would
appreciate if someone could put me on the right path. I'm still not sure if
I have to enable the NAT module or the DOMAIN module  and add the external
IP or something else, this are the SIP messages I have captured:

T 190.244.125.41:13674 -> 172.16.99.2:5060 [AP]
REGISTER sip:67.152.18.231;transport=tcp SIP/2.0.
Via: SIP/2.0/TCP 192.168.15.231:13618
;branch=z9hG4bK-d8754z-e24b1938012d8901-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:1104 at 192.168.15.231:13618
;rinstance=00ac7562f8530813;transport=TCP>.
To: "Lucas"<sip:1104 at 67.152.18.231>.
From: "Lucas"<sip:1104 at 67.152.18.231>;tag=bd13120b.
Call-ID: Y2M0MTQ4YjFhNmM0NTZjMzAzYWE1OGQwZjViYzJlNDc..
CSeq: 1 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Supported: replaces.
User-Agent: Bria Professional release 2.4 stamp 49381.
Content-Length: 0.
.

##
T 172.16.99.2:5060 -> 190.244.125.41:13674 [AP]
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/TCP 192.168.15.231:13618
;branch=z9hG4bK-d8754z-e24b1938012d8901-1---d8754z-;rport=13674;received=190.244.125.41.
To: "Lucas"<sip:1104 at 67.152.18.231
>;tag=863f16b592640a21218764f3174429d9.6a1f.
From: "Lucas"<sip:1104 at 67.152.18.231>;tag=bd13120b.
Call-ID: Y2M0MTQ4YjFhNmM0NTZjMzAzYWE1OGQwZjViYzJlNDc..
CSeq: 1 REGISTER.
WWW-Authenticate: Digest realm="67.152.18.231",
nonce="TeUBwE3lAJRMHoOxnzL57scTzxhDfpO9".
Server: kamailio (3.1.3 (i386/linux)).
Content-Length: 0.
.

#
T 190.244.125.41:13674 -> 172.16.99.2:5060 [AP]
REGISTER sip:67.152.18.231;transport=tcp SIP/2.0.
Via: SIP/2.0/TCP 192.168.15.231:13618
;branch=z9hG4bK-d8754z-ad5e03279628ca35-1---d8754z-;rport.
Max-Forwards: 70.
Contact: <sip:1104 at 192.168.15.231:13618
;rinstance=00ac7562f8530813;transport=TCP>.
To: "Lucas"<sip:1104 at 67.152.18.231>.
From: "Lucas"<sip:1104 at 67.152.18.231>;tag=bd13120b.
Call-ID: Y2M0MTQ4YjFhNmM0NTZjMzAzYWE1OGQwZjViYzJlNDc..
CSeq: 2 REGISTER.
Expires: 3600.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Supported: replaces.
User-Agent: Bria Professional release 2.4 stamp 49381.
Authorization: Digest
username="1104",realm="67.152.18.231",nonce="TeUBwE3lAJRMHoOxnzL57scTzxhDfpO9",uri="sip:67.152.18.231;transport=tcp",response="65ea2f6596115a5ac76ec391f7e9c93e",algorithm=MD5.
Content-Length: 0.
.

##
T 172.16.99.2:5060 -> 190.244.125.41:13674 [AP]
SIP/2.0 408 Request Timeout.
Via: SIP/2.0/TCP 192.168.15.231:13618
;branch=z9hG4bK-d8754z-ad5e03279628ca35-1---d8754z-;rport=13674;received=190.244.125.41.
To: "Lucas"<sip:1104 at 67.152.18.231
>;tag=065c4e5ee3769aabfc84958a193ed91c-3b57.
From: "Lucas"<sip:1104 at 67.152.18.231>;tag=bd13120b.
Call-ID: Y2M0MTQ4YjFhNmM0NTZjMzAzYWE1OGQwZjViYzJlNDc..
CSeq: 2 REGISTER.
Server: kamailio (3.1.3 (i386/linux)).
Content-Length: 0.
.


Thanks in advance,


Lucas

On Tue, May 31, 2011 at 10:13 AM, Andreas Granig <agranig at sipwise.com>wrote:

> Hi,
>
> On 05/31/2011 03:04 PM, Lucas Alvarez wrote:
> > Hi, if I want to register clients from outside of my local network, do I
> > have to enable the domain module and add the external IP as a new domain?
>
> Depends on your configuration. The domain module just provides the
> functionality to check - based on the domain table - whether the domain
> part in From, R-URI or any pseudo-variable is present in the table.
>
> If you want your user A to be visible and valid as A at your-domain and
> A at your-ip and possibly A at anything, then you should set "use_domain" in
> usrloc module (and probably others which you already use) to "0" to not
> check for the domain part at all.
>
> Andreas
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110531/18159ede/attachment.htm>


More information about the sr-users mailing list