Hi,
I tested it using only SEMS alone, not in SPCE pack and it works OK for
me. What is used as RURI, From, To is configured in the used SBC profile
conf. file. (e.g. /etc/sems/ngcp.sbcprofile.conf").
Check "RURI=$r", "From=$f", "To=$t". Basically these field should be the
same in the outgoing INVITE.
In your trace, I can see only:
INVITE: ASTERISK_IP:5060 -> SPCE_IP:5060
100 : SPCE_IP:5060 -> ASTERISK_IP:5060
INVITE: 127.0.0.1:5060 -> 127.0.0.1:5062
100: 127.0.0.1:5062 -> 127.0.0.1:5060
INVITE: 127.0.0.1:5080 -> 127.0.0.1:5060
SEMS is running on 5080, but where is the INVITE that is received by
SEMS (127.0.0.1:xyz -> 127.0.0.1:5080)? Are you sure that From HF has
not been modified somewhere before?
Thanks,
-Vlada B.
On 08/20/2011 11:09 AM, Skyler wrote:
Hi,
First post here, I know its the weekend but here's hoping a guru might
shed some light on my troubles ;)
Where can I find or what should I be looking for to figure out why SEMS
is replacing the caller name with number? Notice the from field in below
trace. SEMS is on 5080. It seems when sems receives the INVITE it is
replacing the "Name" with "Number".
Any help is appreciated.
TIA,
Skyler
U 2011/08/20 04:31:02.882004 ASTERISK_IP:5060 -> SPCE_IP:5060
INVITE sip:16048881212@SPCE_IP SIP/2.0.
v: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK78bc993b;rport.
Max-Forwards: 70.
f: "Testy Testerson"<sip:2725846431@ASTERISK_IP>;tag=as17b832a2.
t:<sip:16048881212@SPCE_IP>.
m:<sip:2725846431@ASTERISK_IP>.
i: 470166fd32c0a2e840d226450f2ebd6c@ASTERISK_IP.
CSeq: 102 INVITE.
User-Agent: Asterisk (1.6.2).
Date: Sat, 20 Aug 2011 08:31:02 GMT.
x: 600.
Min-SE: 90.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
k: replaces, timer.
c: application/sdp.
l: 524.
.
v=0.
o=root 1615613317 1615613317 IN IP4 ASTERISK_IP.
s=Asterisk (1.6.2).
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 15224 RTP/AVP 0 4 3 8 112 5 10 7 18 111 9 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:4 G723/8000.
a=fmtp:4 annexa=no.
a=rtpmap:3 GSM/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:112 G726-32/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:10 L16/8000.
a=rtpmap:7 LPC/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:111 G726-32/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
U 2011/08/20 04:31:02.882371 SPCE_IP:5060 -> ASTERISK_IP:5060
SIP/2.0 100 Trying.
v: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK78bc993b;rport=5060.
f: "Testy Testerson"<sip:2725846431@ASTERISK_IP>;tag=as17b832a2.
t:<sip:16048881212@SPCE_IP>.
i: 470166fd32c0a2e840d226450f2ebd6c@ASTERISK_IP.
CSeq: 102 INVITE.
Server: kamailio (3.1.3 (x86_64/linux)).
Content-Length: 0.
.
U 2011/08/20 04:31:02.882689 127.0.0.1:5060 -> 127.0.0.1:5062
INVITE sip:16048881212@SPCE_IP SIP/2.0.
Record-Route:<sip:127.0.0.1;r2=on;lr=on;ftag=as17b832a2>.
Record-Route:<sip:SPCE_IP;r2=on;lr=on;ftag=as17b832a2>.
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK9658.0d9f2ae1.0.
v: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK78bc993b;rport=5060.
Max-Forwards: 69.
f: "Testy Testerson"<sip:2725846431@ASTERISK_IP>;tag=as17b832a2.
t:<sip:16048881212@SPCE_IP>.
m:<sip:2725846431@ASTERISK_IP>.
i: 470166fd32c0a2e840d226450f2ebd6c@ASTERISK_IP.
CSeq: 102 INVITE.
User-Agent: Asterisk (1.6.2).
Date: Sat, 20 Aug 2011 08:31:02 GMT.
x: 600.
Min-SE: 90.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
k: replaces, timer.
c: application/sdp.
l: 524.
P-NGCP-Src-Ip: ASTERISK_IP.
P-NGCP-Src-Port: 5060.
P-NGCP-Src-Proto: udp.
.
v=0.
o=root 1615613317 1615613317 IN IP4 ASTERISK_IP.
s=Asterisk (1.6.2).
c=IN IP4 ASTERISK_IP.
t=0 0.
m=audio 15224 RTP/AVP 0 4 3 8 112 5 10 7 18 111 9 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:4 G723/8000.
a=fmtp:4 annexa=no.
a=rtpmap:3 GSM/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:112 G726-32/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:10 L16/8000.
a=rtpmap:7 LPC/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:111 G726-32/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
U 2011/08/20 04:31:02.882854 127.0.0.1:5062 -> 127.0.0.1:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 127.0.0.1;branch=z9hG4bK9658.0d9f2ae1.0;rport=5060.
v: SIP/2.0/UDP ASTERISK_IP:5060;branch=z9hG4bK78bc993b;rport=5060.
f: "Testy Testerson"<sip:2725846431@ASTERISK_IP>;tag=as17b832a2.
t:<sip:16048881212@SPCE_IP>.
i: 470166fd32c0a2e840d226450f2ebd6c@ASTERISK_IP.
CSeq: 102 INVITE.
Server: kamailio (3.1.3 (x86_64/linux)).
Content-Length: 0.
.
U 2011/08/20 04:31:02.956841 127.0.0.1:5080 -> 127.0.0.1:5060
INVITE sip:[email protected]:5060 SIP/2.0.
Via: SIP/2.0/UDP 127.0.0.1:5080;branch=z9hG4bKQJ~PjayQ;rport.
From: "2725846431"
<sip:2725846431@ASTERISK_IP>;tag=24AD3534-4E4F70C6000E9916-5C705700.
To:<sip:16048881212@SPCE_IP>.
CSeq: 10 INVITE.
Call-ID: 470166fd32c0a2e840d226450f2ebd6c@ASTERISK_IP_b2b-1.
Contact:<sip:127.0.0.1:5080>.
Route:<sip:[email protected]:5060;lr;lr>.
P-Asserted-Identity:<sip:2725846431@ASTERISK_IP>.
P-R-Uri: sip:[email protected]:5060.
P-D-Uri: sip:[email protected]:5060;lr.
Supported: timer.
Session-Expires: 300.
Min-SE: 90.
Content-Type: application/sdp.
Content-Length: 544.
v=0.
o=root 1615613317 1615613317 IN IP4 SPCE_IP.
s=Asterisk (1.6.2).
c=IN IP4 SPCE_IP.
t=0 0.
m=audio 30076 RTP/AVP 0 4 3 8 112 5 10 7 18 111 9 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:4 G723/8000.
a=fmtp:4 annexa=no.
a=rtpmap:3 GSM/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:112 G726-32/8000.
a=rtpmap:5 DVI4/8000.
a=rtpmap:10 L16/8000.
a=rtpmap:7 LPC/8000.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:111 G726-32/8000.
a=rtpmap:9 G722/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
a=nortpproxy:yes.
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems