[SR-Users] avp_db_query

2016-09-17 Thread Angel Elena
Hi, good moorning. I have a Kamailio 4.0 with avp module working. Now, I need write some values in my database and I don't find and example for this. if (avp_db_query("update subscriber set bloqueado=0 where name=x")) { } Is possible make this operation with avp_db_query ?

[SR-Users] Self challenged packets

2016-09-17 Thread Torsten Hantzsche
Hi, while playing with the script from http://kb.asipto.com/kamailio:presence:k43-blf and "kamailio 4.4.3 (x86_64/freebsd) 5a2195" I could not see any NOTIFY packet going out to the subscribed watcher. "tcpdump -i lo0" shows self injected PUBLISH packets challenged with "407 Proxy Authenticati

Re: [SR-Users] Self challenged packets

2016-09-17 Thread Bastian Triller
Add #!define WITH_IPAUTH to your script and the server's IP address to the address table and restart Kamailio. Packets from your local address to your local address are routed through your loopback interface. lo0 looks like some BSD, so you can verify that in the routing table with netstat -rn On

Re: [SR-Users] Replacing Asterisk with Kamailio

2016-09-17 Thread Valter Nogueira
Yes, our main product is based on Asterisk and we are moving do FS. But, for this project it is a no go. Valter 2016-09-16 10:22 GMT-03:00 David Villasmil : > You might want to look into freeSWITCH also, coupled with Kamailio it's > great setup. > > On Thu, Sep 15, 2016 at 5:31 PM, Valter No