[Serusers] Sending a request to a pstn gateway

Darren Nay dnay at ionosphere.net
Thu Apr 21 17:49:10 CEST 2005


No, SER will not allow you to rewrite the From: or To: SIP headers.  Only
the forwarding URI.  If you want to rewrite the From, or To headers then you
would need to use a B2BUA.  However, as I understand it, this breaks RFC
compliance standards.

Darren Nay


On 4/30/05 7:12 AM, "Olivier Taylor" <olivier.taylor at gmail.com> 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 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
>>  
>> 





More information about the sr-users mailing list