[asterisk-users] Astribank and caller ID from PSTN
Guillermo Salas M.
gsalas at manta.telconet.net
Sat Sep 15 14:45:50 CDT 2007
Hi Tzafrir:
On Sat, 2007-09-15 at 22:05 +0300, Tzafrir Cohen wrote:
> Hi Guillermo,
>
> On Sat, Sep 15, 2007 at 01:18:49PM -0500, Guillermo Salas M. wrote:
> > Hello,
> >
> > I've one astribank with 8 FXO unit and 8 pstn lines connected to the
> > astribank. When I receive calls on my ipphone I get always Unknown
> > callerid.
[..]
>
> One thing I suspect is not waiting enough.
> Try adding the following to your dialplan:
>
> [pstn-test]
> exten => s,1,Wait(1)
> exten => s,n,NoOp(Got number ${CALLERID(all)} on ${CHANNEL})
> ; If you're just testing:
> ;exten => s,n,Playback(tt-monkeys)
> exten => s,n,Goto(from-zaptel,s,1)
>
I've added and used the pstn-test with the channel 4, before I've
tested it connecting a phone and calling to the channel4 number from my
cell, the phone shows me the number of my mobile.
> And then set in zapata.conf: context=pstn-test
>
Done, this is the output of the log when I've one incoming call to the
channel4:
[Sep 15 14:39:13] VERBOSE[25265] logger.c: -- Executing
[s at pstn-test:1] Wait("Zap/4-1", "1") in new stack
[Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Executing
[s at pstn-test:2] NoOp("Zap/4-1", "Got number "" <> on Zap/4-1") in new
stack
[Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Executing
[s at pstn-test:3] Goto("Zap/4-1", "from-zaptel|s|1") in new stack
[Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Goto (from-zaptel,s,1)
[Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Executing
[s at from-zaptel:1] NoOp("Zap/4-1", "Entering from-zaptel with DID == ")
in new stack
>
> Other than that, there are two obvious sanity checks:
>
> 1. Connect an analog phone with with caller ID display to the same port
> and see that caller ID is indeed detected
>
Done, the phone is detecting the ID.
> 2. boot the same system from our live CD and see if caller ID is
> detected there.
>
I'm going to download the live CD from www.xorcom.com .
Thank you for your suggestions,
--
Guillermo Salas M.
Telconet S.A.
Calle 15 y Avenida 24 Esq
Edificio Barre #2 Primer Piso
Telefono : +593 5 262 8071
Celular : +593 9 985 5138
e-mail : gsalas at manta.telconet.net
www : http://www.manta.telconet.net
http://www.telcocarrier.net
SIP : 666 at sip.manta.telconet.net
FWD : 558563
Linux User: 255902
Beat me, whip me, make me use Windows!
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting
More information about the asterisk-users
mailing list