< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] makeSubscribe help


I’ll assume you are talking about DialogUsageManager::makeSubscription…

The To: header comes from the target and the From: header comes from the UserProfile default From setting.  You can always edit the message you get back before calling send.

 

The wiki has very detailed documentation on setting/accessing SipMessage headers:

http://www.resiprocate.org/Creating_and_using_a_SipMessage

 

Scott

 

 

From: heather jiang [mailto:heather37j@xxxxxxxxx]
Sent: Monday, March 05, 2007 11:01 AM
To: Scott Godin; resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
Subject: makeSubscribe help

 

I got some problems:

 

1. If I need to put header informations like From; To; etc inside the subscribe request message, can I use sipstack::makeSubscribe? It seems to put the default somewhere else.

 

2. By the way, if I need to parse the header information inside a response message what method is there to get that header information(in order to get  From, To, callID,  transactoion Id , etc inside the header).

 

Thanks a lot for your info!

 


Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel
to find your fit.