[Freeswitch-users] TDM API: CMD: 18 : Operation not supported

Peter P GMX Prometheus001 at gmx.net
Mon Aug 3 12:40:36 PDT 2009


Hello,

I setup libpri and a sangoma card A108DE, but I cannot dial out.
At startup I receive on the D channel
    TDM API: CMD: 18 : Operation not supported

When dialling Libpri debug shows that the numbering plan is fine and
that it accepts the screened number, but then it finally hangs up with:
       Ext: 1  Cause: Info. element nonexist or not implemented (99),
class = Protocol Error (e.g. unknown message) (6) ]

Does lipri sent any incorrect message here? Protocol is EuroISDN
(Q.931/Q.921).
Anybody has discovered this already?

I am on trunk 14419.

See debug and configs below.

Best regards
Peter

Starting FS:
2009-08-03 21:37:18.264829 [DEBUG] zap_io.c:2281 span 1 [d-channel]=[1:16]
TDM API: CMD: 18
: Operation not supported
2009-08-03 21:37:18.264915 [INFO] ozmod_wanpipe.c:287 configuring device
s1c16 as OpenZAP device 1:16 fd:55 DTMF: none
2009-08-03 21:37:18.264929 [DEBUG] zap_io.c:2281 span 1
[b-channel]=[1:17-31]

Dialling:
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 Handling message
for SAPI/TEI=0/0
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- ACKing all
packets from 3 to (but not including) 4
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- Since there was
nothing left, stopping T200 counter
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- Stopping T203
counter since we got an ACK
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- Nothing left,
starting T203 counter
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < Protocol
Discriminator: Q.931 (8)  len=14
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < Call Ref: len= 2
(reference 5/0x5) (Terminator)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < Message type:
STATUS (125)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < [08 04 82 e3 98 74]
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < Cause (len= 6) [
Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: Public
network serving the local user (2)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 <                 
Ext: 1  Cause: Info. element nonexist or not implemented (99), class =
Protocol Error (e.g. unknown message) (6) ]
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 <             
Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 <             
Cause data 2: 74 (116, Redirecting Number IE)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < [14 01 01]
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 < Call State (len=
3) [ Ext: 0  Coding: CCITT (ITU) standard (0)  Call state: Call
Initiated (1)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- Processing IE 8
(cs0, Cause)
2009-08-03 21:16:19.441416 [DEBUG] ozmod_libpri.c:106 -- Processing IE
20 (cs0, Call State)
2009-08-03 21:16:19.441416 [ERR] ozmod_libpri.c:88 Received unsolicited
status: Info. element nonexist or not implemented

openzap.conf
[span wanpipe PRI_1]
number => 1
trunk_type => E1
b-channel => 1:1-15
d-channel => 1:16
b-channel => 1:17-31

openzap.conf.xml
<configuration name="openzap.conf" description="OpenZAP Configuration">
   <settings>
     <param name="debug" value="10"/>
   </settings>
   <libpri_spans>
     <span name="PRI_1">
        <param name="node" value="cpe"/>
        <param name="dp" value="national"/>
        <param name="l1" value="alaw"/>
        <param name="switch" value="euroisdn"/>
        <param name="dialplan" value="XML"/>
        <param name="context" value="public"/>
      </span>
   </libpri_spans>





More information about the FreeSWITCH-users mailing list