[Asterisk-Users] Cannot receive incoming calls via ISDN

Igor Colombi i.colombi at gmail.com
Wed Jun 1 12:33:03 MST 2005


I'm experimenting with asterisk. This is my environment:

- Debian sarge (vanilla kernel 2.4.29)
- Asterisk 1.0.7-BRIstuffed-0.2.0-RC8g
- Two sip phones (One cisco 7905 and one soft-phones X-Lite)
- Digi International Datafire Micro V (Europe) (rev 02) (zaphfc)

After two days of work now  I can call between the two sip phones and
I can call from sip phones to outside numbers via ISDN card.

Now I'm not able to call one of the two numbers assigned to the ISDN
line and forward the call to the sip phones. When I try to call my two
assigned number I can't get any response.

This im my configuration:

***
ztcfg -vvv

Zaptel Configuration
======================

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)

3 channels configured.
***
cat /etc/zaptel.conf

loadzone=it
defaultzone=it
span=1,1,3,ccs,ami
bchan=1-2
dchan=3

***
cat /etc/asterisk/zapata.conf

[channels]
switchtype = euroisdn
signalling = bri_cpe
context=incoming
usecallerid=yes
echocancel=yes
callprogress=yes
transfer=yes
setcallerid(""<${CALLERIDNUM}>)
overlapdial=yes
immediate=no
callgroup = 1
group = 1
channel => 1-2
language=it

***
*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            incoming        it
      1            incoming
      2            incoming
***
*CLI> show dialplan
[ Context 'incoming' created by 'pbx_config' ]
  '+390372xxxxxx' => 1. Dial(SIP/cisco2)                           [pbx_config]
  '00372xxxxxx' =>  1. Dial(SIP/cisco2)                           [pbx_config]
  'xxxxxx' =>         1. Dial(SIP/cisco2)                           [pbx_config]
  '0372xxxxxx' =>   1. Dial(SIP/cisco2)                           [pbx_config]
  '390372xxxxxx' => 1. Dial(SIP/cisco2)                           [pbx_config]
  'xxxx' =>       1. Dial(SIP/cisco2)                           [pbx_config]


[ Context 'default' created by 'pbx_config' ]
  '100' =>          1. dial(SIP/topper)                           [pbx_config]
  '103' =>          1. dial(SIP/cisco2)                           [pbx_config]
  'cisco2' =>       1. goto(103|1)                                [pbx_config]
  'topper' =>       1. goto(100|1)                                [pbx_config]
  '_0.' =>          1. Dial(Zap/g1/${EXTEN})                      [pbx_config]

***

I'm in stale: if I call "cisco2" via sip it works, but when i try to
call from an external line the number 0372xxxxxx (xxxxxx is omitted)
nothing happens. What can I do to debug this?

Thanks in advance for you attention.

Igor



More information about the asterisk-users mailing list