<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre wrap=""><div class="moz-txt-sig"><pre wrap="">Dear Matthew,
Thank you for your reply.
Please tell me if there is any way I can see the actual q931 message received from the card without any translation / filtration / alteration by the software or the driver ?
How much the switch type or other configuration variables affect the SETUP message being received ? What I am concerned is that may be the wrong switch type or other parameter may be causing the problem.
This is my first attempt at configuring an ISDN, and I want to be sure before I go after the telco.
</pre>
<pre class="moz-signature" cols="72">--
Regards,
Nasir.</pre>
A.R. Nasir Qureshi wrote:
</div></pre>
<blockquote qctoggled="true" type="cite">
<pre wrap=""><span class="moz-txt-citetags">> </span>Dear All,
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>I am trying to setup an ISDN line from local telco on a digium card. The
<span class="moz-txt-citetags">> </span>problem I am facing is that I am not getting any caller id from the
<span class="moz-txt-citetags">> </span>telco. They say that they have enabled caller id.
</pre>
</blockquote>
<pre wrap=""><!---->
Dear Matthew,
Thank you for your reply.
Please tell me if there is any way I can see the actual q931 message received from the card without any translation / filtration / alteration by the software or the driver ?
How much the switch type or other configuration variables affect the SETUP message ?
This is my first attempt at configuring an ISDN, and I want to be sure before I go after the telco.
Tell them they are wrong. There is no calling party number IE in that
SETUP message below. <span class="moz-smiley-s1"><span> :-) </span></span>
Matthew Fredrickson
Digium, Inc.
</pre>
<blockquote qctoggled="true" type="cite">
<pre wrap=""><span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>Please help me out.
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>My zapata.conf
<span class="moz-txt-citetags">> </span>--------------------------------------------------------------------------------------------------------------------
<span class="moz-txt-citetags">> </span>[trunkgroups]
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>[channels]
<span class="moz-txt-citetags">> </span>context=pstnincoming
<span class="moz-txt-citetags">> </span>pridialplan=local
<span class="moz-txt-citetags">> </span>prilocaldialplan=local
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>usecallerid=yes
<span class="moz-txt-citetags">> </span>cidsignalling=v23
<span class="moz-txt-citetags">> </span>cidstart=ring
<span class="moz-txt-citetags">> </span>hidecallerid=no
<span class="moz-txt-citetags">> </span>callwaiting=no
<span class="moz-txt-citetags">> </span>usecallingpres=yes
<span class="moz-txt-citetags">> </span>sendcalleridafter=1
<span class="moz-txt-citetags">> </span>echocancel=no
<span class="moz-txt-citetags">> </span>echocancelwhenbridged=no
<span class="moz-txt-citetags">> </span>rxgain=0.0
<span class="moz-txt-citetags">> </span>txgain=0.0
<span class="moz-txt-citetags">> </span>callgroup=1
<span class="moz-txt-citetags">> </span>pickupgroup=1
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>immediate=no
<span class="moz-txt-citetags">> </span>callerid=asreceived
<span class="moz-txt-citetags">> </span>busydetect=no
<span class="moz-txt-citetags">> </span>busycount=6
<span class="moz-txt-citetags">> </span>callprogress=no
<span class="moz-txt-citetags">> </span>faxdetect=incoming
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>switchtype = national
<span class="moz-txt-citetags">> </span>signalling = pri_cpe
<span class="moz-txt-citetags">> </span>group = 1
<span class="moz-txt-citetags">> </span>channel => 1-15,17-31
<span class="moz-txt-citetags">> </span>channel => 32-46,48-62
<span class="moz-txt-citetags">> </span>--------------------------------------------------------------------------------------------------------------------
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>The information I get from using "pri intense debug span 1" is:
<span class="moz-txt-citetags">> </span>--------------------------------------------------------------------------------------------------------------------
<span class="moz-txt-citetags">> </span>< [ 02 01 16 9c 08 02 15 01 05 04 03 80 90 a3 18 03 a1 83 81 70 08 c1 34
<span class="moz-txt-citetags">> </span>33 39 32 38 34 32 a1 ]
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>< Informational frame:
<span class="moz-txt-citetags">> </span>< SAPI: 00 C/R: 1 EA: 0
<span class="moz-txt-citetags">> </span>< TEI: 000 EA: 1
<span class="moz-txt-citetags">> </span>< N(S): 011 0: 0
<span class="moz-txt-citetags">> </span>< N(R): 078 P: 0
<span class="moz-txt-citetags">> </span>< 26 bytes of data
<span class="moz-txt-citetags">> </span>Handling message for SAPI/TEI=0/0
<span class="moz-txt-citetags">> </span>-- ACKing all packets from 77 to (but not including) 78
<span class="moz-txt-citetags">> </span>-- Since there was nothing left, stopping T200 counter
<span class="moz-txt-citetags">> </span>-- Stopping T203 counter since we got an ACK
<span class="moz-txt-citetags">> </span>-- Nothing left, starting T203 counter
<span class="moz-txt-citetags">> </span>< Protocol Discriminator: Q.931 (8) len=26
<span class="moz-txt-citetags">> </span>< Call Ref: len= 2 (reference 5377/0x1501) (Originator)
<span class="moz-txt-citetags">> </span>< Message type: SETUP (5)
<span class="moz-txt-citetags">> </span>< [04 03 80 90 a3]
<span class="moz-txt-citetags">> </span>< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer
<span class="moz-txt-citetags">> </span>capability: Speech (0)
<span class="moz-txt-citetags">> </span>< Ext: 1 Trans mode/rate: 64kbps,
<span class="moz-txt-citetags">> </span>circuit-mode (16)
<span class="moz-txt-citetags">> </span>< User information layer 1: A-Law (35)
<span class="moz-txt-citetags">> </span>< [18 03 a1 83 81]
<span class="moz-txt-citetags">> </span>< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0
<span class="moz-txt-citetags">> </span>Preferred Dchan: 0
<span class="moz-txt-citetags">> </span>< ChanSel: As indicated in following octets
<span class="moz-txt-citetags">> </span>< Ext: 1 Coding: 0 Number Specified Channel Type: 3
<span class="moz-txt-citetags">> </span>< Ext: 1 Channel: 1 ]
<span class="moz-txt-citetags">> </span>< [70 08 c1 34 33 39 32 38 34 32]
<span class="moz-txt-citetags">> </span>< Called Number (len=10) [ Ext: 1 TON: Subscriber Number (4) NPI:
<span class="moz-txt-citetags">> </span>ISDN/Telephony Numbering Plan (E.164/E.163) (1) '4392842' ]
<span class="moz-txt-citetags">> </span>< [a1]
<span class="moz-txt-citetags">> </span>< Sending Complete (len= 1)
<span class="moz-txt-citetags">> </span>-- Making new call for cr 5377
<span class="moz-txt-citetags">> </span>-- Processing Q.931 Call Setup
<span class="moz-txt-citetags">> </span>-- Processing IE 4 (cs0, Bearer Capability)
<span class="moz-txt-citetags">> </span>-- Processing IE 24 (cs0, Channel Identification)
<span class="moz-txt-citetags">> </span>-- Processing IE 112 (cs0, Called Party Number)
<span class="moz-txt-citetags">> </span>-- Processing IE 161 (cs0, Sending Complete)
<span class="moz-txt-citetags">> </span>q931.c:3509 q931_receive: call 5377 on channel 1 enters state 6 (Call
<span class="moz-txt-citetags">> </span>Present)
<span class="moz-txt-citetags">> </span>Sending Receiver Ready (12)
<span class="moz-txt-citetags">> </span>
<span class="moz-txt-citetags">> </span>--------------------------------------------------------------------------------------------------------------------
<span class="moz-txt-citetags">> </span>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Regards,
Nasir.</pre>
</body>
</html>