[Asterisk-Users] Echo on SPA-3000 FXO
BJ Weschke
bweschke at gmail.com
Thu Sep 15 08:01:20 MST 2005
That is an issue with Vonage not providing remote disconnect supervision
through the ATA. The way I got around that was not to use Comedian mail with
my home system, but instead, just use an analog answering machine I already
had around. Not ideal, I know, but the answering machine hangs up the FXS
port when it detects that the caller has hung up (via busy, silence, etc)
and that instructs * to hang up the FXO port that has the Vonage ATA plugged
into it.
On 9/15/05, asterisk at txpe.net <asterisk at txpe.net> 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, *asterisk at txpe.net* <asterisk at txpe.net> <asterisk at txpe.net>
> 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<http://easynews.com/>--
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050915/1f3bd296/attachment.htm
More information about the asterisk-users
mailing list