Sorry for the cross-posting of yesterday :P Damien Sandras wrote:
I mean I don't know if some of my ports are blocked by the firewall of the office...Le mardi 26 avril 2005 à 16:34 +0200, Damien Ciabrini a écrit :Hello folks I'm having troubles with GM-Opal when trying to receive SIP calls. I initiate SIP calls to the outside, but I can't receive INVITE.That should belong to gnomemeeting-devel as GnomeMeeting SIP is not a stable product yet.I suspect that my host is behind a firewall, though I'm not sure this is the problem.You have a public IP.
I've tried three different SIP clients: GM, X-lite (closed src), and Kphone. Oddly, X-lite and Kphone can both initiate and receive SIP calls without any problems.So your problem is that : - you can initiate calls - you can not receive incoming calls Is that right?
Well, it seems that GM cannot receive incoming calls while other clients can. I wonder if this comes from the way I've configured GM or of this is related to the connection mechanism (you know, the port 5061 stuff)
As you can see, for GM no INVITE message ever reached my host (vis156b)I can not see that :) Have you looked with ethereal to see if your host actually receives a message or not?
Oh sorry !I've checked with ethereal as you said, and it is now obvious that Xlite uses STUN somewhere, so this is probably why I can receive incoming calls with it. I've also tried running GM with STUN support enabled in the prefs, but it didn't make any difference. My host doesn't receive the invite message.
Please find to ethereal logs attached (xlite, GM-with-stun, GM-without-stun)
I suspect this is because GM seems to negociate the connection with the server differently than other client (see the name of the port tcpdump'd : sip-tls instead of sip)It just has a source port of 5061. But the PDUs all contain 5060 in the Contact field, so that's where they should contact you.
ok I believe you...
Does anybody can light my candle ? Can I compile OPAL differently so that GM tries to connect through the sip port (5060) instead of sip-tls (5061?) ?Currently not. But if it is the problem, then it is on their side. We see GM doesn't receive an INVITE, but does the host receive an INVITE at all?
nop (see attached logs).
Also, when are your opal/gnomemeeting versions from?
The CVS snapshot of April 21st, taken from seconix.
2005/04/26 10:08:32.945 0:00.289 gnomemeeting-snapshot GMZeroconfBrowser: Can't browse! (gnomemeeting:10353): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:10353): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failedYou need to apt-get install evolution-data-server
Actually I had some troubles with evo and my ubuntu :P
2005/04/26 10:08:34.080 0:01.424 SIP Transport:8819770 SIP Sending PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061>See the contact field.REGISTER sip:len1.host.wengo.fr SIP/2.0 CSeq: 2 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 User-Agent: GnomeMeeting/1.3.0 Authorization: Digest username="wgdam.ciabrini", realm="len1.host.wengo.fr", nonce="000000000000000000007405b258", uri="sip:len1.host.wengo.fr", response="feb00b2983f6a60eb57ced50bf894cc6", algorithm=md5 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7e69920d-98b4-d911-9ab0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr> Contact: <sip:wgdam ciabrini 194 254 174 156:5060;transport=udp>Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, SUBSCRIBE, NOTIFY, REFER, Expires: 3600Content-Length: 0 2005/04/26 10:08:34.081 0:01.425 SIP Transport:8819770 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/26 10:08:34.107 0:01.451 SIP Transport:8819770 SIP PDU Received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061>See the answer arrives on port 5061 (if=...), that means that even IF the INVITE was sent on port 5061, it would reach you. It seems no INVITE is sent at all.
OK
starting GM with STUN support enabled and -d=6 reports that I'm behind a symetric firewall. However, it also reports that it cannot create a socket (see attached log). Can this be the source of my troubles ?OR : "Discovered Restricted Firewall" can be the problem. Is that firewall on your machine?
-- Damien
2005/04/27 10:18:31.572 0:00.200 gnomemeeting-snapshot Detected audio plugins: ALSA,OSS 2005/04/27 10:18:31.574 0:00.201 gnomemeeting-snapshot Detected video plugins: Picture,V4L 2005/04/27 10:18:31.576 0:00.203 gnomemeeting-snapshot Detected audio plugins: ALSA,OSS 2005/04/27 10:18:31.577 0:00.204 gnomemeeting-snapshot Detected video plugins: Picture,V4L 2005/04/27 10:18:31.585 0:00.213 gnomemeeting-snapshot Detected the following audio input devices: BT Headset,Intel 82801DB-ICH4,Intel 82801DB-ICH4 Modem,Default with plugin ALSA 2005/04/27 10:18:31.587 0:00.214 gnomemeeting-snapshot Detected the following audio output devices: BT Headset,Intel 82801DB-ICH4,Intel 82801DB-ICH4 Modem,Default with plugin ALSA 2005/04/27 10:18:31.589 0:00.216 gnomemeeting-snapshot Detected the following video input devices: MovingLogo,StaticPicture with plugin Picture 2005/04/27 10:18:31.590 0:00.218 gnomemeeting-snapshot Detected the following audio input devices: BT Headset,Intel 82801DB-ICH4,Intel 82801DB-ICH4 Modem,Default with plugin ALSA 2005/04/27 10:18:31.592 0:00.219 gnomemeeting-snapshot Detected the following audio output devices: BT Headset,Intel 82801DB-ICH4,Intel 82801DB-ICH4 Modem,Default with plugin ALSA 2005/04/27 10:18:31.594 0:00.221 gnomemeeting-snapshot Detected the following video input devices: MovingLogo,StaticPicture with plugin Picture [assert] error: 111 (Connection refused) [assert] where: "socket.c", "sw_socket_tcp_connect", line: 720 2005/04/27 10:18:31.657 0:00.284 gnomemeeting-snapshot GMZeroconfBrowser: Can't browse! (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:11096): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:11096): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories (gnomemeeting:11096): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed (gnomemeeting:11096): libebook-WARNING **: Can't find installed BookFactories 2005/04/27 10:18:32.416 0:01.043 gnomemeeting-snapshot GnomeMeeting version 1.3.0 2005/04/27 10:18:32.417 0:01.044 gnomemeeting-snapshot OPAL version unknown 2005/04/27 10:18:32.418 0:01.045 gnomemeeting-snapshot PWLIB version 1.9.1 2005/04/27 10:18:32.418 0:01.045 gnomemeeting-snapshot GNOME support enabled 2005/04/27 10:18:32.419 0:01.046 gnomemeeting-snapshot Fullscreen support enabled 2005/04/27 10:18:32.419 0:01.046 gnomemeeting-snapshot DBUS support disabled 2005/04/27 10:18:32.419 0:01.047 gnomemeeting-snapshot Quicknet hardware support enabled 2005/04/27 10:18:32.423 0:01.050 gnomemeeting-snapshot Set TCP port range to 3000030010 2005/04/27 10:18:32.423 0:01.050 gnomemeeting-snapshot Set RTP port range to 50005016 2005/04/27 10:18:32.424 0:01.051 gnomemeeting-snapshot Set UDP port range to 50605100 2005/04/27 10:18:47.535 0:16.162 GMStunClient:08820c30 OPAL STUN server "stun.voxgratia.org" replies Symmetric Firewall 2005/04/27 10:18:47.574 0:16.201 gnomemeeting-snapshot OpalEP Created endpoint: h323 2005/04/27 10:18:47.574 0:16.201 gnomemeeting-snapshot H323 Created endpoint. 2005/04/27 10:18:47.577 0:16.204 gnomemeeting-snapshot OpalMan Added route "pc:.*=h323:<da>" 2005/04/27 10:18:47.577 0:16.204 gnomemeeting-snapshot OpalEP Created endpoint: sip 2005/04/27 10:18:47.578 0:16.205 gnomemeeting-snapshot SIP Created endpoint. 2005/04/27 10:18:47.581 0:16.208 gnomemeeting-snapshot OpalMan Added route "pc:.*=sip:<da>" 2005/04/27 10:18:47.582 0:16.209 gnomemeeting-snapshot OpalEP Created endpoint: pc 2005/04/27 10:18:47.586 0:16.213 gnomemeeting-snapshot PCSS Created PC sound system endpoint. 2005/04/27 10:18:47.587 0:16.214 gnomemeeting-snapshot OpalMan Added route "h323:.*=pc:<da>" 2005/04/27 10:18:47.588 0:16.215 gnomemeeting-snapshot OpalMan Added route "sip:.*=pc:<da>" [assert] error: 111 (Connection refused) [assert] where: "socket.c", "sw_socket_tcp_connect", line: 720 2005/04/27 10:18:47.595 0:16.222 gnomemeeting-snapshot GMZeroconfPublisher: Can't publish! 2005/04/27 10:18:47.596 0:16.223 Opal Listener:882a528 Listen Started listening thread on tcp$194.254.174.156:1720 2005/04/27 10:18:47.597 0:16.225 Opal Listener:882a528 Listen Waiting on socket accept on tcp$194.254.174.156:1720 2005/04/27 10:18:47.599 0:16.226 Opal Listener:882dcc8 Listen Started listening thread on udp$194.254.174.156:5060 2005/04/27 10:18:47.600 0:16.227 Opal Listener:882dcc8 Listen Waiting on UDP packet on udp$194.254.174.156:5060 2005/04/27 10:18:47.851 0:16.478 GMAccounts...r:0882deb8 OpalUDP Binding to interface: :::32799 2005/04/27 10:18:47.892 0:16.520 GMAccounts...r:0882deb8 OpalUDP Started connect to 213.91.9.219:5060 2005/04/27 10:18:47.895 0:16.522 GMAccounts...r:0882deb8 OpalUDP STUN could not create socket! 2005/04/27 10:18:47.896 0:16.523 GMAccounts...r:0882deb8 OpalUDP Connecting to interfaces: 127.0.0.1 [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01] <00-00-00-00-00-00> (lo) 194.254.174.156 [fe:80:00:00:00:00:00:00:02:0b:7d:ff:fe:12:1c:ee] <00-0B-7D-12-1C-EE> (wlan0) 2005/04/27 10:18:47.900 0:16.527 GMAccounts...r:0882deb8 SIP Created Transport for Registrar udp$213.91.9.219:5060<if=udp$::> 2005/04/27 10:18:47.903 0:16.530 SIP Transport:8821658 SIP Read thread started. 2005/04/27 10:18:47.903 0:16.531 SIP Transport:8821658 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/27 10:18:47.908 0:16.535 GMAccounts...r:0882deb8 SIP Sending PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> REGISTER sip:len1.host.wengo.fr SIP/2.0 CSeq: 1 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 User-Agent: GnomeMeeting/1.3.0 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7665e0a5-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr> Contact: <sip:wgdam ciabrini 194 254 174 156:5060;transport=udp> Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, SUBSCRIBE, NOTIFY, REFER, Expires: 3600 Content-Length: 0 2005/04/27 10:18:47.938 0:16.565 SIP Transport:8821658 SIP PDU Received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> SIP/2.0 401 Unauthorized CSeq: 1 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7665e0a5-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr>;tag=000000000000000000004fbdb310 Content-Length: 0 WWW-Authenticate: Digest realm="len1.host.wengo.fr",nonce="000000000000000000004fbdb2bd",opaque="000000004fbd80c0",stale=false,algorithm=MD5 Record-Route: <sip:213.91.9.219;lr> 2005/04/27 10:18:47.943 0:16.570 SIP Transport:8821658 SIP Transaction 1 REGISTER completed. 2005/04/27 10:18:47.944 0:16.572 SIP Transport:8821658 OpalUDP Ended connect, selecting 194.254.174.156:5061 2005/04/27 10:18:47.946 0:16.573 SIP Transport:8821658 SIP Received Authentication Required response 2005/04/27 10:18:47.948 0:16.575 SIP Transport:8821658 SIP Adding authentication information 2005/04/27 10:18:47.950 0:16.577 SIP Transport:8821658 SIP Sending PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> REGISTER sip:len1.host.wengo.fr SIP/2.0 CSeq: 2 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 User-Agent: GnomeMeeting/1.3.0 Authorization: Digest username="wgdam.ciabrini", realm="len1.host.wengo.fr", nonce="000000000000000000004fbdb2bd", uri="sip:len1.host.wengo.fr", response="e998614191a59fc4b66c694d49b75bad", algorithm=md5 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7665e0a5-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr> Contact: <sip:wgdam ciabrini 194 254 174 156:5060;transport=udp> Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, SUBSCRIBE, NOTIFY, REFER, Expires: 3600 Content-Length: 0 2005/04/27 10:18:47.952 0:16.580 SIP Transport:8821658 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/27 10:18:47.984 0:16.611 SIP Transport:8821658 SIP PDU Received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> SIP/2.0 100 Trying CSeq: 2 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7665e0a5-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr> Content-Length: 0 Record-Route: <sip:213.91.9.219;lr> 2005/04/27 10:18:47.988 0:16.615 SIP Transport:8821658 SIP Transaction 2 REGISTER proceeding. 2005/04/27 10:18:47.990 0:16.617 SIP Transport:8821658 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/27 10:18:48.054 0:16.681 SIP Transport:8821658 SIP PDU Received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> SIP/2.0 200 OK CSeq: 2 REGISTER Via: SIP/2.0/UDP 194.254.174.156:5061 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: 7665e0a5-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr>;tag=000000000000000000004fbdb311 Contact: <sip:wgdam ciabrini 213 91 9 219:5060;transport=udp>;expires=3600 Content-Length: 0 Record-Route: <sip:213.91.9.219;lr> 2005/04/27 10:18:48.055 0:16.682 SIP Transport:8821658 SIP Transaction 2 REGISTER completed. 2005/04/27 10:18:48.060 0:16.687 SIP Transport:8821658 OpalUDP Binding to interface: :::32800 2005/04/27 10:18:48.060 0:16.687 SIP Transport:8821658 OpalUDP Started connect to 213.91.9.219:5060 2005/04/27 10:18:48.061 0:16.688 SIP Transport:8821658 OpalUDP STUN could not create socket! 2005/04/27 10:18:48.061 0:16.688 SIP Transport:8821658 OpalUDP Connecting to interfaces: 127.0.0.1 [00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01] <00-00-00-00-00-00> (lo) 194.254.174.156 [fe:80:00:00:00:00:00:00:02:0b:7d:ff:fe:12:1c:ee] <00-0B-7D-12-1C-EE> (wlan0) 2005/04/27 10:18:48.062 0:16.689 SIP Transport:8821658 SIP Created Transport for Registrar udp$213.91.9.219:5060<if=udp$::> 2005/04/27 10:18:48.070 0:16.697 SIP Transport:8821658 SIP Sending PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5062> SUBSCRIBE sip:wgdam ciabrini len1 host wengo fr SIP/2.0 CSeq: 3 SUBSCRIBE Via: SIP/2.0/UDP 194.254.174.156:5062 User-Agent: GnomeMeeting/1.3.0 From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: b85300a6-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr> Contact: <sip:wgdam ciabrini 194 254 174 156:5060;transport=udp> Accept: application/simple-message-summary Allow: INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER, SUBSCRIBE, NOTIFY, REFER, Expires: 3600 Event: message-summary Content-Length: 0 2005/04/27 10:18:48.071 0:16.698 SIP Transport:8821658 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/27 10:18:48.072 0:16.699 SIP Transport:8876fb8 SIP Read thread started. 2005/04/27 10:18:48.073 0:16.700 SIP Transport:8876fb8 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5062> 2005/04/27 10:18:48.097 0:16.725 SIP Transport:8876fb8 SIP PDU Received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5062> SIP/2.0 200 OK CSeq: 3 SUBSCRIBE Via: SIP/2.0/UDP 194.254.174.156:5062 Server: Sip EXpress router (0.9.0 (i386/linux)) From: <sip:wgdam ciabrini len1 host wengo fr> Call-ID: b85300a6-62b5-d911-88d0-000b7d121cee vis175b To: <sip:wgdam ciabrini len1 host wengo fr>;tag=f2e88b631df850b73d71f6c086597726-4897 Warning: 392 213.91.9.202:5061 "Noisy feedback tells: pid=15733 req_src_ip=213.91.9.219 req_src_port=5060 in_uri=sip:wgdam ciabrini len1 host wengo fr out_uri=sip:wgdam ciabrini len1 host wengo fr via_cnt==2" Content-Length: 0 Record-Route: <sip:wgdam ciabrini 213 91 9 219;lr=on> 2005/04/27 10:18:48.102 0:16.730 SIP Transport:8876fb8 SIP Transaction 3 SUBSCRIBE completed. 2005/04/27 10:18:48.104 0:16.731 SIP Transport:8876fb8 OpalUDP Ended connect, selecting 194.254.174.156:5062 2005/04/27 10:18:48.105 0:16.732 SIP Transport:8876fb8 SIP Waiting for PDU on udp$213.91.9.219:5060<if=udp$194.254.174.156:5062> 2005/04/27 10:18:49.952 0:18.580 Housekeeper SIP Set Terminated_Success for 1 REGISTER 2005/04/27 10:18:50.072 0:18.699 Housekeeper SIP Set Terminated_Success for 2 REGISTER 2005/04/27 10:18:50.105 0:18.732 Housekeeper SIP Set Terminated_Success for 3 SUBSCRIBE 2005/04/27 10:19:09.711 0:38.338 gnomemeeting-snapshot Listen Stopping listening thread on tcp$194.254.174.156:1720 2005/04/27 10:19:09.808 0:38.435 gnomemeeting-snapshot H323 Deleted endpoint. 2005/04/27 10:19:09.808 0:38.435 gnomemeeting-snapshot OpalEP h323 endpoint destroyed. 2005/04/27 10:19:09.809 0:38.436 gnomemeeting-snapshot Listen Stopping listening thread on udp$194.254.174.156:5060 2005/04/27 10:19:09.810 0:38.438 Opal Listener:882dcc8 Listen UDP select error: Interrupted system call 2005/04/27 10:19:09.811 0:38.438 gnomemeeting-snapshot SIP Deleted endpoint. 2005/04/27 10:19:09.812 0:38.439 gnomemeeting-snapshot Opal Transport clean up on termination 2005/04/27 10:19:09.812 0:38.439 gnomemeeting-snapshot OpalUDP Close 2005/04/27 10:19:09.812 0:38.439 gnomemeeting-snapshot Opal Transport Close 2005/04/27 10:19:09.812 0:38.439 SIP Transport:8821658 SIP No Request-Line or Status-Line received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5061> 2005/04/27 10:19:09.813 0:38.440 SIP Transport:8821658 SIP Read thread finished. 2005/04/27 10:19:09.815 0:38.442 gnomemeeting-snapshot Opal Transport clean up on termination 2005/04/27 10:19:09.815 0:38.442 gnomemeeting-snapshot OpalUDP Close 2005/04/27 10:19:09.815 0:38.442 gnomemeeting-snapshot Opal Transport Close 2005/04/27 10:19:09.816 0:38.443 SIP Transport:8876fb8 SIP No Request-Line or Status-Line received on udp$213.91.9.219:5060<if=udp$194.254.174.156:5062> 2005/04/27 10:19:09.816 0:38.443 SIP Transport:8876fb8 SIP Read thread finished. 2005/04/27 10:19:09.818 0:38.445 gnomemeeting-snapshot OpalEP sip endpoint destroyed. 2005/04/27 10:19:09.818 0:38.445 gnomemeeting-snapshot PCSS Deleted PC sound system endpoint. 2005/04/27 10:19:09.818 0:38.445 gnomemeeting-snapshot OpalEP pc endpoint destroyed. 2005/04/27 10:19:09.818 0:38.445 gnomemeeting-snapshot OpalMan Deleted manager.
Attachment:
ether-sip-gm
Description: Binary data
Attachment:
ether-sip-gm-stun
Description: Binary data
Attachment:
ether-sip-xlite
Description: Binary data