Questions on pjsip registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
consider this scenario:
a) I create a unregister using
pjsip_regc_unregister_all<http://www.pjsip.org/pjsip/docs/html/group__PJSUA__REGC.htm#gac1814d35a47b87e36625d95a9aa5fc8>
b) I send the register using
pjsip_regc_send<http://www.pjsip.org/pjsip/docs/html/group__PJSUA__REGC.htm#g1162bd3e531614bb5567e291f48f4475>

Now pjsip_regc_send<http://www.pjsip.org/pjsip/docs/html/group__PJSUA__REGC.htm#g1162bd3e531614bb5567e291f48f4475>
is
an async call - it will wait for the 200 OK.
But now suppose I want to cancel the un-registration request and change my
existing registration (note: I am not talking of a CANCEL to cancel network
state, I am talking of resetting the PJSIP registration state) , how do I do
it? Basically, I don't want the registration state to hang around till it
receives a 200OK or no reply from the network. I just want to make PJSUA
forget that it ever sent the un-register
(Let us assume the network server is robust and can handle these things, so
let us not worry about state problems at the server)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100511/a34f349d/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux