<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Donnerstag, 14. Mai 2009, karhu wrote:<br>
&gt; First of all i would like to say i am a newbee in Kamailio :).<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Karhu,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>welcome. :-)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; Here is my network configuration :<br>
&gt;<br>
&gt; User 1                                                        User2<br>
&gt; 10.10.10.3   10.10.10.2       192.168.0.2          192.168.0.10<br>
&gt; -----------------*KAMAILIO*-----------------<br>
&gt;<br>
&gt; User1 and User2 are registered in mysql.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>You mean you've added the users to the subscriber table?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; When i installed Kamailio, i edited kmctlrc to have SIP_DOMAIN =<br>
&gt; 10.10.10.2.<br>
&gt;<br>
&gt; I am using XLite Siphone for both users. When User 1 is registering to<br>
&gt; Kamailio there is no problem, but when User2 try to do the same i get 407<br>
&gt; Proxy Authentication Required..<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>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.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt; What i would like to do is User1 call User2 trough kamailio. Obviously i<br>
&gt; activated nathelper module and started rtpproxy.<br>
&gt; Do i need to configure multi-domain module ?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Normally you only need to enable multi-domain support (there is no such a thing as multi-domain module) if you want to serve multiple domains where you've some overlapping the user sets, e.g.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>- user1@domain1<br>
- user1@domain2<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>In this case then you need to look also to the domain in order to differ between both.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Cheers,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>