[sr-dev] KAMcmd compilation

2013-02-07 Thread Olle E. Johansson
Hi! Got a bit surprised again - but I've always been confused by the build system... ;-) I ran make make modules and then make install At make install Kamailio builds the .so modules again but even more importantly - it seems to build kamcmd from scratch by compiling the source code. I

[sr-dev] git:master: sipcapture - update example configuration

2013-02-07 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: fcbf4a0329adab01b079d72408582c2b5d4390e6 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fcbf4a0329adab01b079d72408582c2b5d4390e6 Author: Olle E. Johansson o...@edvina.net Committer: Olle E. Johansson o...@edvina.net Date:

Re: [sr-dev] KAMcmd compilation

2013-02-07 Thread Daniel-Constantin Mierla
Hello, the modules are updated for the symbols and library installation paths. kamcmd is a dependency of ctl module and compiled if not compiled before. You can go in its folder and compile it with make if you want to use it from there. Cheers, Daniel On 2/7/13 10:11 AM, Olle E. Johansson

[sr-dev] registrar: Fixed event_route name, 'usrloc:expired-contact'

2013-02-07 Thread Giacomo Vacca
Hi, Just a small patch to synchronize the name of the expired contact event to the documentation. Documentation refers to 'usrloc:contact-expired', the registrar code to 'usrloc:expired-contact'. I thought it was easier to update the code rather than all the documentation.

Re: [sr-dev] KAMcmd compilation

2013-02-07 Thread Peter Dunkley
I usually do: make cfg make make modules make utils make install The make utils takes care of kamcmd... Peter On Thu, 2013-02-07 at 10:44 +0100, Daniel-Constantin Mierla wrote: Hello, the modules are updated for the symbols and library

[sr-dev] How to get dialog duration in miliseconds?

2013-02-07 Thread Mino Haluz
Hi, I assume there is no avp or function which could give me duration of ended dialog in miliseconds (I have to send it in RADIUS message). I can run some bash script which could return me this value but seems to me bit awkward. How you would do it? To adjust dialog module so that it could

[sr-dev] git:master: siptrace Fix bug in documentation

2013-02-07 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: 1c643eb26a25880669a719a29c1c8e984e32983d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1c643eb26a25880669a719a29c1c8e984e32983d Author: Olle E. Johansson o...@edvina.net Committer: Olle E. Johansson o...@edvina.net Date:

Re: [sr-dev] KAMcmd compilation

2013-02-07 Thread Olle E Johanson
7 feb 2013 kl. 10:50 skrev Peter Dunkley peter.dunk...@crocodile-rcs.com: I usually do: make cfg make make modules make utils make install The make utils takes care of kamcmd... Ok, so I was confused again. Life :-) /O Peter On Thu, 2013-02-07 at 10:44 +0100,

[sr-dev] git:master: registrar: Fixed typo in event_route name, 'usrloc: expired-contact'

2013-02-07 Thread Daniel-Constantin Mierla
Module: sip-router Branch: master Commit: 80e8407dedb06d386167924a40fbf47119708336 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=80e8407dedb06d386167924a40fbf47119708336 Author: Giacomo Vacca giacomo.va...@truphone.com Committer: Daniel-Constantin Mierla

Re: [sr-dev] KAMcmd compilation

2013-02-07 Thread Olle E. Johansson
7 feb 2013 kl. 10:44 skrev Daniel-Constantin Mierla mico...@gmail.com: Hello, the modules are updated for the symbols and library installation paths. Ok, that explains that. It makes sense :-) Thanks! kamcmd is a dependency of ctl module and compiled if not compiled before. You can go

Re: [sr-dev] registrar: Fixed event_route name, 'usrloc:expired-contact'

2013-02-07 Thread Daniel-Constantin Mierla
Hello, thanks, patch pushed to master branch. Cheers, Daniel On 2/7/13 10:46 AM, Giacomo Vacca wrote: Hi, Just a small patch to synchronize the name of the expired contact event to the documentation. Documentation refers to 'usrloc:contact-expired', the registrar code to

Re: [sr-dev] msilio - m_dump() patch

2013-02-07 Thread Daniel-Constantin Mierla
I pushed a patch on master branch, can you give it a try and see if all goes fine now? Cheers, Daniel On 2/5/13 10:44 PM, Daniel-Constantin Mierla wrote: Thanks for reporting, it has to be fixed without allocating an useless byte. I will look at it soon. Cheers, Daniel On 2/5/13 5:45 PM,

[sr-dev] SIPcapture

2013-02-07 Thread Olle E. Johansson
LOG(L_ERR, sipcapture:hep_msg_received HEP is not enabled\n); if(!hep_capture_on) { LOG(L_ERR, sipcapture:hep_msg_received HEP is not enabled\n); return -1; } THis part of the code (in hep.c) seems to log the error all the time, but when we have an issue,

Re: [sr-dev] Problem with $msrp(code) PV

2013-02-07 Thread Peter Dunkley
Hi, Has anyone got any ideas about this, because it has me very confused. Peter On Wed, 2013-02-06 at 16:28 +, Peter Dunkley wrote: Possible - but the inside the MSRP function the pv_get_intstrval() function is used, so in both the examples from my email I would expect $msrp(code) to

[sr-dev] Fwd: Set NOTIFY messages from presence module to DEBUG LEVEL

2013-02-07 Thread Victor Seva
2013/2/5 Daniel-Constantin Mierla mico...@gmail.com: If any of you submitted patches was not accepted or rejected for a persistent reason, please write again to sr-dev mailing list referring to it. It is a short period still good for getting them in v4.0. This silly patch had no response.

Re: [sr-dev] msilio - m_dump() patch

2013-02-07 Thread Stoyan Mihaylov
Now it works fine. I can send and receive messages - online and offline. On Thu, Feb 7, 2013 at 12:24 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: I pushed a patch on master branch, can you give it a try and see if all goes fine now? Cheers, Daniel On 2/5/13 10:44 PM,

Re: [sr-dev] Problem with $msrp(code) PV

2013-02-07 Thread Daniel-Constantin Mierla
Hello, I will look over it very soon, just didn't get time yet. Is it for all messages, or just for some particular ones? Cheers, Daniel On 2/7/13 11:46 AM, Peter Dunkley wrote: Hi, Has anyone got any ideas about this, because it has me very confused. Peter On Wed, 2013-02-06 at 16:28

Re: [sr-dev] Problem with $msrp(code) PV

2013-02-07 Thread Peter Dunkley
It's just MSRP responses (I've only gotten the client stack to generate 200 OKs). Regards, Peter On Thu, 2013-02-07 at 16:38 +0100, Daniel-Constantin Mierla wrote: Hello, I will look over it very soon, just didn't get time yet. Is it for all messages, or just for some particular ones?

Re: [sr-dev] How to get dialog duration in miliseconds?

2013-02-07 Thread Mino Haluz
I added new pseudovariale $TMS which gives time in miliseconds. If I print $TMS value it is ok, but when I assign it to avp, it gives strange values. pv_time.c int pv_get_timenows2(struct sip_msg *msg, pv_param_t *param, pv_value_t *res) { struct timeval tv; char

[sr-dev] STUN support for outbound

2013-02-07 Thread Olle E. Johansson
Reading the outbound module documentation, Kamailio has to be recompiled with stun support. Any reason why STUN is disabled by default? For this to work with packaging, would it be possible to make this a configuration option instead of a compile option? if it is possible, would it require

[sr-dev] git:master: Merge branch 'master' of ssh://git.sip-router.org/sip-router

2013-02-07 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: beb5537e70bc36f459223633109d31306ae600f8 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=beb5537e70bc36f459223633109d31306ae600f8 Author: Olle E. Johansson o...@edvina.net Committer: Olle E. Johansson o...@edvina.net Date:

[sr-dev] git:master: outbound - Fix typos in example configuration

2013-02-07 Thread Olle E . Johansson
Module: sip-router Branch: master Commit: e4ffcaf671c93222a5aed846cf89fefaf72b2b4a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e4ffcaf671c93222a5aed846cf89fefaf72b2b4a Author: Olle E. Johansson o...@edvina.net Committer: Olle E. Johansson o...@edvina.net Date:

Re: [sr-dev] STUN support for outbound

2013-02-07 Thread Daniel-Constantin Mierla
IIRC, stun code uses some crypto functions from ssl lib, perhaps the code can be moved as module to make it flexibile in use. In the core is needed only the detection of the packet type, like it's done for msrp or http. As a module would be easier to export also some event routes on stun