[SR-Users] busy lamp field
Kevin Olbrich
ko at sv01.de
Tue Nov 6 16:38:02 CET 2018
Hi!
Can someone share his kamailio.cfg with working busy lamp field in a
kamailio-as-proxy scenario?
My config is based on the example shipped with 5.1.x and asterisk as the
backend.
Calling works fine but PUBLISH / SUBSCRIBE is handled by kamailio itself.
I am not sure but this might be the part where I should relay the request
to asterisk(?):
#!ifdef WITH_PRESENCE
> if (!t_newtran()) {
> sl_reply_error();
> exit;
> }
> if(is_method("PUBLISH")) {
> handle_publish();
> t_release();
> } else if(is_method("SUBSCRIBE")) {
> handle_subscribe();
> t_release();
> }
> exit;
> #!endif
Currently the lights are "broken", some phones show them on, some off.
Kind regards
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181106/57d56a80/attachment.html>
More information about the sr-users
mailing list