Problem - zap channels


i am trying to connect four blackberry 7270s each to its own zap channel on a TDM400 card, that would tie back into our existing PBX. ie blackberry acts as a regular analog phone on our PBX.

All the hardware is configured quite nicely but i am having problems with the dial plan…
calls placed to the desired extension are forwarded to the blackberry and a connection is made, however calls made from the blackberry are not connected…

anyone have any ideas?


Does the CLI show anything when trying to dial? Could be a DTMF issue or dialplan problem post relevant parts of sip.conf and extensions.conf

CLI does not show anything… show channels produces the following
note: 435 is extension i attempt to dial from blackberry

show channels
Channel Location State Application(Data)

Zap/2-1 s@default:1 Up Bridged Call(SIP/3000-d5b0)

SIP/3000-d5b0 435@default:1 Up Dial(Zap/2/435|20)

2 active channels
1 active call

this is the configuration of the blackberry SIP client


heres the very basics of the dial plan im working on gettign one working before i try all four… essentially what i am going to try is having each zap channel directed to its own context that handles the call routing.

so for example chan2 on the TDM400 routes calls to the SIP/3000 client

include => chan_two_in
include => chan_two_out

exten => s,1,Dial(SIP/3000,20)
;exten => s,102,Busy()

exten => _4XX,1,Dial(Zap/2/${EXTEN},20)
exten => _5XX,1,Dial(Zap/2/${EXTEN},20)
exten => _91NXXNXXXXXX,1,Dial(Zap/2/${EXTEN},20)

and heres the zapata.conf file if it helps…


channel => 1-4

start asterisk in verbose

asterisk -vvvvvvc

then try to dial again and see if you see any error

might also try putting exten => _4XX,1,Dial(Zap/2/${EXTEN},20) into default context to simplfy

no errors… i get

*CLI> – Executing Dial(“SIP/3000-f66e”, “Zap/2/435|20”) in new stack
– Called 2/435
– Zap/2-1 answered SIP/3000-f66e
– Hungup ‘Zap/2-1’
== Spawn extension (default, 435, 1) exited non-zero on ‘SIP/3000-f66e’
– Executing Hangup(“SIP/3000-f66e”, “”) in new stack
== Spawn extension (default, h, 1) exited non-zero on ‘SIP/3000-f66e’

i tried adding the exten command to the [default] context but got the same results

whenever i call an outside number or an extention the call will ring once then connect to what seems to be the Echo() function which is very strange because i dont use it anywhere in my extensions.conf file.

Well it is dialing maybe connection to pbx? Is this port on the pbx configured right? is the port on the 400 fxs or fxo? Here is a link to some configuratins for differenet types PBX … ntegration

[root@hpsmon asterisk]# /sbin/ztcfg -vv

Zaptel Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)

4 channels configured.

FXO card, using FXS signalling.

thanks for that link unfortunately our NEC NEAX2000 PBX is coming soon :frowning:

anyone else have any ideas?

thanks for all your help rusty… it seems that the server was just moved recently and the line-in was reconnected to the first port instead of the second port that i was trying to communicate with :smile:

:smiley: glad you got it going

HAD it going… well still do sort of.

right now i have a blackberry connecting with zap 1 ext 515 and a softphone on a laptop conecting with zap 2 ext 565…

i am able to make calls to 515 from any extension and have them route to the blackberry and calls to 565 are similarly routed to the softphone… now from both the blackberry and the softphone i am able to make calls to certain extensions but not others. for example a call to ext 469 will work but a call to 435 will not.

not more then an hour ago, all extensions were working fine and i havent changed anything since. :S

i have a general context that routes calls similarly for all 400 extensions
exten => _4XX,1,Dial(Zap/1/${EXTEN}) so i am at a complete loss.