[Freeswitch-users] Cause IE in Progress Message (Sangoma, LibPRI)

sdemers@q4innovation.com q4innovation at gmail.com
Thu Aug 26 10:02:20 PDT 2010


Hi everyone,

I'm trying to catch the CAUSE IE into the ISDN NI2 Progress Message with
Sangoma A108 card using LibPRI.
Based on the Log bellow, the OZMOD_libpri catch the CAUSE IE, but at the
event_socket, there is no element with that specification.

This is very important because the most carrier doesn't send (90% of the
time) the SIT tone UNALLOCATED, and also return NORMAL_CLEARING cause in the
disconnect.
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's not easy to catch.

I've take a look into the ozmod_libpri.c and I didn't found any code related
to LPWRAP_PRI_EVENT_PROGRESS.  The print-out come probably
from LPWRAP_PRI_EVENT_ANY (on_anything) function.

Is there a way to push it to the event_socket remote application?

Thanks for your answer.

----------------------------------------------------------------------

2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 Handling message for
SAPI/TEI=0/0
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- ACKing all packets
from 4 to (but not including) 5
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Since there was
nothing left, stopping T200 counter
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Stopping T203
counter since we got an ACK
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Nothing left,
starting T203 counter
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < Protocol
Discriminator: Q.931 (8)  len=13
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < Call Ref: len= 2
(reference 3/0x3) (Terminator)
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < Message type:
PROGRESS (3)
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < [08 02 80 81]
*2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < Cause (len= 4) [
Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)*
*2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 <
 Ext: 1  Cause: Unallocated (unassigned) number (1), class = Normal Event
(0) ]*
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < [1e 02 80 88]
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 < Progress Indicator
(len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: User
(0)
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 <
          Ext: 1  Progress Description: Inband information or appropriate
pattern now available. (8) ]
*2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Processing IE 8
(cs0, Cause)*
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Processing IE 30
(cs0, Progress Indicator)
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 Sending Receiver Ready
(6)
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106
> [ 02 01 01 0c ]
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106
> Supervisory frame:
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 > SAPI: 00  C/R: 1 EA:
0
>  TEI: 000        EA: 1
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 > Zero: 0     S: 0 01:
1  [ RR (receive ready) ]
> N(R): 006 P/F: 0
> 0 bytes of data
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:106 -- Restarting T203
timer
2010-08-26 11:01:08.849421 [DEBUG] ozmod_libpri.c:979 Caught Event span 1 17
(PROGRESS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100826/6cdb7217/attachment.html 


More information about the FreeSWITCH-users mailing list