All pastes #1256326 Raw Edit

Caller ID problem.

public ini v1 · immutable
#1256326 ·published 2008-11-14 18:34 UTC
rendered paste body
;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit;autogenrated on 2008-11-07;Dahdi Channels Configurations ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak[trunkgroups][channels]context=defaultusecallerid=yeshidecallerid=nocallwaiting=nousecallingpres=yescallwaitingcallerid=nothreewaycalling=notransfer=yescanpark=yescancallforward=nocallreturn=noechocancel=yesechocancelwhenbridged=norelaxdtmf=yesrxgain=0.0txgain=0.0group=1callgroup=1pickupgroup=1immediate=noresetinterval=nevercallerid=asreceivedcidsignalling=bellcidstart=ring;Sangoma A104 port 1 [slot:4 bus:7 span:1] <wanpipe1>switchtype=nationalcontext=from-prigroup=0signalling=pri_cpechannel =>1-23;Sangoma A104 port 2 [slot:4 bus:7 span:2] <wanpipe2>switchtype=nationalcontext=from-pbxgroup=1signalling=pri_netfacilityenable=yeschannel =>25-47;Sangoma A104 port 3 [slot:4 bus:7 span:3] <wanpipe3>;; The first eight ports will be the Iwatsu voicemail ports.;context=from-pbx-voicemailgroup=2signalling=fxs_gsaccountcode=VMchannel =>49-56;; The next eight ports are on the second FXO card; context=from-pstn-potsgroup=3signalling=fxs_gsrxgain=2.0txgain=2.0accountcode=PSTNPOTSchannel =>57-58;channel =>57-64;; The next eight ports are on the first FXS card;context=from-pbx-potsgroup=4signalling=fxo_lsrxgain=2.0txgain=2.0accountcode=PBXPOTSchannel =>65,66;channel =>65-72--- and the associated context[from-pstn-pots];; Although it seemed to be a good idea to route POTS calls to analog; ports on the Iwatsu, it's been nothing but a royal PITA.  Thus, I'm; going to use the analog ports as a last resort.;;; Wait for two rings so that when calls are transfered to ${ANSWERINGSVC}; we don't bother our PBX and then bridge the calls.;exten => s,1,Wait(1);exten => s,n,WaitForRing(0)exten => s,n,WaitForRing(0)exten => s,n,Answer();exten => s,n,Verbose(4, Context: ${CONTEXT} * Channel: ${CHANNEL} * Callerid: ${CALLERID(all)} * CallerID(num): ${CALLERID(num)} * CallerID(name): ${CALLERID(name)});exten => s,n,Dial(DAHDI/${PBX}/2652)            ; Bridge to T1exten => s,n,Dial(DAHDI/${PBX_ANALOG})          ; Fallback to the analog lines