[asterisk-users] Astribank and caller ID from PSTN

Guillermo Salas M. gsalas at manta.telconet.net
Tue Sep 18 19:56:36 CDT 2007


On Tue, 2007-09-18 at 19:33 -0500, Guillermo Salas M. wrote:
> Hi all,
> 
> 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)
> > 
> > And then set in zapata.conf:  context=pstn-test
> > 
> > 
> > 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
> > 
> 
> I've connected one phone to the line that was connected on the port 4 of
> the astribank. Called from my mobile and the caller id is displayed on
> the phone.
> 
> 
> > 2. boot the same system from our live CD and see if caller ID is
> > detected there.
> > 
> 
> 
> Booted with the version Xorcom Rapid LiveCD (1.0.2.4131) and configured
> the following:
> 
> - Created one trunk called g1;
> - creted one SIP extension called 666 ;
> - edited /etc/asterisk/zapata-channels.conf with:
> 
> ;;; line="4 XPP_FXO/00/00/3 (no pcm)"
> signalling=fxs_ks
> callerid=asreceived
> group=1
> context=from-zaptel
> channel => 4
> context=default
> 
> - created one incoming route with freebpx, 
> - all the calls that are coming on the port 4 of the astribank will be
> redirected to the sip extension 666;
> 
> Now, dialing from my mobile phone again to the line connected to the
> port 4 of the astribank is showing me the called ID on the 666 extension
> as Unknown:



[..]


Please check the Zaptel hardware listing from the live cd:

http://pastebin.ca/702694



Regards,


-- 
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