Hello, all. My objective is to make a kamailio installation where phones call to each other by number and are able to monitor others using SUBSCRIBE. I use Kamailio 3.0.0 rc1 pulled from git. My config file is http://pastebin.ca/1675069 I had bad results with establishing calls, possibly because i frequently restarted kamailio, only once i had INVITE passing from one phone to other. RTPProxy mustn't work on a box with grey IP, i know. But my greatest convern now is notifications. I just want to say that i never got NOTIFYs with xml containing bodies, what was usual in Asterisk. First of all NOTIFYs that go immediately after SUBSCRIBEs also have no xml body.
Please direct me what is wrong in my configuration regarding presence setup. Tell me what system info to provide.
Hello,
On 17.11.2009 18:19 Uhr, Andrey Utkin wrote:
Hello, all. My objective is to make a kamailio installation where phones call to each other by number and are able to monitor others using SUBSCRIBE. I use Kamailio 3.0.0 rc1 pulled from git. My config file is http://pastebin.ca/1675069 I had bad results with establishing calls, possibly because i frequently restarted kamailio, only once i had INVITE passing from one phone to other. RTPProxy mustn't work on a box with grey IP, i know. But my greatest convern now is notifications. I just want to say that i never got NOTIFYs with xml containing bodies, what was usual in Asterisk. First of all NOTIFYs that go immediately after SUBSCRIBEs also have no xml body.
Please direct me what is wrong in my configuration regarding presence setup. Tell me what system info to provide.
are you phones sending PUBLISH? If not, then is nothing that can be sent over NOTIFY, therefore empty body.
Cheers, Daniel
Hello again. I have another question on this topic. My last configs: http://pastebin.ca/1689545 My logs: ftp://rtb.org.ua/tmp/kamailio_subscriptions5.ngrep ftp://rtb.org.ua/tmp/kamailio_subscriptions5.debug_n_ngrep
I generate REGISTER and SUBSCRIBEs by sipp, kamailio (compiled from git://git.sip-router.org/sip-router, branch kamailio_3.0, commit 9b482424cb8aff4050426033908e7e243f03ae83) answers 'ok' to everything, but i don't see subscriptions info in 'watchers'/'active_watchers' tables. Although i have "db_update_period"=1 for module "presence", so i supposed database table should be updated with subscriptions state changes.
Please explain me what is wrong in my configuration or expectations.