Sip Restcomm-使用Nexmo配置传入DID

Sip Restcomm-使用Nexmo配置传入DID,sip,nexmo,mobicents,restcomm,Sip,Nexmo,Mobicents,Restcomm,我们正在尝试使用Restcomm和Nexmo DID传入号码创建一个测试环境。我们跟着。 虽然我们不确定第3步,所以我们把它放在一边 当我们尝试从Nexmo发送呼叫时,Restcomm会以404 Not Found进行应答。正如您在下面的caputre中所看到的,Nexmo似乎将INVITE发送到配置的uri,但在to字段中,它将原始numbrer与sip.local作为域发送。我们在restcom中设置了这两个sip号码,但我们得到的404仍然没有找到 root@xxxxxxxxxx rest

我们正在尝试使用Restcomm和Nexmo DID传入号码创建一个测试环境。我们跟着。 虽然我们不确定第3步,所以我们把它放在一边

当我们尝试从Nexmo发送呼叫时,Restcomm会以404 Not Found进行应答。正如您在下面的caputre中所看到的,Nexmo似乎将INVITE发送到配置的uri,但在to字段中,它将原始numbrer与sip.local作为域发送。我们在restcom中设置了这两个sip号码,但我们得到的404仍然没有找到

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
root@xxxxxxxxxxrestcomm]#tcpdump-i eth0-A端口5060或5080
tcpdump:抑制详细输出,使用-v或-vv进行完整协议解码
在eth0上侦听,链路类型为EN10MB(以太网),捕获大小为65535字节
12:41:52.770616 IP sip.nexmo.com.sip>xxxxxxxxx:sip,长度:1434
E..F..7.($.$…..邀请sip:1234@restcommuri:5080 SIP/2.0
记录路线:
记录路线:
发件人:;标签=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230
致:
电话号码:1432658509204-7f7345112920-165098f0-00aad521@10.24.134.38
CSeq:1邀请
Via:SIP/2.0/UDP 174.36.197.206;分支=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-首选身份:电话:16617480240
最大前锋:69
用户代理:VCS13.0.9.112.76766
联系人:
内容类型:应用程序/sdp
内容长度:527
v=0
o=-11英寸IP4 174.37.226.130
s=voxeo.13.0.9.112.766
c=在IP4中174.37.226.130
t=0
m=音频11220 RTP/AVP180 8 101 97 9 3 102 103 104 116
a=rtpmap:18 G729/8000
a=fmtp:18附录B=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101电话事件/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=时间:20
a=oldmediaip:10.24.134.38
a=oldmediaip:10.24.134.38
12:41:52.786439 IP XXXXXXXXXX>sip.nexmo.com.sip:sip,长度:613
未找到E…@…$…m:LSIP/2.0 404
收件人:tag=67270726_2a5bf6d7_57a5b08a_b61fcf9c-ec05-468a-ae6c-f0c6cbf0d972
Via:SIP/2.0/UDP 174.36.197.206;分支=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邀请
电话号码:1432658509204-7f7345112920-165098f0-00aad521@10.24.134.38
发件人:;标签=7f73898f1e08-0-13c4-6009-1d0230-987ae6e-1d0230
服务器:TelScale Sip Servlets 7.0.2-SNAPSHOT
联系人:
内容长度:0

我注意到您正在呼叫端口5060

你能试着用SIP:your拨打这个号码吗_number@IP:5080

默认情况下,Restcomm侦听端口5080


顺便问一下,此实例是否在Amazon云上运行?

调用的是端口5080,捕获筛选器包含5060以防万一。我将目标ip和端口重新放置为XX,但保证为5080端口。是的,此实例在Amazon云上运行