<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>Hi everyone,</div><div><br></div><div>I&#39;m trying to catch the CAUSE IE into the ISDN NI2 Progress Message with Sangoma A108 card using LibPRI.  </div>

<div>Based on the Log bellow, the OZMOD_libpri catch the CAUSE IE, but at the event_socket, there is no element with that specification.</div><div><br></div><div>This is very important because the most carrier doesn&#39;t send (90% of the time) the SIT tone UNALLOCATED, and also return NORMAL_CLEARING cause in the disconnect.   </div>

<div>They send a progress message with an Unallocated (unassigned) Cause IE and play a message on the voice path for a end user.  When you have a machine on the other side it&#39;s not easy to catch.</div><div><br></div>
<div>
I&#39;ve take a look into the ozmod_libpri.c and I didn&#39;t found any code related to LPWRAP_PRI_EVENT_PROGRESS.  The print-out come probably from LPWRAP_PRI_EVENT_ANY (on_anything) function.</div><div><br></div><div>Is there a way to push it to the event_socket remote application?</div>

<div><br></div><div>Thanks for your answer.</div><div><br></div><div>----------------------------------------------------------------------</div><div><br></div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 Handling message for SAPI/TEI=0/0</div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- ACKing all packets from 4 to (but not including) 5</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Since there was nothing left, stopping T200 counter</div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Stopping T203 counter since we got an ACK</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Nothing left, starting T203 counter</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; Protocol Discriminator: Q.931 (8)  len=13</div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; Call Ref: len= 2 (reference 3/0x3) (Terminator)</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; Message type: PROGRESS (3)</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; [08 02 80 81]</div>

<div><b>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)</b></div><div><b>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt;                  Ext: 1  Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]</b></div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; [1e 02 80 88]</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt; Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: User (0)</div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &lt;                               Ext: 1  Progress Description: Inband information or appropriate pattern now available. (8) ]</div><div><b>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Processing IE 8 (cs0, Cause)</b></div>

<div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Processing IE 30 (cs0, Progress Indicator)</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 Sending Receiver Ready (6)</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106</div>

<div>&gt; [ 02 01 01 0c ]</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106</div><div>&gt; Supervisory frame:</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &gt; SAPI: 00  C/R: 1 EA: 0</div>

<div>&gt;  TEI: 000        EA: 1</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 &gt; Zero: 0     S: 0 01: 1  [ RR (receive ready) ]</div><div>&gt; N(R): 006 P/F: 0</div><div>&gt; 0 bytes of data</div><div>

2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Restarting T203 timer</div><div>2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:979 Caught Event span 1 17 (PROGRESS)</div><div><br></div></span>