Re: [reSIProcate] Up to date Test?
Try SipMessage::getSource()
-Justin
-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of julien
Sent: Tuesday, December 12, 2006 8:59 PM
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Up to date Test?
Hello,
Sorry to ask again but I am really in a hurry :
Could someone tell me the correct way to know on what port/protocol the
message came?
Is there some method in resiprocate's stack/transport or do I have to
check manually the header of the message?
what if the protocol is not mentioned in the headers?
Thank you for your help
julien a écrit :
> Hello,
> I was wondering which test I should take as an example...
> There seems to be a lot of deprecated methods being used in the
> resip/stack/test
>
> For example I have been using deprecated dialogs or stack.process() and
> stack.receive() but in comment it says that those methods are deprecated
> since the addition of TransactionUsers...
> So I am wondering, if I am not even using this right, how can I make the
> right implementation choices
>
> The documentation issue is really a problem for me now...
> I wish I could help but I am not even sure how to correctly use
> resiprocate yet!
>
> Please could someone point me to an up to date example?
>
> The problem I have right now is :
> I can send messages and receives messages, by calling stack.send() and
> stack.receive().
> Only if I add another transport on a different port for example:
> I am wondering if there is an easy way to know on what
> transport(protocol & port) the message came...
> The only way I can see right now is going through the message headers.
>
> Sorry for the stupid questions,
> But I am at a point where I am questioning my whole implementation...
> Thank you for your kind help
>
>
--
Julien Saito
????? ??
julien@xxxxxxxxxxx
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel