[reSIProcate] Add and Parse the friendly name from To and Fromheader

Scott Godin slgodin at icescape.com
Mon Dec 5 07:54:55 CST 2005


The To and From headers are NameAddr's.  Have a look at test/testUri.cxx
for some samples.

 

msg.header(h_To).displayName() 

 

 

________________________________

From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Rajat Lala
Sent: Monday, December 05, 2005 12:39 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Add and Parse the friendly name from To and
Fromheader

 

Hi,

 

            Is there any way to add/parse user friendly name in 'To' and
'From' header field in Invite message. I want to send Invite in which
the 'To' header and 'From' header should look like as follows. 

 

To: "Bob"<bob at biloxi.com>

From: "Ailce"<alice at atlanta.com>;tag=xyz

 

            I also want to parse the name in incoming invite message. Is
there any provision in reciprocate, using that I can do this parsing?
Thanks in advance. 

 

 

With regards

Rajat Lala

 

 

 

 

 

 

 

Pleasure in the job puts perfection in the work. 

Aristotle <http://columbia.thefreedictionary.com/Aristotle>  (384 BC-322
BC)

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051205/99a7d7a6/attachment.htm>


More information about the resiprocate-devel mailing list