Guillermo Salas M.
2007-Sep-15 18:18 UTC
[asterisk-users] Astribank and caller ID from PSTN
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. It's is possible to receive the callerid from the lines on the astribank unit? This is my config: [channels] language=es context=from-zaptel signalling=fxs_ks ;rxwink=300 usecallerid=yes callerid=asreceived ;cidsignalling=bell ;cidstart=ring hidecallerid=no callwaiting=yes ;usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes ;callreturn=yes echocancel=yes echocancelwhenbridged=yes echotraining=yes echotraining=800 relaxdtmf=yes rxgain=3.0 txgain=3.0 callgroup=1 pickupgroup=1 ;immediate=no callerid=asreceived ;amaflags=default busydetect=yes busycount=8 ;busypattern=500,500 answeronpolarityswitch=no hanguponpolarityswitch=no faxdetect=both ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" ;;; line="1 XPP_FXO/0/0/0 FXSKS" signalling=fxs_ks callerid=asreceived group=1 context=from-zaptel channel => 1 When replacing callerid=phone-number I get on my ipphone phone-number as callerid: ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" ;;; line="1 XPP_FXO/0/0/0 FXSKS" signalling=fxs_ks callerid=2627839 group=1 context=from-zaptel channel => 1 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
Hi, uncomment "immediate=no" Regards Nasir Iqbal ICT Innovations http://ictinnovations.com On Sat, 2007-09-15 at 13:18 -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. > > It's is possible to receive the callerid from the lines on the astribank > unit? This is my config: > > [channels] > language=es > context=from-zaptel > signalling=fxs_ks > ;rxwink=300 > usecallerid=yes > callerid=asreceived > ;cidsignalling=bell > ;cidstart=ring > hidecallerid=no > callwaiting=yes > ;usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > canpark=yes > cancallforward=yes > ;callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > echotraining=yes > echotraining=800 > relaxdtmf=yes > rxgain=3.0 > txgain=3.0 > callgroup=1 > pickupgroup=1 > ;immediate=no > callerid=asreceived > ;amaflags=default > busydetect=yes > busycount=8 > ;busypattern=500,500 > answeronpolarityswitch=no > hanguponpolarityswitch=no > faxdetect=both > > > ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" > ;;; line="1 XPP_FXO/0/0/0 FXSKS" > signalling=fxs_ks > callerid=asreceived > group=1 > context=from-zaptel > channel => 1 > > > When replacing callerid=phone-number I get on my ipphone phone-number as > callerid: > > ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" > ;;; line="1 XPP_FXO/0/0/0 FXSKS" > signalling=fxs_ks > callerid=2627839 > group=1 > context=from-zaptel > channel => 1 > > > Regards, >
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.> > It's is possible to receive the callerid from the lines on the astribank > unit? This is my config: > > [channels] > language=es > context=from-zaptel > signalling=fxs_ks > ;rxwink=300 > usecallerid=yes > callerid=asreceived > ;cidsignalling=bell > ;cidstart=ring > hidecallerid=no > callwaiting=yes > ;usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > canpark=yes > cancallforward=yes > ;callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > echotraining=yes > echotraining=800 > relaxdtmf=yes > rxgain=3.0 > txgain=3.0 > callgroup=1 > pickupgroup=1 > ;immediate=no > callerid=asreceived > ;amaflags=default > busydetect=yes > busycount=8 > ;busypattern=500,500 > answeronpolarityswitch=no > hanguponpolarityswitch=no > faxdetect=both > > > ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" > ;;; line="1 XPP_FXO/0/0/0 FXSKS" > signalling=fxs_ks > callerid=asreceived > group=1 > context=from-zaptel > channel => 1 > > > When replacing callerid=phone-number I get on my ipphone phone-number as > callerid: > > ; Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXO" > ;;; line="1 XPP_FXO/0/0/0 FXSKS" > signalling=fxs_ks > callerid=2627839 > group=1 > context=from-zaptel > channel => 1One 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 2. boot the same system from our live CD and see if caller ID is detected there.> > > 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 > > > _______________________________________________ > > 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-- Tzafrir Cohen icq#16849755 jabber:tzafrir at jabber.org +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir