Samuel Vinson wrote: > Hi Benny, > > Thanks for your answer. > Yes I did it, can I define a callback to receive, process this message > and try a new registration ? (I'm using PJSUA.) Hmm.. looks like you can't. :( Registration callback is on_reg_state(), but unfortunately this function does not report the whole incoming register response, thus we can't get Min-Expires header from this callback. Looks like we probably need another callback, on_reg_state2() perhaps.. > This message, is it present in specification ? Or is it a specific > implementation ? Min-Expires is standard, from RFC 3261. cheers, -benny > Samuel > > Benny Prijono a ?crit : >> Samuel Vinson wrote: >> >>> Hi, >>> >>> When pjsip does a registration with default register timeout (300), >>> my SIP provider answers : >>> Response 423/REGISTER/ >>> SIP 2.0 423 Interval Too Brief >>> ... >>> Min-Expires: 1800 >>> >>> Can pjsip use the Min-Expires values to try a new register ? >>> >> Hi Samuel, >> >> currently pjsip does not interpret this header (it was intentionally >> left for application), so I guess for now probably we could only >> manually set the registration timeout to 1800. >> >> cheers, >> -benny