<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>Cannot call Alcatel PBX extn from SIP</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi All<BR>
<BR>
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 :<BR>
WARNING[14759] app_dial.c: Unable to forward voice<BR>
<BR>
in /var/log/asterisk/messages and following output on the CLI:<BR>
----------------------------<BR>
<BR>
Executing Dial("SIP/shashi-08910350", "Zap/g1/873|20") in new stack<BR>
-- Making new call for cr 32776<BR>
-- Requested transfer capability: 0x00 - SPEECH<BR>
> Protocol Discriminator: Q.931 (8) len=45<BR>
> Call Ref: len= 2 (reference 8/0x8) (Originator)<BR>
> Message type: SETUP (5)<BR>
> [04 03 80 90 a3]<BR>
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<BR>
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<BR>
> Ext: 1 User information layer 1: A-Law (35)<BR>
> [18 03 a9 83 81]<BR>
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0<BR>
> ChanSel: Reserved<BR>
> Ext: 1 Coding: 0 Number Specified Channel Type: 3<BR>
> Ext: 1 Channel: 1 ]<BR>
> [28 0e 53 68 61 73 68 69 20 50 72 61 6b 61 73 68]<BR>
> Display (len=14) $R[ Shashi Prakash ]<BR>
> [6c 06 00 80 39 38 31 30]<BR>
> Calling Number (len= 8) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)<BR>
> Presentation: Presentation permitted, user number not screened (0) '9810' ]<BR>
> [70 04 80 38 37 33]<BR>
> Called Number (len= 6) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '873' ]<BR>
-- Called g1/873<BR>
< Protocol Discriminator: Q.931 (8) len=10<BR>
< Call Ref: len= 2 (reference 8/0x8) (Terminator)<BR>
< Message type: CALL PROCEEDING (2)<BR>
< [18 03 a9 83 81]<BR>
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0<BR>
< ChanSel: Reserved<BR>
< Ext: 1 Coding: 0 Number Specified Channel Type: 3<BR>
< Ext: 1 Channel: 1 ]<BR>
-- Processing IE 24 (cs0, Channel Identification)<BR>
-- Zap/1-1 is proceeding passing it to SIP/shashi-08910350<BR>
< Protocol Discriminator: Q.931 (8) len=9<BR>
< Call Ref: len= 2 (reference 8/0x8) (Terminator)<BR>
< Message type: RELEASE (77)<BR>
< [08 02 81 9c]<BR>
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<BR>
< Ext: 1 Cause: Invalid number format (28), class = Normal Event (1) ]<BR>
-- Processing IE 8 (cs0, Cause)<BR>
-- Channel 0/1, span 1 got hangup<BR>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request<BR>
> Protocol Discriminator: Q.931 (8) len=9<BR>
> Call Ref: len= 2 (reference 8/0x8) (Originator)<BR>
> Message type: RELEASE COMPLETE (90)<BR>
> [08 02 81 90]<BR>
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<BR>
> Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]<BR>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null<BR>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null<BR>
-- Hungup 'Zap/1-1'<BR>
== Everyone is busy/congested at this time (1:0/0/1)<BR>
== Auto fallthrough, channel 'SIP/shashi-08910350' status is 'CHANUNAVAIL'<BR>
<BR>
--------------------<BR>
Hers's my extensions.conf<BR>
<BR>
[general]<BR>
static=yes<BR>
writeprotect=no<BR>
<BR>
autofallthrough=yes<BR>
<BR>
[sip]<BR>
exten => 9820,1,Dial(SIP/iyer)<BR>
exten => 9821,1,Dial(SIP/shweta)<BR>
exten => 9810,1,Dial(SIP/shashi)<BR>
exten => 873,1,Dial(Zap/g1/873)<BR>
<BR>
[incoming]<BR>
exten => 9820,1,Dial(SIP/iyer)<BR>
exten => 9821,1,Dial(SIP/shweta)<BR>
exten => 9810,1,Dial(SIP/shashi)<BR>
exten => _XXX,1,Dial(Zap/g1/${EXTEN},20)<BR>
<BR>
here's sip.conf<BR>
<BR>
[general]<BR>
context=default ; Default context for incoming calls<BR>
bindport=5060 ; UDP Port to bind to (SIP standard port is 5060)<BR>
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)<BR>
srvlookup=yes ; Enable DNS SRV lookups on outbound calls<BR>
language=en ; Default language setting for all users/peers<BR>
<BR>
[iyer]<BR>
type=friend<BR>
context=incoming<BR>
username=iyer<BR>
fromuser=iyer<BR>
callerid=K Y Iyer <9820><BR>
host=dynamic<BR>
nat=no<BR>
canreinvite=yes<BR>
disallow=all<BR>
allow=ulaw<BR>
alow=alaw<BR>
<BR>
[shweta]<BR>
type=friend<BR>
context=incoming<BR>
username=shweta<BR>
fromuser=shweta<BR>
callerid=Shweta Jain <9821><BR>
host=dynamic<BR>
nat=no<BR>
canreinvite=yes<BR>
disallow=all<BR>
allow=gsm<BR>
allowguest=yes<BR>
allow=alaw<BR>
allow=ulaw<BR>
<BR>
[shashi]<BR>
type=friend<BR>
context=incoming<BR>
username=shashi<BR>
fromuser=shashi<BR>
callerid=Shashi Prakash <9810><BR>
host=dynamic<BR>
nat=no<BR>
canreinvite=yes<BR>
disallow=all<BR>
allow=gsm<BR>
allow=alaw<BR>
allow=ulaw<BR>
<BR>
here's zapata.conf<BR>
[trunkgroups]<BR>
<BR>
[channels]<BR>
language=uk<BR>
context=default<BR>
switchtype=euroisdn<BR>
signalling=pri_cpe<BR>
rxwink=300<BR>
usecallerid=yes<BR>
hidecallerid=no<BR>
callwaiting=yes<BR>
usecallingpres=yes<BR>
callwaitingcallerid=yes<BR>
threewaycalling=yes<BR>
transfer=yes<BR>
canpark=yes<BR>
cancallforward=yes<BR>
callreturn=yes<BR>
echocancel=yes<BR>
echocancelwhenbridged=yes<BR>
rxgain=0.0<BR>
txgain=0.0<BR>
group=1<BR>
callgroup=1<BR>
pickupgroup=1<BR>
immediate=no<BR>
overlapdial=yes<BR>
pridialplan=unknown<BR>
prilocaldialplan=unknown<BR>
channel => 1-15,17-31<BR>
<BR>
heres zaptel.conf<BR>
<BR>
span=1,1,0,ccs,hdb3,crc4<BR>
bchan=1-15<BR>
dchan=16<BR>
bchan=17-31<BR>
loadzone=us<BR>
defaultzone=us<BR>
<BR>
cat /proc/interrupts shows<BR>
CPU0 CPU1<BR>
0: 23695466 23709804 IO-APIC-edge timer<BR>
1: 10145 11256 IO-APIC-edge i8042<BR>
2: 0 0 XT-PIC cascade<BR>
8: 1 0 IO-APIC-edge rtc<BR>
129: 20456 20303 IO-APIC-level aic7xxx<BR>
137: 615749 58 IO-APIC-level eth0<BR>
153: 243782 226271 IO-APIC-level uhci_hcd<BR>
161: 23107351 23110554 IO-APIC-level wcte11xp<BR>
NMI: 0 0<BR>
LOC: 47411962 47411929<BR>
ERR: 0<BR>
MIS: 0<BR>
<BR>
<BR>
Does anybody have a clue whats the cause of the problem...I dont get errors anywhere and all alarms are OK.<BR>
<BR>
Any help would be greatly appreciated.<BR>
<BR>
thanks<BR>
Shweta<BR>
</FONT>
</P>
</BODY>
</HTML>