我们正在尝试使用Restcomm和Nexmo DID传入号创建测试环境。我们遵循了this tutorial。 虽然我们不确定第3步,但我们将它放在一边。
当我们尝试从Nexmo发送sendig时,Restcomm以 404 Not Found 回答。正如你在下面的caputre中看到的,Nexmo似乎将INVITE发送到配置的uri,但是在TO字段中它发送带有sip.local的orignial numbrer作为域。我们在Restcomm中配置了两个sip号码,但我们仍然得到404 Not Notted。
root@xxxxxxxxxx restcomm]# tcpdump -i eth0 -A port 5060 or port 5080
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
12:41:52.770616 IP sip.nexmo.com.sip > xxxxxxxxxx: SIP, length: 1434
E....F..7.($.$..............INVITE sip:1234@restcommuri:5080 SIP/2.0
Record-Route: <sip:174.36.197.206;r2=on;lr=on;ftag=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230>
Record-Route: <sip:10.24.134.35;r2=on;lr=on;ftag=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230>
From: <sip:16617480240@10.24.134.38:5060>;tag=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230
To: <sip:12604079432@sip.local>
Call-ID: 1432658509204-7f7345112920-165098f0-00aad521@10.24.134.38
CSeq: 1 INVITE
Via: SIP/2.0/UDP 174.36.197.206;branch=z9hG4bK996f.cd8208f2948af59b669b042318445a43.0
Via: SIP/2.0/UDP 10.24.134.38:5060;received=10.24.134.38;rport=5060;branch=z9hG4bK-1d0230-71508e1b-7ec52f5f-7f7389136468
P-Preferred-Identity: tel:16617480240
Max-Forwards: 69
User-Agent: VCS13.0.9.112.76766
Contact: <sip:16617480240@10.24.134.38:5060;alias=10.24.134.38~5060~1>
Content-Type: application/sdp
Content-Length: 527
v=0
o=- 1 1 IN IP4 174.37.226.130
s=voxeo.13.0.9.112.76766
c=IN IP4 174.37.226.130
t=0 0
m=audio 11220 RTP/AVP 18 0 8 101 97 9 3 102 103 104 116
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=rtpmap:97 G726-32/8000
a=rtpmap:9 G722/8000
a=rtpmap:3 GSM/8000
a=rtpmap:102 AMR-WB/16000
a=rtpmap:103 AMR/8000
a=rtpmap:104 iSAC/16000
a=rtpmap:116 SPEEX/16000
a=ptime:20
a=oldmediaip:10.24.134.38
a=oldmediaip:10.24.134.38
12:41:52.786439 IP xxxxxxxxxxxx > sip.nexmo.com.sip: SIP, length: 613
E.....@.@........$.......m:LSIP/2.0 404 Not found
To: <sip:12604079432@sip.local>;tag=67270726_2a5bf6d7_57a5b08a_b61fcf9c-ec05-468a-ae6c-f0c6cbf0d972
Via: SIP/2.0/UDP 174.36.197.206;branch=z9hG4bK996f.cd8208f2948af59b669b042318445a43.0
Via: SIP/2.0/UDP 10.24.134.38:5060;received=10.24.134.38;rport=5060;branch=z9hG4bK-1d0230-71508e1b-7ec52f5f-7f7389136468
CSeq: 1 INVITE
Call-ID: 1432658509204-7f7345112920-165098f0-00aad521@10.24.134.38
From: <sip:16617480240@10.24.134.38:5060>;tag=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230
Server: TelScale Sip Servlets 7.0.2-SNAPSHOT
Contact: <sip:54.83.196.238:5060>
Content-Length: 0
答案 0 :(得分:2)
我注意到你正在拨打5060端口。
您可以尝试使用SIP sip来调用该号码:your_number @ IP:5080
默认情况下,Restcomm侦听端口5080。
顺便说一下,这个实例是否在Amazon Cloud上运行?