[asterisk-users] Cannot call Alcatel PBX extn from SIP

Shweta Jain SHWETA at NDTV.COM
Thu Nov 16 02:57:29 MST 2006


Hi All

I have a TE110P card connected to Alcatel 4400 PBX thru PRI. Calls between SIP extns are all okay but I cannot make or recieve calls between SIP and PBX. I get :
WARNING[14759] app_dial.c: Unable to forward voice

in /var/log/asterisk/messages and following output on the CLI:
----------------------------

 Executing Dial("SIP/shashi-08910350", "Zap/g1/873|20") in new stack
-- Making new call for cr 32776
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=45
> Call Ref: len= 2 (reference 8/0x8) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
>                       Ext: 1  Channel: 1 ]
> [28 0e 53 68 61 73 68 69 20 50 72 61 6b 61 73 68]
> Display (len=14) $R[ Shashi Prakash ]
> [6c 06 00 80 39 38 31 30]
> Calling Number (len= 8) [ Ext: 0  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0)
>                           Presentation: Presentation permitted, user number not screened (0) '9810' ]
> [70 04 80 38 37 33]
> Called Number (len= 6) [ Ext: 1  TON: Unknown Number Type (0)  NPI: Unknown Number Plan (0) '873' ]
    -- Called g1/873
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 8/0x8) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel Type: 3
<                       Ext: 1  Channel: 1 ]
-- Processing IE 24 (cs0, Channel Identification)
    -- Zap/1-1 is proceeding passing it to SIP/shashi-08910350
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 8/0x8) (Terminator)
< Message type: RELEASE (77)
< [08 02 81 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)
<                  Ext: 1  Cause: Invalid number format (28), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
    -- Channel 0/1, span 1 got hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 8/0x8) (Originator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Unknown (16), class = Normal Event (1) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
    -- Hungup 'Zap/1-1'
  == Everyone is busy/congested at this time (1:0/0/1)
  == Auto fallthrough, channel 'SIP/shashi-08910350' status is 'CHANUNAVAIL'

--------------------
Hers's my extensions.conf

[general]
static=yes
writeprotect=no

autofallthrough=yes

[sip]
exten => 9820,1,Dial(SIP/iyer)
exten => 9821,1,Dial(SIP/shweta)
exten => 9810,1,Dial(SIP/shashi)
exten => 873,1,Dial(Zap/g1/873)

[incoming]
exten => 9820,1,Dial(SIP/iyer)
exten => 9821,1,Dial(SIP/shweta)
exten => 9810,1,Dial(SIP/shashi)
exten => _XXX,1,Dial(Zap/g1/${EXTEN},20)

here's sip.conf

[general]
context=default                 ; Default context for incoming calls
bindport=5060                   ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes                   ; Enable DNS SRV lookups on outbound calls
language=en                     ; Default language setting for all users/peers

[iyer]
type=friend
context=incoming
username=iyer
fromuser=iyer
callerid=K Y Iyer <9820>
host=dynamic
nat=no
canreinvite=yes
disallow=all
allow=ulaw
alow=alaw

[shweta]
type=friend
context=incoming
username=shweta
fromuser=shweta
callerid=Shweta Jain <9821>
host=dynamic
nat=no
canreinvite=yes
disallow=all
allow=gsm
allowguest=yes
allow=alaw
allow=ulaw

[shashi]
type=friend
context=incoming
username=shashi
fromuser=shashi
callerid=Shashi Prakash <9810>
host=dynamic
nat=no
canreinvite=yes
disallow=all
allow=gsm
allow=alaw
allow=ulaw

here's zapata.conf
[trunkgroups]

[channels]
language=uk
context=default
switchtype=euroisdn
signalling=pri_cpe
rxwink=300
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
overlapdial=yes
pridialplan=unknown
prilocaldialplan=unknown
channel => 1-15,17-31

heres zaptel.conf

span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
loadzone=us
defaultzone=us

cat /proc/interrupts shows
          CPU0       CPU1
  0:   23695466   23709804    IO-APIC-edge  timer
  1:      10145      11256    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  8:          1          0    IO-APIC-edge  rtc
129:      20456      20303   IO-APIC-level  aic7xxx
137:     615749         58   IO-APIC-level  eth0
153:     243782     226271   IO-APIC-level  uhci_hcd
161:   23107351   23110554   IO-APIC-level  wcte11xp
NMI:          0          0
LOC:   47411962   47411929
ERR:          0
MIS:          0


Does anybody have a clue whats the cause of the problem...I dont get errors anywhere and all alarms are OK.

Any help would be greatly appreciated.

thanks
Shweta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061116/9a00d48d/attachment.htm


More information about the asterisk-users mailing list