Caller ID issue passing to Toshiba Strata 670

Greetings,

I have set up an Asterisk box (PBX in a Flash) as a front end to a Toshiba Strata CIX-670 which is our main phone system. They are connected via a Sangoma A102 and a T1 crossover cable. This works famously, by the way.

The issue at hand, the caller ID number is being passed from the Asterisk system to the Toshiba, but characters such as “Wireless Call” are not being routed to the Toshiba. The call reports on the Asterisk box show said characters are arriving from the phone company. Before I installed the Asterisk box the caller name would display on an incoming call, so the problem is somewhere in my configuration.

My Asterisk configuration is:
FreePBX 2.6.0.1
Asterisk 1.4.21.2
Zaptel 1.4.12.1
Libpri 1.4.7

I looked at the forum entry on ‘Set Caller ID’ and attempted the fix suggested on 1/4/2010, but that did not seem to make a difference.

There probably is a simple fix, more than likely in the zapata configuration files, but I am at a loss as to what it may be. Yes, my inexperience with Asterisk is showing.

Here are the configuration files for my Asterisk system and a log file segment of an incoming call.

Thanks for any help.

==================================================================================

The zapata.conf file:
;autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
;autogenrated on 2010-01-05
;Zaptel Channels Configurations
;For detailed Zaptel options, view /etc/asterisk/zapata.conf.bak

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A102 port 1 [slot:1 bus:6 span:1]
context=from-pstn
group=0
signalling=pri_cpe
channel =>1-23

;Sangoma A102 port 2 [slot:1 bus:6 span:2]
context=from-internal
group=1
signalling=pri_net
channel =>25-47

;Sangoma AFT-A200 [slot:0 bus:6 span:3]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 49

context=from-zaptel
group=0
signalling = fxs_ks
channel => 50

context=from-internal
group=1
signalling = fxo_ks
channel => 51

context=from-internal
group=1
signalling = fxo_ks
channel => 52

================================================================================

The zapata-auto.conf file:

; Autogenerated by /usr/local/sbin/sangoma/setup-sangoma – do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;
callerid=asreceived
useincommingcalleridonzaptransfer=yes
adsi=yes
sendcalleridafter=2 ;you may need to add this switch

;Sangoma A102 port 1 [slot:1 bus:6 span:1]
context=from-zaptel
group=0
signalling=pri_cpe
channel =>1-23

;Sangoma A102 port 2 [slot:1 bus:6 span:2]
context=from-zaptel
group=0
signalling=pri_net
channel =>25-47

;Sangoma AFT-A200 [slot:0 bus:6 span:3]
context=from-zaptel
group=0
signalling = fxs_ks
channel => 49

context=from-zaptel
group=0
signalling = fxs_ks
channel => 50

context=from-internal
group=1
signalling = fxo_ks
channel => 51

context=from-internal
group=1
signalling = fxo_ks
channel => 52

=================================================================================

zaptel.conf file:

#autogenerated by /usr/sbin/wancfg_zaptel do not hand edit
#autogenrated on 2010-01-05
#Zaptel Channels Configurations
#For detailed Zaptel options, view /etc/zaptel.conf.bak
loadzone=us
defaultzone=us

#Sangoma A102 port 1 [slot:1 bus:6 span:1]
span=1,1,0,esf,b8zs
bchan=1-23
hardhdlc=24

#Sangoma A102 port 2 [slot:1 bus:6 span:2]
span=2,2,0,esf,b8zs
bchan=25-47
hardhdlc=48

#Sangoma AFT-A200 [slot:0 bus:6 span:3]
fxsks=49
fxsks=50
fxoks=51
fxoks=52

=================================================================================

Log file segment of an incoming call from a cell phone (7202xxxxxx) to extension 7224 on the Toshiba system:

[2010-01-21 09:00:11] VERBOSE[7924] logger.c: – Zap/27-1 answered Zap/4-1
[2010-01-21 09:00:16] VERBOSE[3998] logger.c: – Accepting call from ‘7202xxxxxx’ to ‘7224’ on channel 0/5, span 1
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:1] Macro(“Zap/5-1”, “exten-vm|novm|7224”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:1] Macro(“Zap/5-1”, “user-callerid”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:1] Set(“Zap/5-1”, “AMPUSER=7202xxxxxx”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:2] GotoIf(“Zap/5-1”, “0?report”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:3] ExecIf(“Zap/5-1”, “1|Set|REALCALLERIDNUM=7202xxxxxx”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: ExecIf
[2010-01-21 09:00:16] DEBUG[7930] func_db.c: DB: DEVICE/7202xxxxxx/user not found in database.
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:4] Set(“Zap/5-1”, “AMPUSER=”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] DEBUG[7930] func_db.c: DB: AMPUSER//cidname not found in database.
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:5] Set(“Zap/5-1”, “AMPUSERCIDNAME=”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:6] GotoIf(“Zap/5-1”, “1?report”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Goto (macro-user-callerid,s,9)
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:9] GotoIf(“Zap/5-1”, “0?continue”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:10] Set(“Zap/5-1”, “__TTL=64”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:11] GotoIf(“Zap/5-1”, “1?continue”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Goto (macro-user-callerid,s,18)
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:18] NoOp(“Zap/5-1”, “Using CallerID “” <7202xxxxxx>”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Noop
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Macro
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:2] Set(“Zap/5-1”, “RingGroupMethod=none”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:3] Set(“Zap/5-1”, “VMBOX=novm”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:4] Set(“Zap/5-1”, “EXTTOCALL=7224”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] DEBUG[7930] func_db.c: DB: CFU/7224 not found in database.
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:5] Set(“Zap/5-1”, “CFUEXT=”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] DEBUG[7930] func_db.c: DB: CFB/7224 not found in database.
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:6] Set(“Zap/5-1”, “CFBEXT=”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:7] Set(“Zap/5-1”, “RT=”"") in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Set
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:8] Macro(“Zap/5-1”, “record-enable|7224|IN”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:1] GotoIf(“Zap/5-1”, “1?check”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Goto (macro-record-enable,s,4)
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:4] AGI(“Zap/5-1”, “recordingcheck|20100121-090016|1264089616.643”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: recordingcheck|20100121-090016|1264089616.643: Inbound recording not enabled
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – AGI Script recordingcheck completed, returning 0
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: AGI
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:5] MacroExit(“Zap/5-1”, “”) in new stack
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: Macro
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:9] Macro(“Zap/5-1”, “dial||tr|7224”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:1] GotoIf(“Zap/5-1”, “1?dial”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Goto (macro-dial,s,3)
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: GotoIf
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:3] AGI(“Zap/5-1”, “dialparties.agi”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: dialparties.agi: Starting New Dialparties.agi
[2010-01-21 09:00:16] VERBOSE[7933] logger.c: == Manager ‘admin’ logged on from 127.0.0.1
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: dialparties.agi: Caller ID name is ‘unknown’ number is ‘7202xxxxxx’
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: dialparties.agi: Methodology of ring is ‘none’
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – dialparties.agi: Added extension 7224 to extension map
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – dialparties.agi: Extension 7224 cf is disabled
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – dialparties.agi: Extension 7224 do not disturb is disabled
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: dialparties.agi: ExtensionState: 0
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – dialparties.agi: dbset CALLTRACE/7224 to 7202xxxxxx
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – dialparties.agi: Filtered ARG3: 7224
[2010-01-21 09:00:16] VERBOSE[7933] logger.c: == Manager ‘admin’ logged off from 127.0.0.1
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – AGI Script dialparties.agi completed, returning 0
[2010-01-21 09:00:16] DEBUG[7930] app_macro.c: Executed application: AGI
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Executing [[email protected]:7] Dial(“Zap/5-1”, “ZAP/g1/7224||tr”) in new stack
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Requested transfer capability: 0x00 - SPEECH
[2010-01-21 09:00:16] VERBOSE[7930] logger.c: – Called g1/7224
[2010-01-21 09:00:17] DEBUG[3998] chan_zap.c: Echo cancellation already on
[2010-01-21 09:00:17] DEBUG[3999] chan_zap.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/4 span 2
[2010-01-21 09:00:17] VERBOSE[7930] logger.c: – Zap/28-1 is proceeding passing it to Zap/5-1
[2010-01-21 09:00:19] VERBOSE[7930] logger.c: – Zap/28-1 is ringing
[2010-01-21 09:00:21] DEBUG[3999] chan_zap.c: Echo cancellation already on
[2010-01-21 09:00:21] VERBOSE[7930] logger.c: – Zap/28-1 answered Zap/5-1
[2010-01-21 09:00:24] VERBOSE[3999] logger.c: – Channel 0/4, span 2 got hangup request, cause 16
[2010-01-21 09:00:24] DEBUG[7930] chan_zap.c: Set option AUDIO MODE, value: ON(1) on Zap/28-1
[2010-01-21 09:00:24] DEBUG[7930] chan_zap.c: Not yet hungup… Calling hangup once with icause, and clearing call
[2010-01-21 09:00:24] DEBUG[7930] chan_zap.c: Set option AUDIO MODE, value: OFF(0) on Zap/28-1
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Hungup ‘Zap/28-1’
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘Zap/5-1’ in macro ‘dial’
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘Zap/5-1’ in macro ‘exten-vm’
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘Zap/5-1’
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Executing [[email protected]:1] Macro(“Zap/5-1”, “hangupcall”) in new stack
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Executing [[email protected]:1] ResetCDR(“Zap/5-1”, “w”) in new stack
[2010-01-21 09:00:24] DEBUG[7930] app_macro.c: Executed application: ResetCDR
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Executing [[email protected]:2] NoCDR(“Zap/5-1”, “”) in new stack
[2010-01-21 09:00:24] DEBUG[7930] app_macro.c: Executed application: NoCDR
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Executing [[email protected]:3] GotoIf(“Zap/5-1”, “1?skiprg”) in new stack
[2010-01-21 09:00:24] VERBOSE[7930] logger.c: – Goto (macro-hangupcall,s,6)

Greetings,

When I posted the above scenario, I had forgotten to mention how I am passing the extensions from the PSTN through the Asterisk system to the Toshiba box.

Each extension on the Toshiba box is listed on the Asterisk system as a ZAP extension.

Thanks again for any pointers.

As an example of the configuration for an extension –

======================================================================

zapata-additional.conf:

;;;;;;[7224]
signalling=fxo_ks
pickupgroup=
[email protected]
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
context=from-internal
callprogress=no
callgroup=
callerid=device <7224>
busydetect=no
busycount=7
accountcode=
channel=>g1/7224

===============================================================

extensions_additional.conf:

exten => *767224,1,Goto(app-dnd-toggle,*76,1)
exten => *767224,hint,Custom:DEVDND7224

exten => 7224,1,Macro(exten-vm,novm,7224)
exten => 7224,n,Goto(${IVR_CONTEXT},return,1)

exten => 7224,hint,ZAP/g1/7224&Custom:DND7224
exten => 7224,1,ExecIf($["${BLKVM_OVERRIDE}" != “”],dbDel,${BLKVM_OVERRIDE})
exten => 7224,n,Set(__NODEST=)
exten => 7224,n,Goto(from-did-direct,7224,1)

I did find that the caller id lookup module was not installed, so I grabbed that and the caller id SuperFecta application. Still no joy.

Any ideas where I should check next? I’ve enjoyed learning this system, but am a bit overwhelmed at times.

Many thanks.

Also another question: from whence does the cdr report obtain the caller id name if not from the incoming call itself?

I am having a similar issue. The caller ID is being passed to the Toshiba and the number shows, but the name is not displayed on our phones. I think it has something to do with the 670 maybe? I can see Asterisk sending both the name and the number.

To get a solution for the issue please get in touch with your local Toshiba dealer now or visit http://www.telecom.toshiba.com. Also, if yours is an SMB, try switching over to Toshiba’s VIPedge solution which is a cloud based telephone system.

You know this thread is over three years old, right?