<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>With rtcachefriends = yes in sip.conf, my SIP
phone registered to Asterisk Server A cannot dial another SIP phone registered
to Asterisk Server B. The error message is: "Cannot create channel of type SIP
(Cause 3 - no route to destination)".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The two phones _can_ call each other if I set
rtcachefriends = no. The common extensions.conf simply uses Dial(SIP/extension)
to dial extensions. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Both Asterisk servers are using identical MySQL
databases, kept in sync using replication. The sipusers tables in both databases
show the correct dynamic IP address and port for both phones, indicating that
the phones did register successfully. And the dynamic
registration information is reflected in both databases because of the
MySQL replication. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>However, running "sip show peers" on Server A only
shows the phone registered to Server A. Running the same command on Server B
only shows the phone registered to Server B. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>So despite the fact that phone B's registration
data (IP address and port) is in Server A's database, the Asterisk on Server A
doesn't know how to route the call to phone B. It looks like Asterisk is using
cached data and ignoring the database, but the registration info for phone B
never got into the cache. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need rtcachefriends enabled, because I need MWI
to work. I've seen this problem discussed before, but I haven't come across a
solution. Anyone have an answer? Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Rana Dutt</FONT></DIV>
<DIV><FONT face=Arial size=2>Softel Solutions, Inc.</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:rdutt@softelinc.com">rdutt@softelinc.com</A></FONT></DIV></BODY></HTML>