Hi guys when i try to register i have route[LOCATION] that returns "404 Not Found location" due to this statement:
$avp(oexten) = $rU; if (!lookup("location")) { $var(rc) = $rc; route(TOVOICEMAIL); t_newtran(); switch ($var(rc)) { case -1: case -3: send_reply("404", "Not Found location"); exit; case -2: send_reply("405", "Method Not Allowed"); exit; } }
thats weird i did follow ubuntu realtime trying to get sip account registered and then uac_req_send to asterisk but the first step already failed. :-( i noticed there is no Username in my RURI (whatever UAC i am using) maybe this is the root of evil please find attache my kamailio.cfg i am using kamailio v 4.4
Any idea very welcome
Hi! While REGISTER processing, lookup(location) is not what you need to call
lookup - have to be used, e.g. while INVITE processing, when you need to find location of registered user, to send him INVITE.
about name in RURI, if you are talking about REGISTER - it is specific message, and RURI in REGISTER never consists name.
please give us more logs for failed case.
cheers!
-- View this message in context: http://sip-router.1086192.n5.nabble.com/404-Not-Found-location-tp149492p1494... Sent from the Users mailing list archive at Nabble.com.