<html><body><span style="font-family:Verdana; color:#000000;
font-size:10pt;"><br>I read through your question a couple of
times. Basically you have server A which has extension 2000
and 5550. Server B has extension 2000 and
2001. You configure a (soft)phone as extension 2001 and dial
5550 which succeeds but you dial 2000 and the call
fails.<br><br>Have you tried turning up the debug verbosity in the
console and watching the call flow on Server B? I don't know what
would prompt Server B to try passing the call to Server A but that should become
apparent in the debug information.<br><br>If the 'domain'
you are referring too his the FQDN then that has nothing to do with the price of
bread as far as I can tell.
<br><br><br><blockquote webmail="1"
style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px;
font-size: 10pt; color: black; font-family: verdana;"><div
><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"><div
class="Section1"><div><div><font
class="style131"><font size="2"
color="#003366" face="Times New Roman"><font
style="" size="2" color="#003366">Noone can
give me a clue on this
?<o:p></o:p></font></font></font></div>
<div><font class="style131"><font size="2"
color="#003366" face="Times New Roman"><font
style="" size="2" color="#003366">How Domains
are used within Asterisk
?<o:p></o:p></font></font></font></div>
<div class="MsoNormal" style="font-size:12pt;text-align:
center;" align="center"><font size="3"
face="Times New Roman"><font style=""
size="3"> <hr tabindex="-1" size="2"
width="100%" align="center">
</font></font></div> <div><b><font
size="2" face="Tahoma"><font style="font-family:
Tahoma; font-weight: bold;" size="2"
face="Tahoma">From:</font></font></b><font
size="2" face="Tahoma"><font style="font-family:
Tahoma;" size="2" face="Tahoma">
asterisk-users-bounces@lists.digium.com [<a
onclick="if(window.location==top.location){Popup.composeWindow('pcompose.php?sendto=asterisk-users-bounces%40lists.digium.com');}else{top.Popup.composeWindow('pcompose.php?sendto=asterisk-users-bounces%40lists.digium.com');};
return false;"
href="mailto:asterisk-users-bounces@lists.digium.com"
target="_blank"
mce_href="mailto:asterisk-users-bounces@lists.digium.com">mailto:asterisk-users-bounces@lists.digium.com</a>]
<b><font style="font-weight: bold;">On Behalf Of
</font></b><st1:personname w:st="on">Adrian
Marsh</st1:personname><br> <b><font
style="font-weight: bold;">Sent:</font></b> 26 May 2009
12:14<br> <b><font style="font-weight:
bold;">To:</font></b> <st1:personname
w:st="on">Asterisk Users Mailing List - Non-Commercial
Discussion</st1:personname><br> <b><font
style="font-weight: bold;">Subject:</font></b>
[asterisk-users]
Domains</font></font><o:p></o:p></div>
</div> <div><font size="3" face="Times New
Roman"><font style=""
size="3"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">Hi,<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">I’m trying to understand an issue I’m seeing between
two Asterisk servers. I think it has to do with Domain
definitions.<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">Server A), has extension 5550 defined. Has a sip
client 2000 defined, and has guest-invites
enabled.<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">Server B), Dials to server A for any 5550
dialled. Has sip client 2000 and 2001
defined.<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">If I register at server B as client 2001, and dial
5550 then the call works, and is placed through to server As logic
successfully.<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">But if I call in as client 2000, then the call fails,
server A shows no log at all of the call (even a sip set debug ip <ip>
showed nothing – though tcpdump did show the inbound
invite).<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">However if I remove the definition of client 2000 from
server A, then the call
succeeds.<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">So I think that for a defined account server A is
wanting to challenge for a password, even though the inbound call is not a local
account – hence my trying now to understand if and how Asterisk uses
Domains. If I define a serverA.company.com domain on server A, will it
ignore the challenge for an INVITE coming from server B
??<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB">Thanks<o:p></o:p></font></font></div>
<div><font size="2" face="Arial"><font
style="font-family: Arial;" size="2" face="Arial"
lang="EN-GB"><o:p> </o:p></font></font></div>
<div><st1:place w:st="on"><st1:city
w:st="on"><font size="2"
face="Arial"><font style="font-family: Arial;"
size="2" face="Arial"
lang="EN-GB">Adrian</font></font></st1:city></st1:place><font
size="2" face="Arial"><font style="font-family:
Arial;" size="2" face="Arial"
lang="EN-GB"><o:p></o:p></font></font></div>
</div>
<hr>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a
href="api-digital.com" target="_blank"
mce_href="api-digital.com">api-digital.com</a>
--<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a
href="lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank"
mce_href="lists.digium.com/mailman/listinfo/asterisk-users">lists.digium.com/mailman/listinfo/asterisk-users</a>
</o:smarttagtype></o:smarttagtype></o:smarttagtype></div>
</blockquote></span></body></html>