[reSIProcate] makeSubscribe help

Scott Godin slgodin at icescape.com
Mon Mar 5 10:36:01 CST 2007


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 at yahoo.com] 
Sent: Monday, March 05, 2007 11:01 AM
To: Scott Godin; resiprocate-devel at list.resiprocate.org
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
<http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3ND
A3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0d%0a
>  to find your fit.

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


More information about the resiprocate-devel mailing list