Hi Guys,
We are modifying "from" and "to" headers with rtjson module via a json
struct. It works fine in INVITE, TRYING, RINGING and OK but not in the
following messages. Kamailio It's changing ONLY "from" and "to" URI BUT NOT
the DISPLAY NAME. I think it's the tm module but I can't figure out how
red
> values not to be changed from RFC point of view.
>
> You can try with uac configured to use dialog for storing From/To values
> instead of relying on record route parameters -- I haven't tried myself.
> Cheers,
> Daniel
>
>
> On 06/12/2016 19:24, Diego Nadare
Hi Daniel, thanks again. I modified the code and now it's working as I
need. Do you think this could be useful for anybody else? If so I can
show/send you the code to verify it's ok and then ask for a pull request.
Thanks again!
Diego
___
SIP Express Ro
Hi guys,
We are testing kamailio with sipp. We are running it with 20cps and some
calls do the following. When Kamailio is processing the 'ringing' a '200ok'
arrives in the middle. First, kamailio forwards the 200 ok and then the
ringing. 'ACK' arrives and, I suppose, the call is established. The
smells like a sipP scenario file issue. Did you customize the the
> scenario file being used by sipP B?
>
> -Mack
>
> On Dec 14, 2016, at 3:23 PM, Diego Nadares wrote:
>
> Hi guys,
>
> We are testing kamailio with sipp. We are running it with 20cps and some
> calls do the fo
Hi Wim,
Check this:
Dec 15 15:12:02 DNS-enum-8Gb-3 kamailio[6864]: 1(6883) DEBUG: tm
[t_lookup.c:485]: matching_3261(): DEBUG: *RFC3261 transaction matching
failed*
Maybe is related rrs. Add it to your sipp scenarios.
Diego
2016-12-15 11:13 GMT-03:00 Wim Van Cauwenbergh :
> Hi, I
the call wasn't established?
Any help we'll be appreciated.
Thanks in advance.
Diego!
El El mié, 14 de dic. de 2016 a las 18:22, Diego Nadares
escribió:
> Hi Mack,
>
> The only thing I added to the basic scenarios is rrs="true"
>
> In UAS
>
>
> In
Hi Guys,
Anybody knows if each 'socket' specified in routes struct should be use to
send the messages?
The socket is configured in kamailio.
In kamailio.cfg
listen=udp:172.16.213.38:5060
json struct
"routes": [
{
"uri": "sip:127.0.0.1:5080",
"dst_uri": "sip:127.0.0.1:5082",
"path": ", ",
>
Thanks Daniel, I will try it today!
Cheers,
Diego
2016-12-22 5:17 GMT-03:00 Daniel-Constantin Mierla :
> Hello,
>
> indeed, enforcing the socket was missing. Can you try with latest git from
> master or 4.4 branches? I pushed a patch for it.
>
> Cheers,
> Daniel
>
>
Daniel,
It works like a charm!
Thanks again!
Diego.
2016-12-22 10:17 GMT-03:00 Diego Nadares :
> Thanks Daniel, I will try it today!
>
> Cheers,
>
> Diego
>
> 2016-12-22 5:17 GMT-03:00 Daniel-Constantin Mierla :
>
>> Hello,
>>
>> indeed, enforcin
Hi list,
We have two eth, one with a private ip and the other with a public ip. We
have MHOMED configured. The call comes from private network and then is
routed to a public network via rtjson routing. The is routed but the thing
is that the record route is being set with the private one (It's th
authentication
route(AUTH);
# record routing for dialog forming requests (in case they are
routed)
# - remove preloaded route headers
remove_hf("Route");
if (is_method("INVITE|SUBSCRIBE")) {
record_route();
}
.0/UDP xxx.xxx.xxx.01:5060;branch=z9hG4bK637b1bca.
Max-Forwards: 70.
U 2016/12/23 09:58:24.031593 172.16.213.38:5060 -> 172.16.208.11:5060
INVITE sip:1153526112@172.16.208.11:5060;user=phone SIP/2.0.
---> Record-Route:
.<---
Record-Route: .
So, it;s working now!
Cheers,
Diego
2016-12-22
Hi guys,
I'm trying to append a content type to a message that has only one content
type. I tried using just set_body_multipart and now I'm using set_body
multipart and append_body_part with no success too.
The result is a message with multipart but has "two" sdp and no gtd. It has
the old sdp wi
Sorry, I forgot to paste two log lines.
.
Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: ERROR: textopsx
[textopsx.c:159]: msg_apply_changes_f(): invalid usage - not in request
route
Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: ERROR: textops [textops.c:1879]:
append_multibody_helper(): Cannot get b
- not in request route"
>
> --
> Sergey Basov
>
>
> 26 дек. 2016 г. 5:05 PM пользователь "Diego Nadares"
> написал:
>
> Sorry, I forgot to paste two log lines.
>
> .
> Dec 26 11:36:22 dwrfsd01 ./kamailio[8847]: ERROR: textopsx
> [textop
oo? (this would be a new request)
Cheers.
Diego.
2016-12-26 13:21 GMT-03:00 Diego Nadares :
> Hi Sergey,
>
> Thanks for your reply. You are right.
>
> I added a test with results in the second email calling only
> set_body_multipart.
>
> Do you have any idea
Hi Annus,
Did you set the flags for those calls you want to account?
I have something like this in my request route
if (is_method("INVITE") && !has_totag()) {
setflag(FLT_ACC); # do accounting
dlg_manage();
setflag(FLT_ACCMISSED);
s
t only INVITEs
> if (is_method("INVITE")) {
> setflag(FLT_ACC); # do accounting
> }
>
>
> if (is_method("BYE")) {
> setflag(FLT_ACC); # do accounting ...
> setflag(FLT_ACCFAILED); # ... even if th
Hi Luis,
Do you have mysql installed? Because it's not finding those headers.
El El lun, 9 de ene. de 2017 a las 05:21, Luis De Marchi <
l...@snowmanlabs.com> escribió:
> Hi,
>
> Sorry, my english, I'm using the translator.
> I'm having trouble installing Kamailio for Mac 10.12
>
> Terminal:
> L
In my mac:
I think that mysql dmg installed comes with dev headers too.
dnadaress-MacBook-Air:~ dnadares$ locate mysql.h
/usr/local/mysql-5.6.19-osx10.7-x86_64/include/mysql.h
cheers.
Diego.
2017-01-09 9:27 GMT-03:00 Diego Nadares :
> Hi Luis,
>
> Do you have mysql installed? Bec
Hi List,
I'm trying to add and remove some headers in 200 canceling and 200 ok to
BYEs with no success.
I don't know in which route to add my remove_hf and append_hf. It seems
that I can't catch it on reply either on request route.
I tried adding it in
event_route[tm:local-response] {
x
that may be added by
> Kamailio in local generate request. There is a global parameter to control
> it as well.
> If you want more than that, can you add a bit more details, because CANCEL
> and BYE are processed differently. With which one you get issues?
>
> Cheers,
> Daniel
>
If you need any additional data please let me know.
Cheers,
Diego
2017-01-12 15:04 GMT-03:00 Diego Nadares :
> Hi Daniel!
>
> Thanks for your answer. The idea is to show only a few headers. In BYE
> works great. I'm removing and adding the following hdrs:
>
> *User-Agen
)
> t_on_reply("MANAGE_REPLY_ON_BYE");
> }
> ...
> }
>
> and adding route
> onreply_route[MANAGE_REPLY_ON_BYE] {
> route(RemoveHeader);
> xlog("L_INFO","route MANAGE_REPLY_ON_BYE entered \n");
> }
>
> this 200 Ok suc
7;t get inside the
> onreply_route -- this block is only for SIP replies received by kamailio.
>
> However, the 200ok for CANCEL should have limited (minimal) number of
> headers. Which ones besides the Server do you want to remove?
>
> Cheers,
> Daniel
> On 13/01/2017 19:00, Diego
Hi Guys,
Anybody knows how to get the ip of the new contact of the redirect? I need
it to update one xavp variable that contains the INVITE destination.
6 2017-01-20 12:44:55.138473 172.16.213.38 *172.16.208.121* SIP/SDP 85 Request:
INVITE sip:01152780776@172.16.208.121:5060 |
9 2017-01-20 12:44:
Thanks Daniel. It was very useful but I had to do the transformation in two
parts maybe because I'm very new with this.
Is correct like this?
if (t_check_status("302")) {
#New contact is ;q=0.5,;q=0.25;
$var(redirect_uri) = $(T_rpl($ct){nameaddr.uri});
Hi Guys,
We have two network interfaces. One public and one private. We had enabled
mhomed and works great BUT if we do a netstat -naup | grep 5060 we see that
some sockets keeps opened also when the call is finished. The source port
in netstat it's not 5060 so I suppose that kamailio use another
Hi list,
Any help on this?
Cheers.
Diego.
2017-01-25 16:29 GMT-03:00 Diego Nadares :
> Hi Guys,
>
> We have two network interfaces. One public and one private. We had enabled
> mhomed and works great BUT if we do a netstat -naup | grep 5060 we see that
> some sockets keeps o
- maybe it track that there was some traffic and
> remembers that for a while. Perhaps reading the manual of netstat will help
> to understand better.
>
> Cheers,
> Daniel
>
> On 26/01/2017 22:03, Diego Nadares wrote:
>
> Hi list,
>
> Any help on this?
>
&g
Hi guys,
We are using vmware to run kamailio. The thing is that they give us support
only if we install Red Hat.
Did you test kamailio on RH? Any issues or things to have in mind?
What linux dist do you recommend?
Thanks!
Diego.
___
SIP Express Route
Thank you all, guys!
Diego.
El El jue, 2 de feb. de 2017 a las 06:42, Daniel-Constantin Mierla <
mico...@gmail.com> escribió:
> Hello,
>
>
> On 01/02/2017 23:05, Diego Nadares wrote:
> > Hi guys,
> >
> > We are using vmware to run kamailio. The thing is that
Hi Guys,
Is it possible to generate cdrs or to save dialogs to db when kamailio
receives a kill signal from terminal?
Thanks in advance.
Diego
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
ht
l kamailio from terminal, the dialog module does not save
any data. It only works when I execute kamctl stop.
Cheers,
Diego.
2017-03-07 10:49 GMT-03:00 Daniel Tryba :
> On Tue, Mar 07, 2017 at 10:34:05AM -0300, Diego Nadares wrote:
> > Is it possible to generate cdrs or to save
Thanks guys. I'm using db_mode = 1 now. It works great with mysql with
myisam tables.
Cheers.
Diego
2017-03-08 6:30 GMT-03:00 Daniel Tryba :
> On Tue, Mar 07, 2017 at 11:06:20AM -0300, Diego Nadares wrote:
> > Today I started testing dialog with db_mode = 3 (shutdown). The thi
Hi Guys,
I'm seeing a lot of warnings in my syslog. Is this normal? Or maybe I am
doing something wrong in my cfg?
Mar 16 17:11:47 dwsipm03 ./kamailio[26226]: WARNING:
[mem/f_malloc.c:444]: fm_malloc(): fm_malloc(0x7f68e5199010, 8) called from
nathelper: nathelper.c: nh_timer(2078)
Mar 16 1
Thanks Daniel!
2017-03-17 4:22 GMT-03:00 Daniel-Constantin Mierla :
> Hello,
>
> set memdbg and memlog parameters to a higher value than debug parameter.
> The messages are useful only if you troubleshoot memory operations.
>
> Cheers,
> Daniel
>
> On 16/03/2017
Hi Guys,
I'm using acc module for accounting with the following conf:
modparam("acc", "cdr_enable", 1)
modparam("acc", "cdr_expired_dlg_enable", 1)
modparam("acc", "cdr_start_on_confirmed", 1)
modparam("acc", "cdr_facility", "LOG_LOCAL1")
modparam("acc", "cdr_end_id", "end_time_dt")
modparam
Sorry, Im reading that acc supports Multi Call-Legs accounting. That's
exactly what I need. I'll try with this first.
Thanks!
Diego.
2017-03-17 16:21 GMT-03:00 Diego Nadares :
> Hi Guys,
>
> I'm using acc module for accounting with the following conf:
>
>
Hi guys,
I have configured to use cdr with extra fields
modparam("acc", "cdr_extra",
*"sip_code=$rs;sip_reason=$rr;"*
"hangup_src=$dlg_var(hangup_disposition);"
"prefix=$dlg_var(prefix);gos=$dlg_var(gos);endpoint_type=$
dlg_var(endpoint_type);"
"ip_a=$dlg_var(ip_a);i
I figured out that I can get start_time and end_time from dlg_vars.
The only thing left is hangup cause. Any help with this?
Thanks!
2017-03-20 9:46 GMT-03:00 Diego Nadares :
> Hi guys,
>
> I have configured to use cdr with extra fields
>
> modparam("acc", "cdr_ex
to
> know the name of the header which contains the cause code and you can read
> it.
>
> if (is_present_hf("X-Asterisk-HangupCauseCode")) xlogl("LOG_LOCAL0",
> "L_ALERT", $hdr(X-Asterisk-HangupCauseCode));
>
> Regards,
> Szabolcs
>
> 2017-0
bolcs
>
> 2017-03-20 14:45 GMT+01:00 Diego Nadares :
>
>> Hi,
>>
>> Sorry, . I meant the sip_code/sip_reason of the message that hangup the
>> call.
>>
>> For example:
>>
>> *** 1. row
Hi Lucian,
I made a few changes like you and I think it's working. Loads dialogs and
generate cdr. It needs more testing. The function cdr_on_load it's copy
and paste to avoid touching those params in on_create. A lot of improve is
needed.
diff --git a/modules/dialog/dialog.c b/modules/dialog/*d
I didn't mention that I did this on kamailio 4.4.
Cheers,
Diego
2017-03-20 16:38 GMT-03:00 Diego Nadares :
> Hi Lucian,
>
> I made a few changes like you and I think it's working. Loads dialogs and
> generate cdr. It needs more testing. The function cdr_on_load it'
hub.com/kamailio/kamailio -- it makes it easier to review
> as well as have the patch compiled by Travic CI before merging, so we can
> spot the basic conflicts if any. The patch has to be for master branch, to
> be merged directly.
>
> On Mon, Mar 20, 2017 at 8:40 PM, Diego Nadares wrot
Hi Guys,
Is it possible to disable using of dns in kamailio?
The thing is that not all INVITES that arrives to the proxy comes with ip
172.16.205.25/PUB_IP in the ruri. Some gateways sends a string in ruri ->
@myproxysip and others sends @other.domain.com
Request-Line: INVITE sip:111@myproxy
e");
if (is_method("INVITE|SUBSCRIBE")) {
*$rd = $Ri; *
record_route();
}
Cheers,
Diego
2017-04-10 5:28 GMT-03:00 Daniel Tryba :
> On Sat, Apr 08, 2017 at 09:24:29PM -0300, Diego Nadares wrote:
> > ERROR: [resolv
Thanks again Daniel.
Cheers,
Diego
2017-04-10 13:14 GMT-03:00 Daniel Tryba :
> On Mon, Apr 10, 2017 at 12:34:51PM -0300, Diego Nadares wrote:
> > Thanks for your response. Your suggestion helped me a lot. We don't use
> > domains so instead a domain I set the ip address ($
50 matches
Mail list logo