michael p wrote:
thanks
but where i have to put this line in the ser.cfg ?
in method = register? in method = invite?
if (uri == myself) {
if (method=="PUBLISH") {
if (!t_newtran()) {
log(1, "newtran error\n");
sl_reply_error();
};
handle_publish("registrar");
log(1,"handled publish\n");
break;
};
if (method=="SUBSCRIBE") {
if (!t_newtran()) {
log(1, "newtran error\n");
sl_reply_error();
};
handle_subscription("registrar");
log(1,"handled subscribe\n");
break;
};
...
}