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

Re: [reSIProcate] getting from and to from sip message



On 25/06/16 21:03, Mateus Bellomo wrote:
> Hello,
> 
> How can I get the 'from' and 'to' users from a sip message?
> 
> I'm looking at [1] and I saw a lot of reference to headers. So I
> searched at resip/stack/Header* and I saw some 'from' and 'to' ([2] and
> [3]) but I couldn't find a method that return this data.
> 
> 

You need to write a class that extends ServerPagerMessageHandler

Here is an example:

https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicMessage.cxx