<div>Thanx for the tip. It has erased the problem i was having using authentication but another problem has arised. i am now able to call with only one user from AST1 to AST2. If i dial using the other user, my AST2 shows the following warning and responds with a "403 forbidden" sip response:</div>
<div> </div>
<div><strong>WARNING[13520]: chan_sip.c:8117 check_auth: username mismatch, have <adf>, digest has <abc></strong> </div>
<div> </div>
<div>Any solutions to this problem?<br></div>
<div><br> </div>
<div class="gmail_quote">On Wed, Feb 27, 2008 at 4:36 PM, Igor A. Goncharovsky <<a href="mailto:igi-go@ya.ru" target="_blank">igi-go@ya.ru</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Rizwan Hisham wrote:<br>> I am having a strange problem. I am using my asterisk server AST1 to<br>> register with another asterisk server AST2 using 2 accounts (2 register<br>> commands in sip.conf). I have made 2 local users in AST1, and configured my<br>
> dialplan in such a way that both local accounts on AST1 use different trunks<br>> to send the call to AST2 server. These 2 different trunks are for 2 accounts<br>> i have registered on AST1.<br></div>> (skiped)<br>
<div>><br>> How can i make asterisk realize it?<br>><br></div>You must enable authentication of INVITE that AST1 send to AST2. Now you<br>have no authentication of incoming INVITE and AST2 make decision about<br>
used account based only on IP address of caller peer.<br><br>Changing insecure=port,invite to insecure=port should help.<br><br>--<br>Best regards,<br>Igor A. Goncharovsky<br><br><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Rizwan Hisham<br>