[Serusers] Modifying "From" header field of an INVITE message

Greg Fausak lgfausak at gmail.com
Sun Feb 6 16:06:59 CET 2005


If Asterisk is the source of the invite, by all means just change the
original INVITE.  I do not know how to configure Asterisk, but, I'm sure
you can get the From/To formatted correctly originating from there.

---greg



On Sat, 5 Feb 2005 16:46:58 -0800, scm-j at nuntius.com <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
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
> 
> --
> Greg Fausak
> greg at addabrand.com
> 
> 


-- 
Greg Fausak
greg at addabrand.com




More information about the sr-users mailing list