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

Re: [reSIProcate-users] a question about DUM ClientInviteSession.cxx


Good catch - that is definitely not right.  I'll commit a fix to send a response instead of a PRACK.

Thanks,
Scott

On Thu, Apr 2, 2009 at 12:18 AM, 吴振宇 <ssosun@xxxxxxxxx> wrote:
in the function ClientInviteSession::reject() :

there are codes as follow:

SharedPtr<SipMessage> req(new SipMessage());
        mDialog.makeRequest(*req, PRACK);
        req->header(h_StatusLine).statusCode() = statusCode;
        if(warning)
        {
           req->header(h_Warnings).push_back(*warning);
        }

req is a request ,it shoud has no h_StatusLine ? it should have requestLine ?
when i use this code to handle update reject ,the system throw
or i should not use this function to handle update reject ?

ps: my english is poor , don't care the gramma
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/