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

RE: [reSIProcate] simple question


Odd… Something must be changing the tid – the tid (branch param from Via) must match the request.

 

From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Michael Baj
Sent: Wednesday, June 28, 2006 10:21 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] simple question

 

Team,

 

I have set up a simple forwarding proxy using resiprocate.  In my thread() routine, I perform a check for message validation and then respond to the message with an error if it is not correct.

 

std::auto_ptr<SipMessage> response(Helper::makeResponse(*sip, 503));

mStack.send(*response, this);

 

However, when I try to respond to the message, I the reply is dropped, with the message “discarding stray response”.  I figure I must be doing something wrong because this is very trivial and the repro code does this very same thing.  What am I overlooking?

 

DEBUG | 20060628-095633.975 | mbaj-dev | sipdirector | RESIP | 23198 | 48430000 | Helper.cxx:302 | Helper::makeResponse(SipReq:  REGISTER 192.168.10.55 tid=b63c0725148bbe5f cseq=REGISTER contact=6175559999@xxxxxxxxxxxxx / 94540 from(wire) code=503 reason=

 

DEBUG: Sending SipResp: 503 tid=b63c0725148bbe5f cseq=REGISTER / 94540 from(tu)

DEBUG: Sending SipResp: 503 tid=b63c0725148bbe5f cseq=REGISTER / 94540 from(tu)

DEBUG | 20060628-095633.977 | mbaj-dev | sipdirector | RESIP | 23198 | 48430000 | SipStack.cxx:276 | SEND: SipResp: 503 tid=b63c0725148bbe5f cseq=REGISTER / 94540 from(tu)

INFO | 20060628-095634.001 | mbaj-dev | sipdirector | RESIP:TRANSACTION | 23198 | 37940144 | TransactionState.cxx:393 | discarding stray response: SipResp: 503 tid=b63c0725148bbe5f cseq=REGISTER / 94540 from(tu)

 

 

Thanks in advance!

Michael Baj