On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I tried switching out the 3000 with a X100P card, but the card would never recognize when the caller hung up. So, I have to keep the 3000. The X100P worked fine with the POTS line.
At 08:52 AM 9/15/2005, you wrote:
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.
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:
[fxoports]
exten => s,1,Cut(cidone=CALLERID,<,1)
exten => s,2,Cut(cidtwo=CALLERID,<,2)
exten => s,3,GotoIf($[${LEN(${cidtwo})} > 0]?4:12)
exten => s,4,SetCIDNum(${cidtwo:1:10})
exten => s,5,SetVar(cidone=${cidone:2})
exten => s,6,NoOp(${cidone})
exten => s,7,SetVar(ciolen=${LEN(${cidone})})
exten => s,8,SetVar(ciolen=$[${ciolen} - 2])
exten => s,9,NoOp(${ciolen})
exten => s,10,SetCIDName(${cidone:0:${ciolen}})
exten => s,11,Goto(fxoports,s,14)
exten => s,12,SetCIDNum(${CALLERID})
exten => s,13,SetCIDName(Unavailable)
exten => s,14,NoOp(${CALLERIDNUM})
exten => s,15,NoOp(${CALLERIDNAME})
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 SetVar(CALLERID(name)=value) and SetVar(CALLERID(number)=value) instead.
On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
- I've been using 2 SPA3000's for several months. Both are running
- 3.1.3(GWa) software. I do not have any issues with echo. One box is
- used to bring in a SBC POTS line and the other is connected to my
- Cisco ATA186 from Vonage. The 3000 connected to SBC line relays CID
- info, I have never been able to get CID info passed from the 3000
- connected to the Cisco unit.
- Doug
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
