<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-margin-top-alt:auto;
        margin-right:0pt;
        mso-margin-bottom-alt:auto;
        margin-left:0pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Mouta, sorry&#8230;can you elaborate a little
(maybe something a little more basic).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoPlainText style='margin:0pt;margin-bottom:.0001pt'><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>&nbsp;</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0pt;margin-bottom:.0001pt'><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Cheers,<o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0pt;margin-bottom:.0001pt'><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Dean</span></font><font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoPlainText style='margin:0pt;margin-bottom:.0001pt'><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>&nbsp;</span></font><o:p></o:p></p>

</div>

<div style='border:none;border-left:solid blue 1.5pt;padding:0pt 0pt 0pt 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Marco Mouta<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, 10 August 2006
2:16 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Asterisk Users Mailing List -
Non-Commercial Discussion<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] Set
DID?</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Handle incoming calls to
&quot;s&quot; extension and in the next priority set EXTEN var to your DID then
make a goto to desired context.<br>
<br>
Hope it helps,<br>
MoutaPT<br>
<br>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 8/10/06, <b><span style='font-weight:bold'>Dean
Collins</span></b> &lt;<a href="mailto:Dean@collins.net.pr">Dean@collins.net.pr</a>&gt;
wrote:</span></font></span><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi Eric,<br>
No I know what I want. I want to set the DID to be 212-531-6214 as my<br>
current provider doesn't send a DID number.<br>
<br>
<br>
<br>
Cheers,<br>
<br>
Dean<br>
<br>
<br>
<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-">asterisk-users-</a><br>
&gt; <a href="mailto:bounces@lists.digium.com">bounces@lists.digium.com </a>]
On Behalf Of Eric &quot;ManxPower&quot; Wieling<br>
&gt; Sent: Thursday, 10 August 2006 1:24 PM<br>
&gt; To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
&gt; Subject: Re: [asterisk-users] Set DID?<br>
&gt; <br>
&gt; Dean Collins wrote:<br>
&gt; &gt; Is there a command for setting of a DID number?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Eg below I can set callerid<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; [custom-fromiaxfwd] <br>
&gt; &gt;<br>
&gt; &gt; exten =&gt; s,1,Set(CALLERID(number)=2125316214)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Butw what I would prefer to do is set DID -like this (it doesn't<br>
work<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; [custom-fromiaxfwd]<br>
&gt; &gt;<br>
&gt; &gt; exten =&gt; s,1,Set(CALLERDID(number)=2125316214)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I couldn't find anything in the voip-info commands section so was<br>
hoping<br>
&gt; &gt; for a clue from the list.<br>
&gt;<br>
&gt; You are trying to set the CallerID, not setting the DID.&nbsp;&nbsp;The
DID is<br>
in<br>
&gt; ${EXTEN}. <br>
&gt;<br>
&gt; If you want to set the CallerID for calls to the PSTN you must be<br>
using<br>
&gt; ISDN.&nbsp;&nbsp;If you are using VoIP, then the VoIP server must be using
ISDN<br>
&gt; (pretty much all of them are).<br>
&gt;<br>
&gt; Your carrier must permit you to set that info.&nbsp;&nbsp;Not all of them
do. <br>
&gt;<br>
&gt; --<br>
&gt; Now accepting new clients in <st1:City w:st="on">Birmingham</st1:City>, <st1:City
w:st="on">Atlanta</st1:City>, <st1:City w:st="on"><st1:place w:st="on">Huntsville</st1:place></st1:City>,<br>
&gt; <st1:City w:st="on">Chattanooga</st1:City>, and <st1:City w:st="on"><st1:place
 w:st="on">Montgomery</st1:place></st1:City>.<br>
&gt; _______________________________________________<br>
&gt; --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a>
--<br>
&gt;<br>
&gt; asterisk-users mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;<a
href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>
_______________________________________________<br>
--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a>
--<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit: <br>
&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Com os melhores cumprimentos,<br>
<br>
Marco Mouta <o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>