<div> The CID with the Cisco isn't a "Cisco issue". 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> </div>
<div> 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> </div>
<div>[fxoports]<br>exten => s,1,Cut(cidone=CALLERID,<,1)<br>exten => s,2,Cut(cidtwo=CALLERID,<,2)<br>exten => s,3,GotoIf($[${LEN(${cidtwo})} > 0]?4:12)<br>exten => s,4,SetCIDNum(${cidtwo:1:10})<br>exten => s,5,SetVar(cidone=${cidone:2})
<br>exten => s,6,NoOp(${cidone})<br>exten => s,7,SetVar(ciolen=${LEN(${cidone})})<br>exten => s,8,SetVar(ciolen=$[${ciolen} - 2])<br>exten => s,9,NoOp(${ciolen})<br>exten => s,10,SetCIDName(${cidone:0:${ciolen}})
<br>exten => s,11,Goto(fxoports,s,14)<br>exten => s,12,SetCIDNum(${CALLERID})<br>exten => s,13,SetCIDName(Unavailable)<br>exten => s,14,NoOp(${CALLERIDNUM})<br>exten => s,15,NoOp(${CALLERIDNAME})<br><br> 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> </div>
<div><br> </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> <<a href="mailto:asterisk@txpe.net">asterisk@txpe.net</a>> 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. Both are running<br>3.1.3(GWa) software. I do not have any issues with echo. One box is
<br>used to bring in a SBC POTS line and the other is connected to my<br>Cisco ATA186 from Vonage. 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> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>