After using the uac module to initiate registration to the remote end, is there a method to call back to notify the registration result? I want to get the registration result, such as 200 or 403
Have you consulted the UAC module documentation? It's all in there. You won't get faster help than that.
BTW, it won't tell you the latest reply status code per se, usually that's not a direct indicator of a registration status. If you are looking for that specifically - then you'll have to build some kind of [in-memory] [htable] storage to keep track of the latest reply status codes for each r_uuid, somewhere in the reply route.
RPC https://kamailio.org/docs/modules/devel/modules/uac.html#uac.r.uac.reg_info
Within script https://kamailio.org/docs/modules/devel/modules/uac.html#uac.f.uac_reg_statu...
On Mon, Jan 8, 2024 at 10:26 PM mm e via sr-users < sr-users@lists.kamailio.org> wrote:
After using the uac module to initiate registration to the remote end, is there a method to call back to notify the registration result? I want to get the registration result, such as 200 or 403 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi,
I use the rpc stuff for nagios monitoring the uac register status and give some alerts (I watch you DTAG).
On the other side the in script states are good to reply for example with 503 or whatever sip rc to get this disabled.
Just as Sergiu described build stuff for your needs.
Sergiu Pojoga via sr-users sr-users@lists.kamailio.org schrieb am Di., 9. Jan. 2024, 05:17:
Have you consulted the UAC module documentation? It's all in there. You won't get faster help than that.
BTW, it won't tell you the latest reply status code per se, usually that's not a direct indicator of a registration status. If you are looking for that specifically - then you'll have to build some kind of [in-memory] [htable] storage to keep track of the latest reply status codes for each r_uuid, somewhere in the reply route.
RPC https://kamailio.org/docs/modules/devel/modules/uac.html#uac.r.uac.reg_info
Within script
https://kamailio.org/docs/modules/devel/modules/uac.html#uac.f.uac_reg_statu...
On Mon, Jan 8, 2024 at 10:26 PM mm e via sr-users < sr-users@lists.kamailio.org> wrote:
After using the uac module to initiate registration to the remote end, is there a method to call back to notify the registration result? I want to get the registration result, such as 200 or 403 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi,
Have you checked evroute parameter to set to 1 in $uac_req object and handle event_route[uac:reply]?
Peter
- jan. 9. dátummal, 4:26 időpontban mm e via sr-users sr-users@lists.kamailio.org írta:
After using the uac module to initiate registration to the remote end, is there a method to call back to notify the registration result? I want to get the registration result, such as 200 or 403 __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: