Comment out or remote the presence related section, relay these methods to Asterisk backend just like you did for INVITEs e.t.c
##!define WITH_PRESENCE
Good luck.
On Tue, Nov 6, 2018 at 10:39 AM Kevin Olbrich ko@sv01.de wrote:
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 _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users