<!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.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>YES, because you could have an MGCP gateway device
(more than one POTS line)</FONT></DIV>
<DIV><FONT face=Arial size=2>ie. ours have 4 </FONT></DIV>
<DIV><FONT face=Arial size=2>If so you would do something like
this...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>[2084728800103]<BR>host = dynamic<BR>context = westcomllc<BR>callerid =
"Jeremy Jones" <103><BR>nat = no<BR>transfer = yes<BR>callwaiting =
yes<BR>threewaycalling = yes<BR>cancallforward = yes<BR>mailbox = <A
href="mailto:103@westcomllc">103@westcomllc</A><BR>line => aaln/1</DIV>
<DIV>callerid = "Jeremy Jones #2" <104><BR>transfer = yes<BR>callwaiting =
yes<BR>threewaycalling = yes<BR>cancallforward = yes<BR>mailbox = <A
href="mailto:104@westcomllc">104@westcomllc</A><BR>line => aaln/2</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>... etc...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I do have a question for you though...
I experimented with host=dynamic on the MGCP channel (we use MGCP
here)</FONT></DIV>
<DIV><FONT face=Arial size=2>I got it to work, but in this scenario, it was
fatal, I'll explain and please tell me if you see the same thing.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>With host=dynamic, our MGCP end
device would register with asterisk when powered up or when making the
first call.</FONT></DIV>
<DIV><FONT face=Arial size=2>All OK here, and asterisk would now remember (in
memory) this registration, so any calls going back to the end device would be
mapped appropriately. </FONT><FONT face=Arial size=2>The fatality is that
if asterisk is restarted, this "database of mapping" which was saved in memory;
is now lost, so if a call came in and the end device was never </FONT><FONT
face=Arial size=2>rebooted/restarted (to accomidate the asterisk restart)
the mapping did not exist, as it was not saved in a "database" and the call
would fail. </FONT><FONT face=Arial size=2>So I switched back to
host=ip.ip.ip.ip </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you see the same problem? Please let me
know.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Duane Cox</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=jjones@westcomllc.com href="mailto:jjones@westcomllc.com">Jeremy
Jones</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 28, 2004 8:50
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Asterisk-Users] MGCP &
Caller ID</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>Hi<BR><BR>> -----Original Message-----<BR>>
From: <A
href="mailto:asterisk-users-admin@lists.digium.com">asterisk-users-admin@lists.digium.com</A>
<BR>> [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Duane
Cox<BR>> Sent: Wednesday, July 28, 2004 7:22 AM<BR>> To: <A
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A><BR>>
Subject: Re: [Asterisk-Users] MGCP & Caller ID<BR>> <BR>> Try
this:<BR>> <BR>> mgcp.conf<BR>> <BR>>
[2084728800103]<BR>> host = dynamic<BR>> context = westcomllc<BR>>
callerid = "Jeremy Jones" <103><BR>> nat = no<BR>> transfer =
yes<BR>> callwaiting = yes<BR>> threewaycalling = yes<BR>>
cancallforward = yes<BR>> mailbox = <A
href="mailto:103@westcomllc">103@westcomllc</A><BR>> line =>
aaln/1<BR><BR>Aha! Yup, that did the trick. So order matters
there...
<BR><BR>Thanks,<BR>jeremy<BR><BR><BR>_______________________________________________<BR>Asterisk-Users
mailing list<BR><A
href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A><BR><A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR>To
UNSUBSCRIBE or update options visit:<BR> <A
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR></BLOCKQUOTE></BODY></HTML>