[Serusers] Modifying "From" header field of an INVITE message
Girish
gr_sh2003 at yahoo.com
Sun Feb 6 08:51:25 CET 2005
If your providers supports Remote-Party-ID header, you can add that to the SIP body when the
INVITE comes to SER. If you want to make change at Asterisk, try using 'SetCallerID' before
dialing out.
HTH,
--- scm-j at nuntius.com wrote:
> Yes, it is level3.
>
> I would prefer not to change the SER source as I would need to patch in
> the change every time I upgrade to a new version of SER. Besides, my
> other SIP vendors do not require it.
>
> Would a B2BUA, such as Vovida be a good choice? Or, preferably, since I
> am already using Asterisk, and the INVITE is initiated by Asterisk (to
> SER to Level-3), is there a way to have Asterisk format the "From" in
> E.164 format ?
>
> Thanks..
>
> SCM
>
> -----Original Message-----
> From: Greg Fausak [mailto:lgfausak at gmail.com]
> Sent: Saturday, February 05, 2005 3:33 PM
> To: scm-j at nuntius.com
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Modifying "From" header field of an INVITE
> message
>
> Is it Level3?
>
> The From: cannot be changed.
>
> The identifier for the dialog is the From, To and CallID. None
> can be changed. Only the RURI (request URI) can be changed by SER.
>
> Do you have the ability to go all the way to the source and change
> the initial request? That would be easiest. Other solutions would
> require
> a b2bua.
>
> -g
>
> On Sat, 5 Feb 2005 11:58:05 -0800, scm-j at nuntius.com <scm-j at nuntius.com>
> wrote:
> >
> >
> >
> > I am relatively new to SER. My SIP service provider requires me to
> present
> > the ANI in the "From" field in my INVITE message header in E.164
> format. I
> > am currently sending this information as follows:
> >
> >
> >
> > From: "2125551212" <sip:2125551212 at xxx.xxx.xxx.xxx>
> >
> >
> >
> > They want it in E.164 format as follows:
> >
> >
> >
> > From: "+12125551212" <sip:+12125551212 at xxx.xxx.xxx.xxx>
> >
> >
> >
> > I see function only to modify the SIP URI but not the other header or
> SDP
> > fields.
> >
> >
> >
> > Could someone help me with a code snippet that I can use in ser.cfg to
> do
> > this conversion?
> >
> >
> >
> > Regards,
> >
> > SCM
> >
> >
=====
Girish Gopinath <gr_sh2003 at yahoo.com>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the sr-users
mailing list