[SR-Users] RFC: best way to create dialogs

2015-01-22 Thread Klaus Darilion
Hi! I use the dialog module to count and limit concurrent calls per user. It worked fine with 4.1.7 but fails with 4.2.2. My config basically looks like: route{ ... dlg_manage() ... authentication (stateless replies + exit) ... t_on_reply() t_on_branch() ... t_relay() exit; }

Re: [SR-Users] Dialog module generates error since upgrade to 4.2.2

2015-01-22 Thread Klaus Darilion
Nice, I have the same problem after upgrading from 4.1.7 to 4.2.2. . in my case it seems the dialog callbacks are not executed for responses ... I am still debugging . On 22.01.2015 13:25, Jan Hazenberg wrote: Hi All, I'm running into a issue with the dialog module since the

[SR-Users] RedHat 7 packages issue

2015-01-22 Thread Alberto Panizzo
Hi all, Thanks for your hard working on Kamailio! I was just trying to install kamailio 4.2.X on a RedHat 7 machine but I got checksum mismatch: I took the yum configuration from: http://rpm.kamailio.org/ [kamailio] name=RPMs for Kamailio on RHEL 7 type=rpm-md

Re: [SR-Users] topoh ACK Call-ID mismatch

2015-01-22 Thread Daniel Tryba
On Wednesday 21 January 2015 23:52:46 Daniel-Constantin Mierla wrote: It is an ACK for a negative response, therefore it is hop-by-hop (received and discared by kamailio, then a new one is generated to the next hop). The information of direction which was detected with Route header ftag cannot

[SR-Users] reINVITE with uac_req_send()

2015-01-22 Thread Le Truong Giang
Hi ! I have the following simple scenario A --- Kamailio --- Asterisk --- B now i'm trying to handle Timeout reply when B is unavailable. First i suspend transaction and wait for B available. i use uac_reg_send() to reINVITE B .The problem is when B available, it receive INVITE but A doesn't

Re: [SR-Users] fix_nated_contact and IPv6

2015-01-22 Thread Klaus Darilion
Sounds like a bug. Anyway, as fix_nated_contact is not standard conform, it is better to use handle_ruri_alias() and add_contact_alias() (see the Kamailio default config file). Maybe they handle also IPv6 correct. regards Klaus On 22.01.2015 16:26, Sebastian Damm wrote: Hi, I'm trying to

Re: [SR-Users] fix_nated_contact and IPv6

2015-01-22 Thread Daniel-Constantin Mierla
Couple of remarks: 1) I guess the initial author know there is no nat in ipv6, so he didn't bother with. I just pushed a patch for it in master (814c08f3), if tested and reported to work ok, it can be backported 2) the contact uri example in the first email is perhaps not properly reflecting the

Re: [SR-Users] Dialog module generates error since upgrade to 4.2.2

2015-01-22 Thread Klaus Darilion
Hi Jan! I replaced dlg_manage with setflag(dialog flag). This way the dialog is created only when a transaction is created. It solved my problems. regards Klaus On 22.01.2015 14:47, Klaus Darilion wrote: Nice, I have the same problem after upgrading from 4.1.7 to 4.2.2. . in my

[SR-Users] fix_nated_contact and IPv6

2015-01-22 Thread Sebastian Damm
Hi, I'm trying to set up a Kamailio (4.1.3) server which converts between IPv6 and IPv4. Everything looks pretty good. Now I have a test client which sends packets via IPv6, but in contact header, SDP etc. there are still IPv4 addresses. (This comes from some converting from v4 to v6 earlier.)

Re: [SR-Users] Trouble getting start time / call duration from dialog module

2015-01-22 Thread Will Ferrer
Hi Abdul I just wanted to check int. Did you have any ideas of things we could try or more information we could get you to assistance? Thanks again for your help, the input we have gotten from you and Daniel has always been invaluable. All the best. Will Ferrer Switchsoft On Fri, Jan 16, 2015

Re: [SR-Users] Dialog module generates error since upgrade to 4.2.2

2015-01-22 Thread Jan Hazenberg
Klaus, Yes, that solves the problem here as well. Thanks, Jan Klaus Darilion schreef op 2015-01-22 16:16: Hi Jan! I replaced dlg_manage with setflag(dialog flag). This way the dialog is created only when a transaction is created. It solved my problems. regards Klaus On 22.01.2015 14:47,

Re: [SR-Users] Does forking impact max_inv_lifetime?

2015-01-22 Thread Daniel-Constantin Mierla
I haven't used the feature myself (nor implemented it), but it is what I expect. Maybe you can run in debug mode and map the logs with the code to see what happens. Cheers, Daniel On 22/01/15 00:04, Alex Balashov wrote: Daniel, Will failure_route will be called immediately when the

[SR-Users] CDRs and MongoDB

2015-01-22 Thread Mickael Marrache
Hi, Is it possible to write CDRs directly to MongoDB using the new db_mongodb module? modparam(acc, db_url, DB_MONGO_URL) modparam(acc, cdr_enable, 1) modparam(acc, cdr_extra, . ) modparam(acc, cdr_log_enable, 0) modparam(acc, cdrs_table, cdrs) In the acc module documentation,