<div>&nbsp;The CID with the Cisco isn't a &quot;Cisco issue&quot;. It's actually an issue based on the way Vonage passes CID through the Cisco. It doesn't follow the same standard that LECs and others use.</div>
<div>&nbsp;</div>
<div>&nbsp;I tried to get this going with an SPA3000 at first as well and never really could get it to go right without having to really hack-up my chan_sip.c. In the end I switched out the SPA-3000 for a Digium TDM card with an FXO module on it and now use the following in the dial plan for when that fxo port rings:
</div>
<div>&nbsp;</div>
<div>[fxoports]<br>exten =&gt; s,1,Cut(cidone=CALLERID,&lt;,1)<br>exten =&gt; s,2,Cut(cidtwo=CALLERID,&lt;,2)<br>exten =&gt; s,3,GotoIf($[${LEN(${cidtwo})} &gt; 0]?4:12)<br>exten =&gt; s,4,SetCIDNum(${cidtwo:1:10})<br>exten =&gt; s,5,SetVar(cidone=${cidone:2})
<br>exten =&gt; s,6,NoOp(${cidone})<br>exten =&gt; s,7,SetVar(ciolen=${LEN(${cidone})})<br>exten =&gt; s,8,SetVar(ciolen=$[${ciolen} - 2])<br>exten =&gt; s,9,NoOp(${ciolen})<br>exten =&gt; s,10,SetCIDName(${cidone:0:${ciolen}})
<br>exten =&gt; s,11,Goto(fxoports,s,14)<br>exten =&gt; s,12,SetCIDNum(${CALLERID})<br>exten =&gt; s,13,SetCIDName(Unavailable)<br>exten =&gt; s,14,NoOp(${CALLERIDNUM})<br>exten =&gt; s,15,NoOp(${CALLERIDNAME})<br><br>&nbsp;CVS-HEAD versions of asterisk will complain when you do this because it's using the deprecated SetCIDNum and SetCIDName functions. In that case you'll want to replace those with 
<font size="2">SetVar(CALLERID(name)=value) and <font size="2">SetVar(CALLERID(number)=value) instead. </font></font></div>
<div><font size="2"></font>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/15/05, <b class="gmail_sendername"><a href="mailto:asterisk@txpe.net">asterisk@txpe.net</a></b> &lt;<a href="mailto:asterisk@txpe.net">asterisk@txpe.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I've been using 2 SPA3000's for several months.&nbsp;&nbsp;Both are running<br>3.1.3(GWa) software.&nbsp;&nbsp;I do not have any issues with echo.&nbsp;&nbsp;One box is
<br>used to bring in a SBC POTS line and the other is connected to my<br>Cisco ATA186 from Vonage.&nbsp;&nbsp;The 3000 connected to SBC line relays CID<br>info, I have never been able to get CID info passed from the 3000<br>connected to the Cisco unit.
<br><br>Doug<br><br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com</a> --<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>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>