[Serusers] Sending a request to a pstn gateway

Jiri Kuthan jiri at iptel.org
Wed Apr 20 07:56:54 CEST 2005


At 01:12 PM 4/30/2005, Olivier Taylor wrote:
>Thx for that answer, but I still don't understand.
>
>Is there a way to rewrite the 'to'?

There is, the drawback is many SIP devices will then no longer work.

It is by SIP specicication not meaningful to rewrite To. To specifies
the original target and is not supposed to change. Use request URI
for specification of the target which changes along the path.

>Or
>The problem is with my provider?

If they are insistive on changed To, then the problem is on their
side.

Is it Level3?

-jiri


>Thx
>
>Olivier
>
>-----Message d'origine-----
>De : Steve Blair [mailto:blairs at isc.upenn.edu] 
>Envoyé : vendredi 15 avril 2005 13:02
>À : Olivier Taylor
>Cc : serusers at 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 at 217.206.202.126:5060 SIP/2.0..Record-Route:
>><sip:027321073 at 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 at finalcut.be>;tag=965c1d6b89e086b6o0..
>>  To: <sip:027321073 at finalcut.be>..Call-ID:
>>78d3c74f-3df84622 at 192.168.2.102..CSeq: 101 INVITE..Max-Forwards:
>>69..Contact: 1234 <sip:1234 at 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 at lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>>  
>>
>
>-- 
>  
>ISC Network Engineering
>The University of Pennsylvania
>3401 Walnut Street, Suite 221A
>Philadelphia, PA 19104  
>
>
>voice: 215-573-8396 
>
>       215-746-8001
>
>fax: 215-898-9348    
>
>sip:blairs at upenn.edu
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers

--
Jiri Kuthan            http://iptel.org/~jiri/ 




More information about the sr-users mailing list