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 [EMAIL PROTECTED]:1] Wait("Zap/4-1", "1") in new stack [Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Executing [EMAIL PROTECTED]:2] NoOp("Zap/4-1", "Got number "" <> on Zap/4-1") in new stack [Sep 15 14:39:14] VERBOSE[25265] logger.c: -- Executing [EMAIL PROTECTED]: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 [EMAIL PROTECTED]: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 : [EMAIL PROTECTED] www : http://www.manta.telconet.net http://www.telcocarrier.net SIP : [EMAIL PROTECTED] 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 _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users