Google
  Web www.spinics.net

Re: OPAL problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi there,
            I was able to succesfully compile opal. I want to use it as a 
SIP-H323 GW. But, I have no idea of how to do it.
I've tried the simpleopal application in the following scenario:

        |---------|                       |------------|
        |    *    |                      | gnugk  |
        |---------|\                     |------------|
       /             \	                /           \
      /                \              /              \
|---------|              |--------|  /                 \|----------|
|         |              |        |                     |          |
|---------|              |--------|                     |----------|  
GrandStream       SimpleOpal              Planet IP Phone
SIP Phone

SimpleOpal succesfully connects to my Asterisk's SIP Proxy and to gnugk's GK.
But, when I make a SIP call to SimpleOpal, I get the following error output:

  0:11.683        Opal Listener:8c2f6a8   transports.cxx(1313)  Opal    
Transport clean up on termination
  0:38.003        Opal Listener:8c2f6a8   transports.cxx(1642)  OpalUDP 
Pre-bound to interface: 192.168.0.220:5060
  0:38.005        Opal Listener:8c2f6a8          sdp.cxx(555)   SDP     Adding 
media session with 6 formats
  0:38.006        Opal Listener:8c2f6a8       sippdu.cxx(1165)  Received SIP 
PDU: INVITE sip:1004@192.168.0.220 SIP/2.0 on 
udp$192.168.10.206:5060<if=udp$192.168.0.220:5060>
  0:38.008        Opal Listener:8c2f6a8         call.cxx(140)   Call    
Created Call[1]
  0:38.008        Opal Listener:8c2f6a8   connection.cxx(222)   OpalCon 
Created connection 
Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:38.009        Opal Listener:8c2f6a8      rfc2833.cxx(72)    RFC2833 
Handler created
  0:38.009        Opal Listener:8c2f6a8   transports.cxx(1628)  OpalUDP 
Binding to interface: 192.168.0.220:32774
  0:38.010        Opal Listener:8c2f6a8       sipcon.cxx(235)   SIP     
Created connection.
  0:38.011        Opal Listener:8c2f6a8   transports.cxx(1313)  Opal    
Transport clean up on termination
  0:38.012          SIP Handler:8c9e4e0       sipcon.cxx(1060)  SIP     PDU 
handler thread started.
  0:38.019          SIP Handler:8c9e4e0       sippdu.cxx(1202)  Sending SIP 
PDU: 100 Trying on udp$192.168.10.206:5060<if=udp$192.168.0.220:32774>
  0:38.029          SIP Handler:8c9e4e0      manager.cxx(501)   OpalMan On 
incoming connection 
Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:38.039          SIP Handler:8c9e4e0      manager.cxx(478)   OpalMan Set up 
connection to "pc:*"
  0:39.325          SIP Handler:8c9e4e0   connection.cxx(222)   OpalCon 
Created connection Call[1]-EP<pc>[]
  0:39.333          SIP Handler:8c9e4e0      rfc2833.cxx(72)    RFC2833 
Handler created
  0:39.338          SIP Handler:8c9e4e0         pcss.cxx(293)   PCSS    
Created PC sound system connection.
  0:39.344          SIP Handler:8c9e4e0       sipcon.cxx(813)   SIP     
OnIncomingConnection succeeded for INVITE from sip:1004@192.168.0.220 for 
Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.357          SIP Handler:8c9e4e0         call.cxx(235)   Call    
OnSetUp Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.366          SIP Handler:8c9e4e0         pcss.cxx(307)   PCSS    
SetUpConnection(421493f77f52372112dad8af1e1579c5@192.168.10.206)
  0:39.374          SIP Handler:8c9e4e0      manager.cxx(551)   OpalMan 
OnConnected Call[1]-EP<pc>[]
  0:39.380          SIP Handler:8c9e4e0         call.cxx(283)   Call    
OnConnected Call[1]-EP<pc>[]
  0:39.386          SIP Handler:8c9e4e0       sipcon.cxx(347)   SIP     
SetConnected
  0:39.391          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type G729 matched to audio codec G.729
  0:39.399          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type G7231 matched to audio codec G.723.1
  0:39.405          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type PCMU matched to audio codec G.711-uLaw-64k
  0:39.412          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type PCMA matched to audio codec G.711-ALaw-64k
  0:39.419          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type [pt=97] matched to audio codec iLBC-13k3
  0:39.425          SIP Handler:8c9e4e0          sdp.cxx(448)   SIP     RTP 
payload type [pt=101] matched to audio codec UserInput/RFC2833
  0:39.435          SIP Handler:8c9e4e0          rtp.cxx(1639)  RTP_UDP 
Session 1 created: 192.168.0.220:5000-5001 ssrc=2698277341
  0:39.443          SIP Handler:8c9e4e0          rtp.cxx(1437)  RTP     Adding 
session RTP_UDP
  0:39.448          SIP Handler:8c9e4e0          rtp.cxx(1689)  RTP_UDP 
SetRemoteSocketInfo: session=1 data channel, new=192.168.10.206:14286, 
local=192.168.0.220:5000-5001, remote=0.0.0.0:0-0
  0:39.460          SIP Handler:8c9e4e0         call.cxx(428)   Call    
OpenSourceMediaStreams for session 1 with media 
G.723.1,G.729,G.711-uLaw-64k,G.711-ALaw-64k,iLBC-13k3,UserInput/RFC2833
  0:39.472          SIP Handler:8c9e4e0   connection.cxx(405)   OpalCon 
OpenSourceMediaStream for session 1 on Call[1]-EP<pc>[]
  0:39.484          SIP Handler:8c9e4e0   connection.cxx(421)   OpalCon 
Selected media stream PCM-16 -> G.711-uLaw-64k
  0:39.491          SIP Handler:8c9e4e0         pcss.cxx(239)   PCSS    Could 
not open sound channel "" for recording:
  0:39.498          SIP Handler:8c9e4e0   connection.cxx(426)   OpalCon 
CreateMediaStream returned NULL for session 1 on Call[1]-EP<pc>[]
  0:39.507          SIP Handler:8c9e4e0       sipcon.cxx(421)   SIP     Could 
not find compatible codecs
  0:39.513          SIP Handler:8c9e4e0          rtp.cxx(1448)  RTP     
Releasing session 1
  0:39.518          SIP Handler:8c9e4e0          rtp.cxx(1454)  RTP     
Deleting session 1
  0:39.523          SIP Handler:8c9e4e0          rtp.cxx(1658)  RTP_UDP 
Session 1, Shutting down read.
  0:39.530          SIP Handler:8c9e4e0          rtp.cxx(1671)  RTP_UDP 
Session 1, Shutting down write.
  0:39.536          SIP Handler:8c9e4e0   connection.cxx(312)   OpalCon Call 
end reason for 421493f77f52372112dad8af1e1579c5@192.168.10.206 set to 
EndedByCapabilityExchange
  0:39.547          SIP Handler:8c9e4e0         call.cxx(578)   Call    
Releasing connection 
Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.565          SIP Handler:8c9e4e0         call.cxx(417)   Call    
GetMediaFormats for 
Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
GSM-06.10
G.711-uLaw-64k
G.711-ALaw-64k
PCM-16
iLBC-15k2
iLBC-13k3
SpeexNarrow-18.2k
SpeexNarrow-15k
SpeexNarrow-11k
SpeexNarrow-8k
SpeexNarrow-5.95k
LPC-10
MS-IMA-ADPCM
MS-GSM
RGB24
YUV420P
RGB32
H.261

  0:39.588          SIP Handler:8c9e4e0         call.cxx(428)   Call    
OpenSourceMediaStreams for session 1 with media 
GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,PCM-16,iLBC-15k2,iLBC-13k3,SpeexNarrow-18.2k,SpeexNarrow-15k,SpeexNarrow-11k,SpeexNarrow-8k,SpeexNarrow-5.95k,LPC-10,MS-IMA-ADPCM,MS-GSM,RGB24,YUV420P,RGB32,H.261
  0:39.608          SIP Handler:8c9e4e0   connection.cxx(405)   OpalCon 
OpenSourceMediaStream for session 1 on Call[1]-EP<pc>[]
  0:39.616          SIP Handler:8c9e4e0   connection.cxx(421)   OpalCon 
Selected media stream PCM-16 -> GSM-06.10
  0:39.623          SIP Handler:8c9e4e0         pcss.cxx(239)   PCSS    Could 
not open sound channel "" for recording:
  0:39.630          SIP Handler:8c9e4e0   connection.cxx(426)   OpalCon 
CreateMediaStream returned NULL for session 1 on Call[1]-EP<pc>[]
  0:39.639          SIP Handler:8c9e4e0      manager.cxx(543)   OpalMan 
OnAlerting Call[1]-EP<pc>[]
  0:39.645          SIP Handler:8c9e4e0         call.cxx(258)   Call    
OnAlerting Call[1]-EP<pc>[]
  0:39.651                  OpalGarbage       sipcon.cxx(250)   SIP     
OnReleased: Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.651                  OpalGarbage       sippdu.cxx(1202)  Sending SIP 
PDU: 414 Unsupported Media Type on 
udp$192.168.10.206:5060<if=udp$192.168.0.220:32774>
  0:39.652                  OpalGarbage       sipcon.cxx(298)   SIP     
Received OnReleased in phase SetUpPhase
  0:39.653                  OpalGarbage      manager.cxx(559)   OpalMan 
OnReleased Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.653                  OpalGarbage         call.cxx(555)   Call    
OnReleased Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206]
  0:39.654                  OpalGarbage   connection.cxx(312)   OpalCon Call 
end reason for  set to EndedByCapabilityExchange
  0:39.654        Opal Listener:8c2f6a8   transports.cxx(1642)  OpalUDP 
Pre-bound to interface: 192.168.0.220:5060
  0:39.656        Opal Listener:8c2f6a8       sippdu.cxx(1165)  Received SIP 
PDU: ACK sip:1004@192.168.0.220 SIP/2.0 on 
udp$192.168.10.206:5060<if=udp$192.168.0.220:5060>
  0:39.657        Opal Listener:8c2f6a8       sippdu.cxx(1202)  Sending SIP 
PDU: 481 Call Leg/Transaction Does Not Exist on 
udp$192.168.10.206:5060<if=udp$192.168.0.220:5060>
  0:39.658        Opal Listener:8c2f6a8   transports.cxx(1313)  Opal    
Transport clean up on termination
  0:39.659          SIP Handler:8c9e4e0       sipcon.cxx(1078)  SIP     PDU 
handler thread finished.
  0:39.667                  OpalGarbage   transports.cxx(1313)  Opal    
Transport clean up on termination
  0:39.668                  OpalGarbage   transports.cxx(1313)  Opal    
Transport clean up on termination
  0:39.668                  OpalGarbage       sipcon.cxx(244)   SIP     
Deleted connection.
  0:39.669                  OpalGarbage   connection.cxx(248)   OpalCon 
Connection Call[1]-EP<sip>[421493f77f52372112dad8af1e1579c5@192.168.10.206] 
destroyed.
  0:39.669                  OpalGarbage      manager.cxx(559)   OpalMan 
OnReleased Call[1]-EP<pc>[]
  0:39.670                  OpalGarbage         call.cxx(555)   Call    
OnReleased Call[1]-EP<pc>[]
  0:39.670                  OpalGarbage         pcss.cxx(299)   PCSS    
Deleted PC sound system connection.
  0:39.670                  OpalGarbage   connection.cxx(248)   OpalCon 
Connection Call[1]-EP<pc>[] destroyed.
Could not find common codec with "", on Mon 3:51PM. Duration  0:01s.
  0:39.671                  OpalGarbage         call.cxx(146)   Call    
Call[1] destroyed.

And when I try to make an H323 call to simpleopal, the call never gets 
stablished.

What can I do here? All I need, is the opal to work as an H323-SIP Gateway.
Please, give me some hints here.

       greetings,
                     Pablo Salinas





On Sunday 25 April 2004 22:07, Robert Jongbloed wrote:
> On Thu, 15 Apr 2004 15:21:22 -0400
>
> pesb <pesb@conexion.com.py> wrote:
> >                 I have been trying to install opal on my Fedora Core 1
> > P-IV machine. I have downloaded it with the pwlib library from openh323
> > cvs. I have succesfully compiled pwlib through the configure and make all
> > commands. After that I did configure and make all on the opal directory.
> > Everything went just fine, but when I tried to execute the
> > /opal/samples/opalgw/obj_linux_x86_d/opalgw application I get the
> > following error message:
> >
> > ./opalgw: error while loading shared libraries:
> > libopal_linux_x86_d.so.2.0.5: cannot open shared object file: No such
> > file or directory
>
> ....
>
> > Please, somebody help me.
>
> Sorry for the slow reply. If you use the latest pwlib/opal etc from teh
> CVS this problem should be fixed.
>
>
> -----
> Robert Jongbloed
> OpenH323 & OPAL Architect.
>
> ------------------------------------------------------------------------
> Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
> The OpenH323 Project mailing list, using Mailman. To unsubscribe or
> change your subscription options, goto
> http://www.openh323.org/mailman/listinfo/openh323
> Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
> ------------------------------------------------------------------------

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscribe or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------

[Open H.323]     [IETF SIP]     [Gnu Gatekeeper]     [Asterisk PBX]     [Fedora Linux]     [Gimp]     [Yosemite News]     [Yosemite Photos]     [Yosemite Campsites]     [ISDN Cause Codes]

Add to Google Powered by Linux