Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Daniel-Constantin Mierla
On 13.07.2009 21:03 Uhr, Juha Heinanen wrote: Daniel-Constantin Mierla writes: > MI tm stats are exported natively via tmx module. since i need to use xmlrpc module anyway, i prefer to use mi_rpc only when necessary. if idea behind mi_rpc is backwards compatibility, then also its output sho

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > MI tm stats are exported natively via tmx module. since i need to use xmlrpc module anyway, i prefer to use mi_rpc only when necessary. if idea behind mi_rpc is backwards compatibility, then also its output should look like before, which is not now the case, e

Re: [Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Pascal Maugeri
I answer to myself (it may help others) as I could test successfully the configuration below. Also there is a typo (isbflagset instead of isflagset): so when I detect a UA is behind NAT, I do: if (nat_uac_test("19")) { if (method=="REGISTER") { setb

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Daniel-Constantin Mierla
On 13.07.2009 19:51 Uhr, Juha Heinanen wrote: Daniel-Constantin Mierla writes: > here is what mi_rpc modules does: > - it receives a rpc handler form the rpc interface in core > - reads first parameter and then lookups MI command, if not found then > returns error, if found: > - reads a

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Klaus Darilion
Hi guys! It would be great if you could write a small page on the wiki shortly describing the interfaces into sip-router/kamailio and the difference between the "ser way" and "kamailio way" (mi_*, xmlrpc, fifo? (still alive?), statistics ...) thanks klaus Juha Heinanen wrote: Daniel-Constan

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > here is what mi_rpc modules does: > - it receives a rpc handler form the rpc interface in core > - reads first parameter and then lookups MI command, if not found then > returns error, if found: > - reads all parameters as string and build internal MI tree

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Daniel-Constantin Mierla
On 13.07.2009 17:33 Uhr, Juha Heinanen wrote: Daniel-Constantin Mierla writes: > I haven't played that much with xmlrpc, but the command must be "mi", > the first parameter must be the name of the mi command, then follows the > parameters of the mi command. k mi_xmlrpc module takes para

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I haven't played that much with xmlrpc, but the command must be "mi", > the first parameter must be the name of the mi command, then follows the > parameters of the mi command. k mi_xmlrpc module takes parameters of command as an array. i have tried many c

Re: [Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Daniel-Constantin Mierla
Hello, On 13.07.2009 15:44 Uhr, Juha Heinanen wrote: Daniel-Constantin Mierla writes: > several days ago, a new module named mi_rpc was introduced to source > tree. The goal is to be able to execute MI commands using RPC interface > from sip router core. > > Back to mi_rpc, one issue th

Re: [Kamailio-Users] preparing kamailio 1.5.2

2009-07-13 Thread Daniel-Constantin Mierla
Hello Marco, On 13.07.2009 14:28 Uhr, Marco Bungalski wrote: Hello, Daniel, i know how to compile, but where to download the version with the bugfix included? if you fetch from svn the branch 1.5 then it has the fix. Here is a short description of how the versioning was done so far for kami

Re: [Kamailio-Users] OpenSer/Kamailio and A2Billing

2009-07-13 Thread Henning Westerholt
On Donnerstag, 9. Juli 2009, Carlos A. Alvarez wrote: > I am trying to set up an application, where I use Kamailio, asterisk, and > A2Billing to process pre paid calling cards, and wholesale voip. I already > have setup a kamailio service using carrier route and a2billing as a > preprocessor. It w

Re: [Kamailio-Users] OpenSer/Kamailio and A2Billing

2009-07-13 Thread Carlos A. Alvarez
Any comments? From: users-boun...@lists.kamailio.org [mailto:users-boun...@lists.kamailio.org] On Behalf Of Carlos A. Alvarez Sent: Thursday, July 09, 2009 11:10 AM To: 'Users@lists.kamailio.org' Subject: [Kamailio-Users] OpenSer/Kamailio and A2Billing Folks, First of all I will like to apologi

[Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > several days ago, a new module named mi_rpc was introduced to source > tree. The goal is to be able to execute MI commands using RPC interface > from sip router core. > > Back to mi_rpc, one issue that needs to be sorted out is the output > format. Righ

Re: [Kamailio-Users] preparing kamailio 1.5.2

2009-07-13 Thread Daniel-Constantin Mierla
Hello, this one should help you: http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-1.5.x-from-svn Cheers, Daniel On 07/13/2009 01:30 PM, Marco Bungalski wrote: Hello, i am sorry to say that i've not testet it because i don't know where to download the fix and how to implementate tha

Re: [Kamailio-Users] preparing kamailio 1.5.2

2009-07-13 Thread Daniel-Constantin Mierla
Hello On 07/13/2009 12:28 PM, Marco Bungalski wrote: Hello, Daniel! Will the bug "Kamailio crashes when receiving an empty Record-Route-field with using the dialog-module" be fixed in 1.5.2? If yes: Thanks for that :-) it should be already in the svn (therefore yes). Have you teste

Re: [Kamailio-Users] preparing kamailio 1.5.2

2009-07-13 Thread Marco Bungalski
Hello, Daniel! Will the bug "Kamailio crashes when receiving an empty Record-Route-field with using the dialog-module" be fixed in 1.5.2? If yes: Thanks for that :-) Greetings, Marco ___ Kamailio (OpenSER) - Users mailing list Us

[Kamailio-Users] roadmap to kamailio 3.0

2009-07-13 Thread Daniel-Constantin Mierla
Hello, the roadmap to next major release of Kamailio, codenamed 3.0, was sketched during last week IRC meeting as: - freezing in 1-1.5 months - 1-1.5 months testing - release by end of September/ beginning of October Right now, current development state is: - all but one module (seas) were upd

Re: [Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Alex Balashov
http://www.kamailio.org/docs/modules/1.5.x/nathelper.html#id2506959 "The function creates a URI consisting of the source IP, port, and protocol and stores the URI in an Attribute-Value-Pair. The URI will be appended as "received" parameter to Contact in 200 OK and registrar will store it in th

Re: [Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Daniel-Constantin Mierla
Hello, On 07/13/2009 11:54 AM, Pascal Maugeri wrote: Hi A quick question, when I apply a fix_nated_register() to a remote user when he/she registers, how can I know later on if this user is behind NAT ? set a branch flag for REGISTER before save location. After lookup location that flag is r

[Kamailio-Users] How to know if a UAC is behind NAT after fix_nated_register() ?

2009-07-13 Thread Pascal Maugeri
Hi A quick question, when I apply a fix_nated_register() to a remote user when he/she registers, how can I know later on if this user is behind NAT ? All my calls go through a B2BUA: Caller --> kamailio/rtpproxy --> B2BUA --> kamailio/rtpproxy --> Callee When my B2BUA calls a us

[Kamailio-Users] preparing kamailio 1.5.2

2009-07-13 Thread Daniel-Constantin Mierla
Hello, last week during the IRC meeting it was proposed to release kamailio 1.5.2 tomorrow. If anyone of you is aware of some show stopper, please reply. Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.com/ ___ Kamailio (OpenSER) -

[Kamailio-Users] new module: mi_rpc

2009-07-13 Thread Daniel-Constantin Mierla
Hello, several days ago, a new module named mi_rpc was introduced to source tree. The goal is to be able to execute MI commands using RPC interface from sip router core. One big advantage of this is the executing MI commands using the sercmd tool. sercmd is a command line interface, able to

[Kamailio-Users] two more modules

2009-07-13 Thread Daniel-Constantin Mierla
Hello, two of the last three modules that were not ported to use the new sip router core are ready now: nat_traversal and siptrace. Particularly, siptrace was refurbished, should catch now forwarded ACK. Before release, there are couple of new features that should get in trunk since sip rout