Status: openser compiled, including mysql openser working with mysql (registering) openser server has two ethernet ports with one public and one private IP rtpproxy is running without any parameter
7311 is eyebeam on local desktop 7312 is gizmo on the same local desktop 7111 is a grandstream remote, behind a nat
Openser adminstrator shows all three phones as registered with following sip addresses: sip:7111@192.168.10.91 sip:7311@192.168.250.108:42800;rinstance=f17a00051f63a625 sip:17476063396@proxy01.sipphone.com:5060 <=== that should be 7312@192.168.250.108
Internal calls: call from 7312 to 7311 works. call from 7311 to 7312 ends up at a voicemail box (most likely gizmo problem) call from 7311 to 17476063396@proxy01.sipphone.com ends up at the voicemail box
External calls: call from 7311 (local phone) 7111 (remote phone behind NAT) does not work, see the ngrep info below. Looking at the output I feel that the nathelper is not working. As I understand the documents, the address should be replaced with an public IP address, but it uses my servers internal ethernet port (192.168.250.41) 5.32.86.166 in alt1 is the IP address of my Hamachi network. I have no idea, why this one shows up here.
# U 2006/09/28 08:56:06.482374 192.168.250.108:42800 -> 192.168.250.41:5060 INVITE sip:7111@192.168.250.41 SIP/2.0. Via: SIP/2.0/UDP 192.168.250.108:42800;branch=z9hG4bK-d87543-a177451df022e84f-1--d87543-;rport. Max-Forwards: 70. Contact: sip:7311@192.168.250.108:42800. To: "7111"sip:7111@192.168.250.41. From: "Ronald-taipei @ video "sip:7311@192.168.250.41;tag=13766900. Call-ID: ZGIzNjlhYmIwODBmOTAzMDJiMDU1Zjc0ZTZhNDM0MzE.. CSeq: 1 INVITE. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO. Content-Type: application/sdp. User-Agent: eyeBeam release 1005g stamp 32576. Content-Length: 809. . v=0. o=- 0 2 IN IP4 192.168.250.108. s=CounterPath eyeBeam 1.5. c=IN IP4 192.168.250.108. t=0 0. m=audio 59382 RTP/AVP 107 100 106 6 0 105 18 3 5 101. a=alt:1 2 : eE24SyNT p1rs0KkA 5.32.86.166 59382. a=alt:2 1 : eKP8Z+Ou +E2ejbdN 192.168.250.108 59382. a=fmtp:18 annexb=yes. a=fmtp:101 0-15. a=rtpmap:107 BV32/16000. a=rtpmap:100 SPEEX/16000. a=rtpmap:106 SPEEX-FEC/16000. a=rtpmap:105 SPEEX-FEC/8000. a=rtpmap:18 G729/8000. a=rtpmap:101 telephone-event/8000. a=sendrecv. a=x-rtp-session-id:B8DA69C497FC40B2AACE87E3E86D914A. m=video 46168 RTP/AVP 125. a=alt:1 2 : Ac/XN/Nt wQExOeCB 5.32.86.166 46168. a=alt:2 1 : ZKv1sx6w JY5CEQdN 192.168.250.108 46168. a=fmtp:125 profile-level-id=42e015; max-br=4000; max-mbps=19800. a=rtpmap:125 H264/90000. a=sendrecv. a=x-rtp-session-id:AD24C300DC234CCFA115E5F0B36CDEAB.
# U 2006/09/28 08:56:06.483471 192.168.250.41:5060 -> 192.168.250.108:42800 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 192.168.250.108:42800;branch=z9hG4bK-d87543-a177451df022e84f-1--d87543-;rport=42800. To: "7111"sip:7111@192.168.250.41. From: "Ronald-taipei @ video "sip:7311@192.168.250.41;tag=13766900. Call-ID: ZGIzNjlhYmIwODBmOTAzMDJiMDU1Zjc0ZTZhNDM0MzE.. CSeq: 1 INVITE. Server: OpenSer (1.1.0-notls (x86_64/linux)). Content-Length: 0. Warning: 392 192.168.250.41:5060 "Noisy feedback tells: pid=8787 req_src_ip=192.168.250.108 req_src_port=42800 in_uri=sip:7111@192.168.250.41 out_uri=sip:7111@192.168.10.91 via_cnt==1". .
# U 2006/09/28 08:56:30.829647 192.168.250.108:42800 -> 192.168.250.41:5060 . .
# U 2006/09/28 08:56:36.004956 192.168.250.41:5060 -> 192.168.250.108:42800 SIP/2.0 408 Request Timeout. Via: SIP/2.0/UDP 192.168.250.108:42800;branch=z9hG4bK-d87543-a177451df022e84f-1--d87543-;rport=42800. To: "7111"sip:7111@192.168.250.41;tag=fa997f81440371de71ab448ebdb9af56-1877. From: "Ronald-taipei @ video "sip:7311@192.168.250.41;tag=13766900. Call-ID: ZGIzNjlhYmIwODBmOTAzMDJiMDU1Zjc0ZTZhNDM0MzE.. CSeq: 1 INVITE. Server: OpenSer (1.1.0-notls (x86_64/linux)). Content-Length: 0. Warning: 392 192.168.250.41:5060 "Noisy feedback tells: pid=8791 req_src_ip=192.168.250.108 req_src_port=42800 in_uri=sip:7111@192.168.250.41 out_uri=sip:7111@192.168.10.91 via_cnt==0". .
#
/var/log/messages shows: Sep 28 09:00:27 taipei /usr/local/sbin/openser[8787]: ERROR: force_rtp_proxy2: no available proxies Sep 28 09:00:40 taipei /usr/local/sbin/openser[8787]: ERROR: unforce_rtp_proxy: no available proxies Sep 28 09:00:40 taipei /usr/local/sbin/openser[8787]: ERROR: unforce_rtp_proxy: no available proxies
Where is my mistake?
bye
Ronald
Hi Roland,
you need to configure the same communication socket in both nathelper module and rtpproxy command line. See the docs for nathelper module: http://openser.org/docs/modules/1.1.x/nathelper.html#AEN129
regards, bogdan
Ronald Wiplinger wrote:
/var/log/messages shows: Sep 28 09:00:27 taipei /usr/local/sbin/openser[8787]: ERROR: force_rtp_proxy2: no available proxies Sep 28 09:00:40 taipei /usr/local/sbin/openser[8787]: ERROR: unforce_rtp_proxy: no available proxies Sep 28 09:00:40 taipei /usr/local/sbin/openser[8787]: ERROR: unforce_rtp_proxy: no available proxies