Hi
Have been trying to get get rpid , and cli working, dropped xlite to test with grandstream just in case xlite didnt like it.
I have rpid=12345 in my subscriber db, against username 040600 In debug I get
save_rpid(): rpid value is '12345' 4(29312) authorize(): set string AVP 'rpid = 12345'
when I add append_rpid_hf("<sip:", ">;party=calling;id-type=subscriber;screen=yes") to my ser.cfg just before I t_relay, now in theory (someones :-)) this should add the header, but using ngrep I dont see any headers added.
Iqbal
Update....:-)
It does add
Remote-Party-ID: sip:12345;party=calling;id-type=subscriber;screen=yes.>
BUT....I still see nothing on my test mobile, should it not parse this through
Iqbal
Iqbal wrote:
Hi
Have been trying to get get rpid , and cli working, dropped xlite to test with grandstream just in case xlite didnt like it.
I have rpid=12345 in my subscriber db, against username 040600 In debug I get
save_rpid(): rpid value is '12345' 4(29312) authorize(): set string AVP 'rpid = 12345'
when I add append_rpid_hf("<sip:", ">;party=calling;id-type=subscriber;screen=yes") to my ser.cfg just before I t_relay, now in theory (someones :-)) this should add the header, but using ngrep I dont see any headers added.
Iqbal
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
Hi
I have added my full ngrep, I can see rpid in one of the INVITE, but it seems the one which goes to the gateway does not have it in....
----- ~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2005.05.11 14:37:18 =~=~=~=~=~=~=~=~=~=~=~= ngrep -W byline 040600 port 5060
match: 040600 ### U 208.76.109.145:62285 -> 205.118.161.9:5060 INVITE sip:0123456789@sip.domain.com SIP/2.0. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK8fd78c4bf290768e. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com. Contact: sip:040600@10.44.100.118. Supported: replaces. Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38346 INVITE. User-Agent: Grandstream BT100 1.0.5.22. Max-Forwards: 70. Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE. Content-Type: application/sdp. Content-Length: 356. . v=0. o=040600 8000 8000 IN IP4 10.44.100.118. s=SIP Call. c=IN IP4 10.44.100.118. t=0 0. m=audio 5004 RTP/AVP 0 8 4 18 2 15 99 9. a=sendrecv. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:4 G723/8000. a=rtpmap:18 G729/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:15 G728/8000. a=rtpmap:99 iLBC/8000. a=fmtp:99 mode=20. a=rtpmap:9 G722/16000. a=ptime:20.
## U 205.118.161.9:5060 -> 208.76.109.145:62285 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK8fd78c4bf290768e;rport=62285;received=208.76.109.145. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=bde2d0f39a3c31098b0c0a337d26256c.b2c9. Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38346 INVITE. Proxy-Authenticate: Digest realm="sip.domain.com", nonce="42820d0f49e300c475863579df6ea8121e652bf3". Content-Length: 0. Warning: 392 205.118.161.9:5060 "Noisy feedback tells: pid=29310 req_src_ip=208.76.109.145 req_src_port=62285 in_uri=sip:0123456789@sip.domain.com out_uri=sip:447866318220@213.166.5.135:5060 via_cnt==1". .
# U 208.76.109.145:62285 -> 205.118.161.9:5060 ACK sip:0123456789@sip.domain.com SIP/2.0. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK8fd78c4bf290768e. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=bde2d0f39a3c31098b0c0a337d26256c.b2c9. Contact: sip:040600@10.44.100.118. Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38346 ACK. User-Agent: Grandstream BT100 1.0.5.22. Max-Forwards: 70. Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE. Content-Length: 0. .
# U 208.76.109.145:62285 -> 205.118.161.9:5060 INVITE sip:0123456789@sip.domain.com SIP/2.0. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com. Contact: sip:040600@10.44.100.118. Supported: replaces. Proxy-Authorization: DIGEST username="040600", realm="sip.domain.com", algorithm=MD5, uri="sip:0123456789@sip.domain.com", nonce="42820d0f49e300c475863579df6ea8121e652bf3", response="9f2fcd68d7864f7a039af2f527e6f31b". Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38347 INVITE. User-Agent: Grandstream BT100 1.0.5.22. Max-Forwards: 70. Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE. Content-Type: application/sdp. Content-Length: 356. . v=0. o=040600 8000 8001 IN IP4 10.44.100.118. s=SIP Call. c=IN IP4 10.44.100.118. t=0 0. m=audio 5004 RTP/AVP 0 8 4 18 2 15 99 9. a=sendrecv. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:4 G723/8000. a=rtpmap:18 G729/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:15 G728/8000. a=rtpmap:99 iLBC/8000. a=fmtp:99 mode=20. a=rtpmap:9 G722/16000. a=ptime:20.
# U 205.118.161.9:5060 -> 208.76.109.145:62285 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK26eb3fd970f793ed;rport=62285;received=208.76.109.145. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com. Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38347 INVITE. Content-Length: 0. Warning: 392 205.118.161.9:5060 "Noisy feedback tells: pid=29312 req_src_ip=208.76.109.145 req_src_port=62285 in_uri=sip:0123456789@sip.domain.com out_uri=sip:447866318220@213.166.5.135:5060 via_cnt==1". .
# U 205.118.161.9:5060 -> 213.166.5.135:5060 INVITE sip:447866318220@213.166.5.135:5060 SIP/2.0. Record-Route: sip:0123456789@205.118.161.9:5060;nat=yes;ftag=3358a96c0c201834;lr=on. Via: SIP/2.0/UDP 205.118.161.9;branch=z9hG4bK6426.1645f185.0. Via: SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com. Contact: sip:040600@208.76.109.145:62285. Supported: replaces. Proxy-Authorization: DIGEST username="040600", realm="sip.domain.com", algorithm=MD5, uri="sip:0123456789@sip.domain.com", nonce="42820d0f49e300c475863579df6ea8121e652bf3", response="9f2fcd68d7864f7a039af2f527e6f31b". Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38347 INVITE. User-Agent: Grandstream BT100 1.0.5.22. Max-Forwards: 16. Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE. Content-Type: application/sdp. Content-Length: 358. Remote-Party-ID: sip:012345;party=calling;id-type=subscriber;screen=yes. . v=0. o=040600 8000 8001 IN IP4 10.44.100.118. s=SIP Call. c=IN IP4 193.218.160.26. t=0 0. m=audio 37524 RTP/AVP 0 8 4 18 2 15 99 9. a=sendrecv. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:4 G723/8000. a=rtpmap:18 G729/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:15 G728/8000. a=rtpmap:99 iLBC/8000. a=fmtp:99 mode=20. a=rtpmap:9 G722/16000. a=ptime:20.
# U 213.166.5.135:5060 -> 205.118.161.9:5060 SIP/2.0 100 trying -- your call is important to us. Via: SIP/2.0/UDP 205.118.161.9;branch=z9hG4bK6426.1645f185.0. Via: SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com. Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38347 INVITE. Server: Sip EXpress router (0.8.99-dev (i386/linux)). Content-Length: 0. .
################ U 213.166.5.135:5060 -> 205.118.161.9:5060 SIP/2.0 183 Session Progress. Via: SIP/2.0/UDP 205.118.161.9;branch=z9hG4bK6426.1645f185.0,SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. Date: Wed, 11 May 2005 13:39:01 gmt. Call-ID: 67e82239d8e72060@10.44.100.118. Server: Cisco-SIPGateway/IOS-12.x. CSeq: 38347 INVITE. Allow-Events: telephone-event. Contact: sip:00447866318220@202.59.5.121:5060. Record-Route: sip:213.166.5.135;ftag=3358a96c0c201834;lr=on,sip:0123456789@205.118.161.9:5060;nat=yes;ftag=3358a96c0c201834;lr=on. Content-Disposition: session;handling=required. Content-Type: application/sdp. Content-Length: 194. . v=0. o=CiscoSystemsSIP-GW-UserAgent 7028 3110 IN IP4 202.59.5.121. s=SIP Call. c=IN IP4 202.59.5.121. t=0 0. m=audio 17062 RTP/AVP 0. c=IN IP4 202.59.5.121. a=rtpmap:0 PCMU/8000. a=ptime:20.
# U 205.118.161.9:5060 -> 208.76.109.145:62285 SIP/2.0 183 Session Progress. Via: SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. Date: Wed, 11 May 2005 13:39:01 gmt. Call-ID: 67e82239d8e72060@10.44.100.118. Server: Cisco-SIPGateway/IOS-12.x. CSeq: 38347 INVITE. Allow-Events: telephone-event. Contact: sip:0044123456789@202.59.5.121:5060. Record-Route: sip:213.166.5.135;ftag=3358a96c0c201834;lr=on,sip:0123456789@205.118.161.9:5060;nat=yes;ftag=3358a96c0c201834;lr=on. Content-Disposition: session;handling=required. Content-Type: application/sdp. Content-Length: 196. . v=0. o=CiscoSystemsSIP-GW-UserAgent 7028 3110 IN IP4 202.59.5.121. s=SIP Call. c=IN IP4 193.218.160.26. t=0 0. m=audio 37524 RTP/AVP 0. c=IN IP4 193.218.160.26. a=rtpmap:0 PCMU/8000. a=ptime:20.
## U 213.166.5.135:5060 -> 205.118.161.9:5060 SIP/2.0 486 Busy here. Via: SIP/2.0/UDP 205.118.161.9;branch=z9hG4bK6426.1645f185.0,SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. Date: Wed, 11 May 2005 13:39:01 gmt. Call-ID: 67e82239d8e72060@10.44.100.118. Server: Cisco-SIPGateway/IOS-12.x. CSeq: 38347 INVITE. Allow-Events: telephone-event. Content-Length: 0. .
# U 205.118.161.9:5060 -> 213.166.5.135:5060 ACK sip:447866318220@213.166.5.135:5060 SIP/2.0. Via: SIP/2.0/UDP 205.118.161.9;branch=z9hG4bK6426.1645f185.0. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. Call-ID: 67e82239d8e72060@10.44.100.118. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. CSeq: 38347 ACK. Content-Length: 0. .
# U 205.118.161.9:5060 -> 208.76.109.145:62285 SIP/2.0 486 Busy here. Via: SIP/2.0/UDP 10.44.100.118;rport=62285;received=208.76.109.145;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. Date: Wed, 11 May 2005 13:39:01 gmt. Call-ID: 67e82239d8e72060@10.44.100.118. Server: Cisco-SIPGateway/IOS-12.x. CSeq: 38347 INVITE. Allow-Events: telephone-event. Content-Length: 0. .
# U 208.76.109.145:62285 -> 205.118.161.9:5060 ACK sip:0123456789@sip.domain.com SIP/2.0. Via: SIP/2.0/UDP 10.44.100.118;branch=z9hG4bK26eb3fd970f793ed. From: "Iqbal" sip:040600@sip.domain.com;tag=3358a96c0c201834. To: sip:0123456789@sip.domain.com;tag=8BD87AA8-1385. Contact: sip:040600@10.44.100.118. Proxy-Authorization: DIGEST username="040600", realm="sip.domain.com", algorithm=MD5, uri="sip:0123456789@sip.domain.com", nonce="42820d0f49e300c475863579df6ea8121e652bf3", response="67ce748e629156612f37186547e5ca30". Call-ID: 67e82239d8e72060@10.44.100.118. CSeq: 38347 ACK. User-Agent: Grandstream BT100 1.0.5.22. Max-Forwards: 70. Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE. Content-Length: 0. .
########
Iqbal wrote:
Update....:-)
It does add
Remote-Party-ID: sip:12345;party=calling;id-type=subscriber;screen=yes.>
BUT....I still see nothing on my test mobile, should it not parse this through
Iqbal
Iqbal wrote:
Hi
Have been trying to get get rpid , and cli working, dropped xlite to test with grandstream just in case xlite didnt like it.
I have rpid=12345 in my subscriber db, against username 040600 In debug I get
save_rpid(): rpid value is '12345' 4(29312) authorize(): set string AVP 'rpid = 12345'
when I add append_rpid_hf("<sip:", ">;party=calling;id-type=subscriber;screen=yes") to my ser.cfg just before I t_relay, now in theory (someones :-)) this should add the header, but using ngrep I dont see any headers added.
Iqbal
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
.