[prev in list] [next in list] [prev in thread] [next in thread]
List: openser-users
Subject: [SR-Users] NOTIFY generation for REFER
From: Konstantin Tumalevich <userad () gmail ! com>
Date: 2017-12-22 14:46:48
Message-ID: CAESJrHUPCfo3MY5dB1zDutqP-YG_nU_y_4oatXUjN3MxhunUxg () mail ! gmail ! com
[Download RAW message or body]
I try to build custom attended transfer logick with kamailio and asterisk.
My backend can do all work (include interconnect between asterisk
servers), so I need to fully handle REFER in kamailio. But I can't
send back NOTIFY message with the result of a transfer.
Is any way to do this logic inside kamailio or I need to write
external SIP service?
My route looks like:
if(!route(FROM_NODE)) {
if(is_method("REFER")) {
xlog("L_NOTICE", "Got REFER in call ci:$ci for
$(hdr(Refer-To){nameaddr.uri})");
sl_send_reply("202", "Accepted [1]");
# HERE I MAKE async request and want to send NOTIFY back
exit;
}
}
--
Skype: konstantin.tumalevich
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic