I reach the provider with ser and IP connection.
Here is a negrep of that connection.
U 81.242.220.26:5060 -> 82.146.123.252:5060 INVITE sip:027321073@finalcut.be SIP/2.0..Via: SIP/2.0/UDP 192.168.2.102:5060;branch=z9hG4bK-11df973c..From: 1234 sip:1234@finalcut.be;tag=9971fdc549224154o0..To: <sip:02 7321073@finalcut.be>..Call-ID: 64a23759-cbbb34d0@192.168.2.102..CSeq: 101 INVITE..Max-Forwards: 70..Contact: 1234 sip:1234@192.168.2.102:5060..Expires: 240..User-Agent: S ipura/SPA2000-2.0.10(e)..Content-Length: 426..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type: application/sdp....v=0..o=- 2292182 2292182 IN IP4 192.168.2.102..s=-..c=IN IP4 192.168.2.102..t=0 0..m=audio 16394 RTP/AVP 18 0 2 4 8 96 97 98 100 101..a=rtpmap:18 G729a/8000..a=rtpmap:0 PCMU/8000..a =rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:96 G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:100 NSE/8000..a=r tpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv.. # U 82.146.123.252:5060 -> 81.242.220.26:5060 SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP 192.168.2.102:5060;branch=z9hG4bK-11df973c;rport=5060;received=81.242.220.26 ..From: 1234 <sip:1234@fina lcut.be>;tag=9971fdc549224154o0..To: sip:027321073@finalcut.be..Call-ID: 64a23759-cbbb34d0@192.168.2.102..CSeq: 101 INVITE..Server: Sip EXpress router (0.8.14-5 (i386/lin ux))..Content-Length: 0..Warning: 392 82.146.123.252:5060 "Noisy feedback tells: pid=23462 req_src_ip=81.242.220.26 req_src_port=5060 in_uri=sip:027321073@finalcut.be out_ uri=sip:3227321073@217.206.202.126:5060 via_cnt==1".... # U 82.146.123.252:5060 -> 217.206.202.126:5060 INVITE sip:3227321073@217.206.202.126:5060 SIP/2.0..Record-Route: sip:027321073@82.146.123.252;ftag=9971fdc549224154o0;lr=on..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4 bK4cba.41e69516.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch=z9hG4bK-11df973c ..From: 1234 sip:1234@finalcut.be;tag=9971fdc549224154o0.. To: sip:027321073@finalcut.be..Call-ID: 64a23759-cbbb34d0@192.168.2.102..CSeq: 101 INVITE..Max-Forwards: 69..Contact: 1234 sip:1234@81.242.220.26:5060..Expires: 240..Us er-Agent: Sipura/SPA2000-2.0.10(e)..Content-Length: 465..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type: application/sdp.. ..v=0..o=- 2292182 2292182 IN IP4 192.168.2.102..s=-..c=IN IP4 82.146.123.252..t=0 0..m=audio 35174 RTP/AVP 18 0 2 4 8 96 97 98 100 101..a=rtpmap:18 G729a/8000..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:96 G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:100 N SE/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..a=direction:active..a=nortpproxy:yes.. # U 217.206.202.126:5060 -> 82.146.123.252:5060 SIP/2.0 503 ..CSeq: 101 INVITE..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4bK4cba.41e69516.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch= z9hG4bK-11df973c..From: 1234 sip:1234@finalcut.be;tag=9971fdc549224154o0..Call-ID: 64a23759-cbbb34d0@192.168.2.102..To: sip:027321073@finalcut.be..Contact: <sip:217.206 .202.126:5060;user=phone;transport=udp>..Content-Length: 0.... # U 82.146.123.252:5060 -> 217.206.202.126:5060 ACK sip:3227321073@217.206.202.126:5060 SIP/2.0..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4bK4cba.41e69516.0..From: 1234 sip:1234@finalcut.be;tag=9971fdc549224154o0..Ca ll-ID: 64a23759-cbbb34d0@192.168.2.102..To: sip:027321073@finalcut.be..CSeq: 101 ACK..User-Agent: Sip EXpress router(0.8.14-5 (i386/linux))..Content-Length: 0.... # U 82.146.123.252:5060 -> 81.242.220.26:5060 SIP/2.0 503 ..CSeq: 101 INVITE..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch=z9hG4bK-11df973c ..From: 1234 sip:1234@finalcut.be;tag=9971fdc 549224154o0..Call-ID: 64a23759-cbbb34d0@192.168.2.102..To: sip:027321073@finalcut.be..Contact: sip:217.206.202.126:5060;user=phone;transport=udp..Content-Length: 0.... # U 81.242.220.26:5060 -> 82.146.123.252:5060 ACK sip:027321073@finalcut.be SIP/2.0..Via: SIP/2.0/UDP 192.168.2.102:5060;branch=z9hG4bK-11df973c..From: 1234 sip:1234@finalcut.be;tag=9971fdc549224154o0..To: <sip:02732 1073@finalcut.be>..Call-ID: 64a23759-cbbb34d0@192.168.2.102..CSeq: 101 ACK..Max-Forwards: 70..Contact: 1234 sip:1234@192.168.2.102:5060..User-Agent: Sipura/SPA2000-2.0.10 (e)..Content-Length: 0....
And another ngrep when I call with the international prefix from my phone.
U 81.242.220.26:5060 -> 82.146.123.252:5060 INVITE sip:3227321073@finalcut.be SIP/2.0..Via: SIP/2.0/UDP 192.168.2.102:5060;branch=z9hG4bK-3c332fc7..From: 1234 sip:1234@finalcut.be;tag=bf3a4c601f2b9f5fo0..To: <sip:3 227321073@finalcut.be>..Call-ID: 394e7d34-2bf049b@192.168.2.102..CSeq: 101 INVITE..Max-Forwards: 70..Contact: 1234 sip:1234@192.168.2.102:5060..Expires: 240..User-Agent: Sipura/SPA2000-2.0.10(e)..Content-Length: 426..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type: application/sdp....v=0..o=- 2313664 2313664 IN IP4 192.168.2.102..s=-..c=IN IP4 192.168.2.102..t=0 0..m=audio 16396 RTP/AVP 18 0 2 4 8 96 97 98 100 101..a=rtpmap:18 G729a/8000..a=rtpmap:0 PCMU/8000.. a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:96 G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:100 NSE/8000..a= rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv.. # U 82.146.123.252:5060 -> 81.242.220.26:5060 SIP/2.0 100 trying -- your call is important to us..Via: SIP/2.0/UDP 192.168.2.102:5060;branch=z9hG4bK-3c332fc7;rport=5060;received=81.242.220.26 ..From: 1234 <sip:1234@fina lcut.be>;tag=bf3a4c601f2b9f5fo0..To: sip:3227321073@finalcut.be..Call-ID: 394e7d34-2bf049b@192.168.2.102..CSeq: 101 INVITE..Server: Sip EXpress router (0.8.14-5 (i386/lin ux))..Content-Length: 0..Warning: 392 82.146.123.252:5060 "Noisy feedback tells: pid=23467 req_src_ip=81.242.220.26 req_src_port=5060 in_uri=sip:3227321073@finalcut.be out _uri=sip:3227321073@217.206.202.126:5060 via_cnt==1".... # U 82.146.123.252:5060 -> 217.206.202.126:5060 INVITE sip:3227321073@217.206.202.126:5060 SIP/2.0..Record-Route: sip:3227321073@82.146.123.252;ftag=bf3a4c601f2b9f5fo0;lr=on..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG 4bK32e8.edbb1c75.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch=z9hG4bK-3c332fc7 ..From: 1234 sip:1234@finalcut.be;tag=bf3a4c601f2b9f5fo0. .To: sip:3227321073@finalcut.be..Call-ID: 394e7d34-2bf049b@192.168.2.102..CSeq: 101 INVITE..Max-Forwards: 69..Contact: 1234 sip:1234@81.242.220.26:5060..Expires: 240..U ser-Agent: Sipura/SPA2000-2.0.10(e)..Content-Length: 465..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type: application/sdp. ...v=0..o=- 2313664 2313664 IN IP4 192.168.2.102..s=-..c=IN IP4 82.146.123.252..t=0 0..m=audio 35176 RTP/AVP 18 0 2 4 8 96 97 98 100 101..a=rtpmap:18 G729a/8000..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:96 G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:100 NSE/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..a=direction:active..a=nortpproxy:yes.. # U 217.206.202.126:5060 -> 82.146.123.252:5060 SIP/2.0 100 Trying..CSeq: 101 INVITE..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4bK32e8.edbb1c75.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;b ranch=z9hG4bK-3c332fc7..From: 1234 sip:1234@finalcut.be;tag=bf3a4c601f2b9f5fo0..Call-ID: 394e7d34-2bf049b@192.168.2.102..To: sip:3227321073@finalcut.be;tag=150444051311 .211811880..Contact: sip:217.206.202.126:5060;user=phone;transport=udp..Content-Length: 0.... # U 212.76.247.158:5060 -> 82.146.123.252:5060 .. # U 217.206.202.126:5060 -> 82.146.123.252:5060 SIP/2.0 180 Ringing..CSeq: 101 INVITE..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4bK32e8.edbb1c75.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26; branch=z9hG4bK-3c332fc7..From: 1234 sip:1234@finalcut.be;tag=bf3a4c601f2b9f5fo0..Call-ID: 394e7d34-2bf049b@192.168.2.102..To: sip:3227321073@finalcut.be;tag=15044405131 1.211811880..Contact: sip:217.206.202.126:5060;user=phone;transport=udp..Content-Length: 0.... # U 82.146.123.252:5060 -> 81.242.220.26:5060 SIP/2.0 180 Ringing..CSeq: 101 INVITE..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch=z9hG4bK-3c332fc7 ..From: 1234 sip:1234@finalcut.be;tag= bf3a4c601f2b9f5fo0..Call-ID: 394e7d34-2bf049b@192.168.2.102..To: sip:3227321073@finalcut.be;tag=150444051311.211811880..Contact: <sip:217.206.202.126:5060;user=phone;tran sport=udp>..Content-Length: 0....
-----Message d'origine----- De : Steve Blair [mailto:blairs@isc.upenn.edu] Envoyé : vendredi 15 avril 2005 13:54 À : Olivier Taylor Cc : serusers@lists.iptel.org Objet : Re: RE : [Serusers] Sending a request to a pstn gateway
I would not recommend re-writing the To: field. As for your provider I cannot say. Are you reaching this provider via a PSTN gateway you operate or via an IP connection? Do your proxy logs show any information that is helpful?
Olivier Taylor wrote:
Thx for that answer, but I still don't understand.
Is there a way to rewrite the 'to'? Or The problem is with my provider?
Thx
Olivier
-----Message d'origine----- De : Steve Blair [mailto:blairs@isc.upenn.edu] Envoyé : vendredi 15 avril 2005 13:02 À : Olivier Taylor Cc : serusers@lists.iptel.org Objet : Re: [Serusers] Sending a request to a pstn gateway
The R-URI should be used for forwarding decisions and as you said it is correct.
Olivier Taylor wrote:
I wanna call a local number, let's say 021234567 It's local, the i strip the 0 and prefix with the internationnal code I have now 3221234567
I send an ivite and i have :
INVITE sip:3227321073@217.206.202.126:5060 SIP/2.0..Record-Route: sip:027321073@82.146.123.252;ftag=965c1d6b89e086b6o0;lr=on..Via: SIP/2.0/UDP 82.146.123.252;branch=z9hG4 bK50fe.07713b03.0..Via: SIP/2.0/UDP 192.168.2.102:5060;rport=5060;received=81.242.220.26;branch=z9hG4bK-e3b 5a83e ..From: 1234 sip:1234@finalcut.be;tag=965c1d6b89e086b6o0.. To: sip:027321073@finalcut.be..Call-ID: 78d3c74f-3df84622@192.168.2.102..CSeq: 101 INVITE..Max-Forwards: 69..Contact: 1234 sip:1234@81.242.220.26:5060..Expires: 240..Us er-Agent: Sipura/SPA2000-2.0.10(e)..Content-Length: 465..Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER..Supported: x-sipura..Content-Type: application/sdp.. ..v=0..o=- 1591974 1591974 IN IP4 192.168.2.102..s=-..c=IN IP4 82.146.123.252..t=0 0..m=audio 35168 RTP/AVP 18 0 2 4 8 96 97 98 100 101..a=rtpmap:18 G729a/8000..a=rtpmap:0 PCMU/8000..a=rtpmap:2 G726-32/8000..a=rtpmap:4 G723/8000..a=rtpmap:8 PCMA/8000..a=rtpmap:96 G726-40/8000..a=rtpmap:97 G726-24/8000..a=rtpmap:98 G726-16/8000..a=rtpmap:100 N SE/8000..a=rtpmap:101 telephone-event/8000..a=fmtp:101 0-15..a=ptime:30..a=sendrecv..a=direction:active..a=nortpproxy:yes..
The invite is ok, but the 'To' is 027321073
Is there a way to modiy the 'To' also?
Or the problem is with my pstn provider??
Thanks
Olivier
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers