[Kamailio-Users] kamailio multi-domain

karhu yoannks at gmail.com
Fri May 15 10:43:19 CEST 2009


>You mean you've added the users to the subscriber table?

Yes i added User1 and User2 in the subscriber's mysql table. 

Xlite conf : 
usr : User1 
psw : xxxx
Domain : 10.10.10.2

usr: User2
psw : xxxx
Domain : 192.168.0.2
In mysql table i added : User2 with xxx psw and 192.168.0.2 domain. (don't
really know if it is the righ way...!?)

It seems the registering request are fine, below are the wireshark captures
for user1 and user2 : 

http://www.nabble.com/file/p23555745/User1_Register.jpg 

http://www.nabble.com/file/p23555745/User2_Register.jpg 

Etheir i try to call from User2 to User1 or User1 to User2 i got nothing.
On XliteUser2 i tried for the call : 
User1 at 10.10.10.2 

>You've enabled auth in the cfg given below, so this is the expected
behaviour. 
>Your UA should reply with the proper credentials, then the call should be 
>established. Take a look to the log file of the kamailio, and do a sip
trace 
>(e.g. with ngrep -W byline port 5060) to get more information about the 
>eventual problem.

Below ngrep -W byline port 5060 capture, User1 call User2

INVITE sip:boby at 10.10.10.2 SIP/2.0.
Via: SIP/2.0/UDP
10.10.10.3:41394;branch=z9hG4bK-d87543-18094a3f30346a6c-1--d87543-;rport.
Max-Forwards: 70.
Contact: <sip:1000 at 10.10.10.3:41394>.
To: "boby"<sip:boby at 10.10.10.2>.
From: "toto"<sip:1000 at 10.10.10.2>;tag=89767174.
Call-ID: MzE3NDc5YzMwNDI2YjdjMWE4Zjg2Y2RlYTQ3YTZiMzY..
CSeq: 2 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
Proxy-Authorization: Digest
username="1000",realm="10.10.10.2",nonce="4a0d276f000000535a5a47a45038d6cbfab9392dd8d576cf",uri="sip:boby at 10.10.10.2",response="87afe587be968300f615006a989c9c7f",algorithm=MD5.
User-Agent: X-Lite release 1006e stamp 34025.
Content-Length: 534.
.
v=0.
o=- 2 2 IN IP4 10.10.10.3.
s=CounterPath X-Lite 3.0.
c=IN IP4 10.10.10.3.
t=0 0.
m=audio 20562 RTP/AVP 107 119 0 98 8 3 101.
a=alt:1 1 : wbrcVqeO gWxBJcbu 10.10.10.3 20562.
a=fmtp:101 0-15.
a=rtpmap:107 BV32/16000.
a=rtpmap:119 BV32-FEC/16000.
a=rtpmap:98 iLBC/8000.
a=rtpmap:101 telephone-event/8000.
a=sendrecv.
m=video 31202 RTP/AVP 115 34.
a=alt:1 1 : Ph3NZX4n 9x8Vo2nU 10.10.10.3 31202.
a=fmtp:115 QCIF=1 I=1 J=1 K=1 MAXBR=1960.
a=fmtp:34 QCIF=1 MAXBR=1960.
a=rtpmap:115 H263-1998/90000.
a=rtpmap:34 H263/90000.
a=sendrecv.

#
U 10.10.10.2:5060 -> 10.10.10.3:41394
SIP/2.0 404 Not Found.
Via: SIP/2.0/UDP
10.10.10.3:41394;branch=z9hG4bK-d87543-18094a3f30346a6c-1--d87543-;rport=41394.
To: "boby"<sip:boby at 10.10.10.2>;tag=0c6c077910af0e0627388e55f0ad5733-3061.
From: "toto"<sip:1000 at 10.10.10.2>;tag=89767174.
Call-ID: MzE3NDc5YzMwNDI2YjdjMWE4Zjg2Y2RlYTQ3YTZiMzY..
CSeq: 2 INVITE.
Server: Kamailio (1.5.0-notls (x86_64/linux)).
Content-Length: 0.
.

#
U 10.10.10.3:41394 -> 10.10.10.2:5060
ACK sip:boby at 10.10.10.2 SIP/2.0.
Via: SIP/2.0/UDP
10.10.10.3:41394;branch=z9hG4bK-d87543-18094a3f30346a6c-1--d87543-;rport.
To: "boby"<sip:boby at 10.10.10.2>;tag=0c6c077910af0e0627388e55f0ad5733-3061.
From: "toto"<sip:1000 at 10.10.10.2>;tag=89767174.
Call-ID: MzE3NDc5YzMwNDI2YjdjMWE4Zjg2Y2RlYTQ3YTZiMzY..
CSeq: 2 ACK.
Content-Length: 0.
.


Cheers, 

Karhu

-- 
View this message in context: http://www.nabble.com/kamailio-multi-domain-tp23539467p23555745.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.




More information about the Users mailing list