Re: [SR-Users] Kamailio Issue

2017-04-03 Thread David Villasmil
Make sure kamdbctl is really using kamctlrc, I've had situations where is was trying to use it from a different path... On Mon, Apr 3, 2017 at 10:16 PM 노형균 wrote: > Hello all, I’m newbie to Kamailio and I’m having problem with installation. > I tried to install Kamailio through > > '/usr/local/sb

Re: [SR-Users] $hep(dst_ip)

2017-03-30 Thread David Villasmil
fantastic, thanks! ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Mar 30, 2017 at 3:17 PM, Victor Seva < linuxman...@torreviejawireless.org> wrote: > 2017-03-29 16:10 GMT+02:00 David Villasmil >: > > Another question: is there

Re: [SR-Users] $hep(dst_ip)

2017-03-29 Thread David Villasmil
Hello Daniel, Thanks for clarifying. Another question: is there a repo for master builds like with nightly 5.0 builds? Thanks David On Wed, Mar 29, 2017 at 12:09 PM Daniel-Constantin Mierla wrote: > For proper clarification of how we do releases and backports: the pull > request wa

Re: [SR-Users] $hep(dst_ip)

2017-03-28 Thread David Villasmil
Ok thanks. Is there a time frame for that ? On Tue, Mar 28, 2017 at 8:15 PM Victor Seva < linuxman...@torreviejawireless.org> wrote: > 2017-03-28 15:26 GMT+02:00 David Villasmil >: > > Hello guys, > > the merged https://github.com/kamailio/kamailio/pull/995 is not av

[SR-Users] $hep(dst_ip)

2017-03-28 Thread David Villasmil
Hello guys, the merged https://github.com/kamailio/kamailio/pull/995 is not available on 5.0 and I'm wondering if/when it will be added to 5.0? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ ___ SIP Express R

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
hello Daniel yes yes i understood. thanks a lot david El mar, 28-03-2017 a las 13:44 +0200, Daniel-Constantin Mierla escribió: > Hello, > > it is already backported to branch 4.4 -- I said that you can use > latest 4.4 branch from git -- backporting was only if you want to >

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
hello Daniel thanks a lot. we actually will start testing 5.0 to migrate to it, but in the meantime it's great if we can patch it on the 4.4 best regards david El mar, 28-03-2017 a las 13:37 +0200, Daniel-Constantin Mierla escribió: > Hello, > > I pushed a safety checks to

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-28 Thread David Escartín Almudévar
anks a lot and regards david El lun, 27-03-2017 a las 21:04 +0200, Daniel-Constantin Mierla escribió: > Hello, > > did it happen only once, or it can be reproduced? > > Can you also get from gdb: > > frame 6 > > p *name > > p *port > > > Cheer

Re: [SR-Users] Nightly build config error

2017-03-27 Thread David Villasmil
Sorry, this is on a: cat /etc/debian_version 8.4 ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Mar 27, 2017 at 7:05 PM, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I have in my apt the nightly buil

[SR-Users] Nightly build config error

2017-03-27 Thread David Villasmil
ment the "mpath" in the config file, kamailio starts normally. /* set paths to location of modules */ # mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/" I'm not 100% sure "mpath" was set before, but i don't remember having to set that up in the near past...

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-27 Thread David Escartín Almudévar
->s, name->len, type, *h); 538 #endif 539 clist_foreach_safe(&dns_hash[*h], e, tmp, next){ thanks a lot and regards david El lun, 27-03-2017 a las 13:54 +0200, Daniel-Constantin Mierla escribió: > Hello, > > the backtrace is no longer matching the 4.4 branch code, as you

Re: [SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-24 Thread David Escartín Almudévar
shes hope you can retrieve information from that message to find out what kind of message it exactly is and see if it's possible to avoid kamailio's crash in this scenario best regards david El vie, 24-03-2017 a las 12:10 +0100, David Escartín Almudévar escribió: > hello all >

[SR-Users] kamailio 4.4.1 crash on bad sip response

2017-03-24 Thread David Escartín Almudévar
is is some weird that cannot be processed for kamailio could you please take a look and let me know if you know how to duplicate and fix this crash? thanks a lot and regards david ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list s

Re: [SR-Users] multi domain kamailio

2017-02-27 Thread David Villasmil
Depends on where you want the registration to be done. If you want it done on each asterisk independently, you can use load balancing. If you want it done in kamailio, you need multidomain and route accordingly. On Sun, Feb 26, 2017 at 6:33 PM przeqpiciel wrote: > Let's suppose that i have two ma

Re: [SR-Users] kamailio memory leak in private memory

2017-02-22 Thread David Escartín Almudévar
hello Daniel we applied the change you suggested and monitored for a day and seems the free pkg memory is stable. by now we are going to leave it this way and if we have to handle with a hash in lua we will do in that way with a $var for the index thanks a lot best regards david El lun, 20

Re: [SR-Users] kamailio memory leak in private memory

2017-02-20 Thread david
variable); seems we are not suffering this leak, or at least is much much more slow we have tested this with kamailio 4.4.1, 4.4.5 and 5.0.0-rc1 versions, and seems the same. do you think this has any sense or could be explained? thanks a lot and regards david El vie, 17-02-2017 a las 15:49

Re: [SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
pleased to provide if possible best regards david El vie, 17-02-2017 a las 14:17 +0100, david escribió: > hello DAniel > > we have 4.4.1 sorry > we are only handling SIP calls without REGISTER messages > > best regards > david > > El vie, 17-02-2017 a las 13:53 +010

Re: [SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
hello DAniel we have 4.4.1 sorry we are only handling SIP calls without REGISTER messages best regards david El vie, 17-02-2017 a las 13:53 +0100, Daniel-Constantin Mierla escribió: > Hello, > > what kamailio version? > > Are registrations handled by kamailio, or is just

[SR-Users] kamailio memory leak in private memory

2017-02-17 Thread david
here, and we dont know what to look for :) could you please give us some guidance or clue to at least start to searching for something that can cause this issue? thanks alot and regards david mem_dump_empty.gz Description: application/gzip mem_dump_load.gz Description: applic

[SR-Users] Fwd: [sr-dev] git:master:c32a5f64: sipcapture: added $hep(src_ip) variable

2017-02-09 Thread David Villasmil
lid name param [src_ip] ERROR: [core/pvapi.c:1032]: pv_parse_spec2(): wrong char [)/41] in [$hep(src_ip)] at [11 (5)] ERROR: [core/sr_module.c:1251]: fix_param(): bad PVE format: "sip:$hep(src_ip)" ERROR: [core/mod_fix.c:539]: fixup_spve_null(): Cannot convert function parameter 1

Re: [SR-Users] FOSDEM 2017

2017-01-26 Thread David Villasmil
Hello Guys, Count me in, as well! David On Thu, Jan 26, 2017 at 3:13 PM DanB wrote: > Hey Daniel, > > Would be there 2 persons for sure, so please count us also in. > > Thanks, > DanB > > ___ > SIP Express Router (SER)

Re: [SR-Users] Return body/string from Perl library

2017-01-19 Thread David Cunningham
ttps://www.kamailio.org/docs/modules/stable/modules/app_perl.html#ID- > d4453222c49e08dc556c25a6586a00bc > > and then use it in kamailio.cfg. > > Cheers, > Daniel > > On 19/01/2017 00:14, David Cunningham wrote: > > Hello, > > We are using Kamailio's perl modul

[SR-Users] Return body/string from Perl library

2017-01-18 Thread David Cunningham
Hello, We are using Kamailio's perl module and want our custom library to set the body on a SIP message. Is it possible to set a SIP message body from within Perl, or can we return a string to the Kamailio configuration to then use with set_body()? Thanks for any advice. -- David Cunni

Re: [SR-Users] kamailio dispatcher call flow example

2016-12-23 Thread David Villasmil
maybe this will help: http://www.kamailio.org/events/2013-KamailioWorld/23-Daniel-Constantin.Mierla-Load-Balancing-Load-Balancers.pdf David ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, Dec 23, 2016 at 11:12 AM, huan nguyen duy wrote: > Hi,

Re: [SR-Users] Limiting calls based on CLI and dst number

2016-12-17 Thread David Villasmil
Just thinking out loud, if you use memcached maybe simply storing a variable with the username and checking whether it is set before allowing a call from that user. That would work. David ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] Limiting calls based on CLI and dst number

2016-12-16 Thread David Villasmil
you can achieve that with the dialog module. http://www.kamailio.org/docs/modules/4.4.x/modules/dialog_ng.html Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, Dec 16, 2016 at 10:33 AM, Cibin Paul wrote: > Hi, > > Is there a way to limit the

Re: [SR-Users] Getting destination ip

2016-12-06 Thread David Villasmil
mailio/kamailio/pull/879/files Is there any other way? Regards, David Villasmil ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Dec 5, 2016 at 12:08 PM, Daniel-Constantin Mierla wrote: > Hello, > > do you need to get this when the

Re: [SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Thanks for your help, $sel(via[1].host) actually shows the internal ip address of the client... :( David Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Nov 29, 2016 at 9:51 PM, Alberto Llamas wrote: > Oh I seeWhat about to get the h

Re: [SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Thanks Alberto, But that won't work for me. I should have mentioned it on the original email, but this is on kamailio working on Sipcapture/Homer, so there are no transactions or dialogs... David On Tue, Nov 29, 2016 at 5:18 PM Alberto Llamas wrote: > Hi David, > > Below inst

[SR-Users] Getting destination ip

2016-11-29 Thread David Villasmil
Hello Guys, I'm wondering how do I get destination IP on a reply? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@list

Re: [SR-Users] custom version database/table

2016-11-28 Thread David Villasmil
I found my problem, because my custom "dispatcher" table is missing some fields, the loading failed. No issue :) On Mon, Nov 28, 2016 at 7:56 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I got > > Nov 28 13:38:25 testSVR kamailio[25455]: DEBUG: [db.c

Re: [SR-Users] custom version database/table

2016-11-28 Thread David Villasmil
/dispatcher.so) ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Nov 28, 2016 at 7:37 PM, Alex Balashov wrote: > David, > > There should be some additional log messages and/or some more context > around this message, although not necessarily

[SR-Users] custom version database/table

2016-11-28 Thread David Villasmil
;); INSERT INTO version (table_name, table_version) values ('dispatcher','4'); To create an populate the table, but kamailio returns: mod_init(): could not initiate a connect to the database but it does connect properly... any thoughts? Regards, David Villasmil emai

Re: [SR-Users] using set_body_multipart and append_body_part on on_reply routes

2016-11-08 Thread david
(.*)/\1--unique-boundary-1--\2/sg}); set_body("$var()","multipart/mixed;boundary=\"unique-boundary-1 \""); } this way at least we have a base ISUP part for a 1XX response best regards david El lun, 07-11-2016 a las 23:08 +0200, Sergey Basov escribió:

[SR-Users] using set_body_multipart and append_body_part on on_reply routes

2016-11-07 Thread david
msg_apply_changes(); sipt_destination($rU, 31, 4); sipt_set_calling($fU, 4, 0, 3); msg_apply_changes(); } am i doing something wrong? how can i set this to end the SDP with last boundary? thanks a lot and regards david ___ SIP Express Router

Re: [SR-Users] transaction is not suspended ERROR

2016-10-07 Thread david
conn:bgapi it waits to receive an event) and having issue to do the t_suspend and t_continue. best regards david El jue, 06-10-2016 a las 12:01 +0200, Daniel-Constantin Mierla escribió: > Hello, > > > On 04/10/16 13:57, david wrote: > > Hello all > > > > i'

[SR-Users] transaction is not suspended ERROR

2016-10-04 Thread david
07] could it be posible that having manye ESL sockets opened in the kamailio server makes this to happen? how many async workers are needed? i have 8 right now is there a way where i can know or correlate the log to a $ci or something known? best reg

Re: [SR-Users] Kamailio number of concurrent calls

2016-10-02 Thread David Villasmil
t will just playback music on hold. From that moment on, the call belongs to freeswitch. That worked fine for us. Regards, David On Sun, Oct 2, 2016 at 10:27 AM Gholamreza Sabery wrote: > > I used SIPp to stress test different scenarios in Kamailio, but how can I > simulate a real ca

Re: [SR-Users] Load balancing traffic with Kamailio

2016-09-29 Thread David Villasmil
Then you got your answer :) On Thu, Sep 29, 2016 at 4:23 PM Nitesh Bansal wrote: > I don't think I received the previous answer and I apologize if I missed > it. > But, unfortunately dispatcher isn't going to do it for me, I think I need > to > use some external tool and use my perl application

Re: [SR-Users] Replacing Asterisk with Kamailio

2016-09-16 Thread 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 Nogueira wrote: > I already have both books and I am enrolled in next Flavio's on-line > bootcamp. > > I have never get the rfc3261 end. But I will try to read it again (m

Re: [SR-Users] Commercial SBC or Kamailio

2016-09-16 Thread David Villasmil
We've been using kamailio for years on a commercial environment as registrar, and now we just removed the (very expensive) SBC to put kamailio in its place... it can take big loads if configured properly... commercial support is important if you don't have a real-world-expert with you. On Fri, Sep

Re: [SR-Users] segfault when using sipt modifications

2016-08-05 Thread david
ge... > Without it you cant generate correct ISUP part.. > > Look in wireshark. It will inform you about any error in ISUP. > > -- > Best regards, > Sergey Basov e-mail: sergey.v.ba...@gmail.com > > tel: (+38067) 403-62-54 > > > 2016-08-

Re: [SR-Users] Textops and Multipart Body - adding ISUP segfaults Kamailio

2016-08-05 Thread david
on/sdp. Content-Disposition: session. Content-Length: 104. P-Asserted-Identity: "10707334" . . v=0. o=user1 53655765 23536 IN IP4 79.170.68.171. s=-. c=IN IP4 2.2.2.2. t=0 0. m=audio 6001 RTP/AVP 8. do you have any idea why these messages a

Re: [SR-Users] segfault when using sipt modifications

2016-08-05 Thread david
/sbin/kamailio[4190]: WARNING: [msg_translator.c:1958]: build_req_buf_from_sip_req(): check_boundaries error but i think there is already another query with this so i will check there best regards david El mar, 02-08-2016 a las 09:22 +0200, Daniel-Constantin Mierla escribió: > Hello, > &

Re: [SR-Users] segfault when using sipt modifications

2016-08-01 Thread david
forward call indicators, so i hope that does give us many problems i will let you know anything thanks and best regards david El lun, 01-08-2016 a las 12:09 +0200, Daniel-Constantin Mierla escribió: > Hello, > > I am not familiar with isup and no testbed around at this moment. That&

[SR-Users] segfault when using sipt modifications

2016-07-29 Thread david
sipt_destination($rU, 31, 4); sipt_set_calling($fU, 4, 0, 3); msg_apply_changes(); before the record_route command, and when using sipt_destination($rU, 31, 4); i'm getting asegfault here you have the logs could you please give me any clue about something i'm missing or doing

[SR-Users] Custom header on reply is removed on t_relay

2016-07-18 Thread David Wilson
Hello All, We have a Kamailio proxy (P1) and a custom client (A). Calls are working reliably with A communicating directly with P1. When A sends INVITE to P1, in some cases, we insert a custom header ‘X-Routing’ in the reply. Now, testing with a new, additional proxy (P2) between these two: A

Re: [SR-Users] P-Asserted-Identity - Pseudo-Variables are set as null

2016-06-30 Thread david
hello those variables are for PFI, not PAI for PAI you have $ai pseudo variable and you can retrieve parts like $(ai{uri.user}) for username regards david El jue, 30-06-2016 a las 15:34 +0100, José Seabra escribió: > Hello there, > > > The Pseudo-Variablest hat store informa

Re: [SR-Users] rtpengine allow_op problem

2016-06-29 Thread david escartin
sorry with the mess i did with this issue, i had the digest configured in my subscription and i was not getting the response, so i created 3 mails for the same :( El mié, 29-06-2016 a las 13:58 +0200, david escribió: > hello all > > i have been taking a look to the rtpengine.c code an

Re: [SR-Users] rtpengine allow_op problem

2016-06-29 Thread david
sorry with the mess i did with this issue, i had the digest configured in my subscription and i was not getting the response, so i created 3 mails for the same :( El mié, 29-06-2016 a las 13:58 +0200, david escribió: > hello all > > i have been taking a look to the rtpengine.c code an

[SR-Users] rtpengine allow_op problem

2016-06-29 Thread david
d before a request retransmission arrives, i guess it should be enough (¿?) best regards david escartin ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/l

[SR-Users] rtpengine allow_op problem

2016-06-29 Thread david
[26575]: INFO: test Call 64431 / Call-ID 04a7c19a-34ad-477e-81bd-659dd4295ae8: Destroying rtpproxy session on BYE Jun 28 11:20:05 /usr/local/kamailio/sbin/kamailio[26575]: ERROR: rtpengine [rtpengine.c:2627]: send_rtpp_command(): can't send command "delete" to RTP proxy Jun 28 1

[SR-Users] rtpengine allow_op issue

2016-06-29 Thread david escartin
[26575]: INFO: test Call 64431 / Call-ID 04a7c19a-34ad-477e-81bd-659dd4295ae8: Destroying rtpproxy session on BYE Jun 28 11:20:05 /usr/local/kamailio/sbin/kamailio[26575]: ERROR: rtpengine [rtpengine.c:2627]: send_rtpp_command(): can't send command "delete" to RTP proxy Jun 28 1

[SR-Users] doubt using rate limit

2016-05-25 Thread david escartin
Hello Daniel i had the call rate for some minutes actually. maybe 4-5min and all the time the behaviour was like that. it's true that in that kamailio there wa no any other traffic, only those test calls i set with a sipp to simulate the load best regards david Hello, for how long yo

[SR-Users] nh_reload_rtpp not available

2016-05-25 Thread david
hello all i just noticed it was missing on 4.4.0, but it's present on 4.4.1 :) regards david El mié, 25-05-2016 a las 14:58 +0200, david escribió: > dear all > > i'm using kamailio 4.4.1 and i'm not seeing nh_reload_rtpp as a fifo > exported function > i'

[SR-Users] nh_reload_rtpp not available

2016-05-25 Thread david
oot@test:/var/log/rtpengine_conf# cat rtpproxy set_id(int) url(str) weight(int) disable(int) 1:udp\:x.x.x.x\:x:100:0 2:udp\:x.x.x.x\:x:100:0 is there something i missed here? do i must use mysql or postgres drivers for this? (i use a test machine to old to install a driver of those with kam 4.4

[SR-Users] doubt using rate limit

2016-05-23 Thread david escartin
_LIMIT] { $var(limitation)="4"; if (!rl_check("$var(limitation)")) { send_reply("505","Limiting"); xlog("L_INFO","Call $ci / Call-ID $ci: ratelimit was reached, rejecting with 505\n"); route(CLEAR); exit

Re: [SR-Users] Multiple Registrations - Overwrite oldest contact

2016-05-13 Thread David Holl
to run the same softwre on multiple devices...) - David On Fri, May 13, 2016 at 12:24:37PM -0300, Bruno Emer wrote: Hello all! After some time I was able to get this working here, and now I am coming back to share my configuration with you guys (in case someone needs to get this working).

[SR-Users] Debian, dnssec.so, and missing dnsval.conf

2016-05-13 Thread David Holl
entify the directory for dnsval.conf, run libval-config --dnsval-config On Debian, libval-config is in the libval-dev pacakge, and this package includes a man page for dnsval.conf as well. * To test your libval and dnsval.conf, try dt-validate -s On Debian, dt-validate is in the

Re: [SR-Users] How to distinguish 200 OK that have byed

2016-04-20 Thread David Villasmil Govea
That's really weird, why are not ACKing the first 200 OK? Is this on purpose? On Wed, Apr 20, 2016 at 8:37 AM 张顺通 wrote: > I want to distinguish the Retransmission 200 OK(INVITE), not the first 200 > OK(INVITE) or every 200 OK(INVITE) > > Every 200 OK will request port from rtpproxy, but The cal

Re: [SR-Users] SQlite DB Lock with Presence

2016-04-02 Thread David Holl
stems, I would worry that my own loads would not be sufficient to stress test my changes. Thank you, David ps: I'm still reading through the devel guide: http://www.kamailio.org/docs/kamailio-devel-guide/#c09apistructure On 4/1/16 2:21 AM, Daniel-Constantin Mierla wrote: > On 31/03/16 21:

Re: [SR-Users] SQlite DB Lock with Presence

2016-04-02 Thread David Holl
Debian package kamailio 4.3.5-2. I'm not familiar with enough of kamailio's history to know how much the database definitions must change if you have a different version. I hope it helps, David On 4/1/16 11:32 PM, Kristian Kielhofner wrote: > I tried this method and seem to have exchan

Re: [SR-Users] SQlite DB Lock with Presence

2016-03-31 Thread David Holl
I'm curious why the kamailio sqlite module doesn't export a transaction API, especially since the native sqlite API does support transactions according to https://www.sqlite.org/transactional.html Maybe someday, I'd get time to dig into the kamailio module myself to try lending a hand... Anyhow,

[SR-Users] Sip routing

2016-02-03 Thread David Bakker
I want to be able to route sip invites from my on prem skype to either an on prem jabber server or out to office 365. It depends on who the recipient is. I am sure Kamailio can do this but I am absolutely at a loss on where to start. I have tried a few different configs but I basically have to bre

Re: [SR-Users] doubt using sip tcp creating new transaction

2016-01-27 Thread david
ok thanks Daniel i was quite confused by seeing different things on different versions (which had sligthly configuration differences) and i though i was doing something wrong somewhere best regards david El mié, 27-01-2016 a las 14:55 +0100, Daniel-Constantin Mierla escribió: > He

Re: [SR-Users] doubt using sip tcp creating new transaction

2016-01-27 Thread david
hello Daniel thanks for the explanation. then i understand the "quick connect" message is also normal? seen in version 4.2.2 or 4.4? best regards david El mar, 26-01-2016 a las 12:45 +0100, Daniel-Constantin Mierla escribió: > Hello, > > the pending write message is due

[SR-Users] doubt using sip tcp creating new transaction

2016-01-25 Thread david escartin
xplain the ebhaviour difference? is there anything abnormal in the case B? thanks a lot and regards david escartin ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-

Re: [SR-Users] AUTH doesn't work

2015-12-23 Thread David Villasmil Govea
1. # if caller is not local subscriber, then check if it calls 2. # a local destination, otherwise deny, not an open relay here 3. if (from_uri!=myself && uri!=myself) { 4. sl_send_reply("403","Not relaying"); 5. exit; 6. } ᐧ On Wed, Dec 23, 2015

[SR-Users] issue using sipcapture to pg database

2015-11-24 Thread david escartin
20225 353313230303031463135364c3934345b30303030305d2043616e63656c207265636569766564206f6e20696e697469616c20696e76697465220d0a436f6e74656e742d4c656e6774683a20300d0a0d0a do you know how to configure it to see it in ascii? thanks a lot and regards david escartin ___ SIP Express Router (SER) and Kam

[SR-Users] General question about mohqueue

2015-11-16 Thread David Villasmil Govea
uestion is whether you think it's a good idea to go with this on kamailio or is freeSWITCH better suited for this kind of application? The setup would be to generate outgoing calls based on a list (predictive dialer) and send answered calls to a queue to be answered by an agent. Thanks!

Re: [SR-Users] Loading mohqueue stops kamailio from starting up

2015-11-14 Thread David Villasmil Govea
Hello, I had already gotten it to work, thanks! David On Sat, Nov 14, 2015 at 7:15 AM Sebastian Damm wrote: > Hi, > > Kamailio tells you, what's wrong. > > On Sat, Nov 14, 2015 at 1:32 AM, David Villasmil Govea < > david.villas...@gmail.com> wrote: > >

[SR-Users] Loading mohqueue stops kamailio from starting up

2015-11-13 Thread David Villasmil Govea
Hello all, I installed kamailio on debian from kamailio's apt repository. Configured it with kamdbctl, started it up properly, no issues. I configured mysql also, worked properly. Next i loaded up "mohqueue" and everything went to hell :) This is my config: loadmodule "mohqueue.so" # - moh

[SR-Users] (no subject)

2015-11-13 Thread David Villasmil Govea
Hello guys, I'm trying to startup 4.3 and i'm getting the following: 0(4420) DEBUG: [db_row.c:117]: db_allocate_row(): allocate 192 bytes for row values at 0x7fe6bf6b5a48 0(4420) DEBUG: [db_val.c:74]: db_str2val(): converting INT [1] 0(4420) DEBUG: [db_val.c:118]: db_str2val(): converting

[SR-Users] Kamailio queues

2015-11-13 Thread David Villasmil Govea
to load rtpproxy_answer 0(61540) ERROR: [sr_module.c:962]: init_mod(): Error while initializing module mohqueue (/usr/lib/x86_64-linux-gnu/kamailio/modules/mohqueue.so) ERROR: error while initializing modules ls -l /var/kamailio/MOH/test.8 -rw-rw-rw- 1 root root 166038 Jun 10 2009 /var/

Re: [SR-Users] Routing re-INVITEs after phone port change

2015-08-17 Thread David Cunningham
io (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- David Cunningham, Voisonics http://voisonics.com/ USA: +1 213 221 1092 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 8063 9019 ___

Re: [SR-Users] Routing re-INVITEs after phone port change

2015-08-17 Thread David Cunningham
Apologies, you're right that the lookup() would not apply in this case. So what, if anything, should Kamailio do in the case where a SUA's address changes during a call? On 18 August 2015 at 13:42, Alex Balashov wrote: > Hello, > > On 08/17/2015 11:22 PM, David Cunningham w

[SR-Users] Routing re-INVITEs after phone port change

2015-08-17 Thread David Cunningham
ng the lookup() function. Can anyone suggest why this is happening? Thanks in advance, -- David Cunningham, Voisonics http://voisonics.com/ USA: +1 213 221 1092 UK: +44 (0) 20 3298 1642 Australia: +61 (0) 2 8063 9019 ___ SIP Express Router (SER) and Ka

[SR-Users] help with a new install

2015-03-07 Thread David Dunlap
. I used the install script from the web page and did not notice any errors as it worked. I sure would appreciate some help. The IRC channel was empty. Thanks David Dunlap [cid:D854C04A-3D89-4B99-AD05-D242790BFC94] 3105 N. Main St. East Peoria, IL 61611 Direct: 309-427-7226 Main: 309-427-7000

Re: [SR-Users] Segfault in 4.1.6

2014-10-08 Thread David Wilson
via debian > nightly builds of 4.1 (if using debian). > > Otherwise, yes, a coredump with a gdb backtrace will be very helpful. > > Cheers, > Daniel > > On 02/10/14 08:31, David Wilson wrote: > > Hi all, > > > > I?ve had Kamailio running nicely for nearly a

[SR-Users] Segfault in 4.1.6

2014-10-01 Thread David Wilson
Hi all, I’ve had Kamailio running nicely for nearly a year, but have hit a segfault twice since upgrading to 4.1.6 earlier this week. The log shows: Oct 2 11:28:03 localhost /usr/sbin/kamailio[1222]: : [pass_fd.c:293]: receive_fd(): ERROR: receive_fd: EOF on 23 Oct 2 11:28:03 localhost kern

Re: [SR-Users] Setting priority (q) for kamctl ul add

2014-06-24 Thread David Wilson
Never mind, the missing contact was being removed when a REGISTER was received. In my cfg, I was using: save("location", "0x04") The 0x04 flag, of course, causes all existing entries for the AOR to be removed. Cheers, Dave. On 25 Jun 2014, at 10:45 am, David Wils

[SR-Users] Setting priority (q) for kamctl ul add

2014-06-24 Thread David Wilson
Jun 2014, at 6:00 pm, sr-users-requ...@lists.sip-router.org wrote: > Date: Fri, 20 Jun 2014 07:38:50 +0200 > From: Daniel-Constantin Mierla > To: "Kamailio (SER) - Users Mailing List" > > Subject: Re: [SR-Users] Setting priority (q) for kamctl ul add > > Hell

[SR-Users] Setting priority (q) for kamctl ul add

2014-06-19 Thread David Wilson
Hi All, I'm trying to add a permanent usrloc entry via kamctl ul add. This works, but the created entry has a q value of 1.0 which is higher than I need. Is there a way to either: 1. Specify a q value when using kamctl ul add, or 2. Edit the q value of an existing record by using a kamctl co

[SR-Users] 480 Temporarily Unavailable

2014-04-14 Thread David Giannetto
p://edslesdlesd.com>* David Giannetto VOIP COM 915 235 47 86 105 E San Antonio Ave Suit 303 El Paso, Texas, 79901 VOIP COM 625 106 6388 Lerdo y 19 # 986 CD. Cuauhtemoc, Chih. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing l

Re: [SR-Users] Notify with Websocket problem

2014-01-31 Thread David Claybourne
sl_send_reply("404", "Not here"); exit; } return; } Your Project rocks. Can you add this fix to the web socket example config for all others :D? Greetings David Am 31.01.2014 um 06:19 schrieb Daniel-Constantin Mierla : > Hello, > > can you try

[SR-Users] Notify with Websocket problem

2014-01-28 Thread David Claybourne
ocket dont have a real IP Address), is there any possibility to use the nathelper module for fixing this problem? I also attached the config file. Thanks for the help Greetings David Log: 9(25950) DEBUG: presence [notify.c:1470]: send_notify_request(): dialog info: 9(25950) DEBUG: presence [not

[SR-Users] ser-0.9.6 bug report

2014-01-27 Thread David Binderman
636] -> [parser/parse_uri.c:636]: (warning) Variable > 'state' is reassigned a value before the old one has been used. 'break;' > missing? Duplicates. Regards David Binderman ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Disable NAT for given IP range

2013-11-13 Thread David Dean
Hello all, I have a kamailio server on a public IP address with a private interconnect into my office network. The private interconnect allows the server to see requests from individual 10.x.x.x IP addresses instead of everything coming through the public NAT. This avoids timeout issues and red

Re: [SR-Users] clearing pua table

2013-10-23 Thread David
Hello, I may have misunderstood the thread, but why not use the override_lifetime parameter ? http://kamailio.org/docs/modules/stable/modules/pua_dialoginfo.html#idp15277344 Would this not be easier than patching the code? David On 13-10-23 09:54 AM, Kristian F. Høgh wrote: Hi, I have

Re: [SR-Users] Memory leak in 3.3.4

2013-10-16 Thread David Cunningham
u load (loadmodule lines) as well as > the functions from your perl script that are related to kamailio internal > functions or variables? You can send directly to me, without mailing list > if there is something you want to protect from public eyes. > > Cheers, > Daniel > &g

Re: [SR-Users] Memory leak in 3.3.4

2013-10-14 Thread David Cunningham
ays ago. Yet if I run the same sercmd again I get (exactly!) the same numbers: root@sip0-test:~# sercmd pkg.stats pid 6824 { entry: 1 pid: 6824 rank: 1 used: 209836 free: 3704080 real_used: 490224 } Any ideas? On 12 October 2013 00:23, Daniel-Constantin Mierla wrote: >

Re: [SR-Users] Memory leak in 3.3.4

2013-10-10 Thread David Cunningham
; Is it what you were looking for or did I misunderstood? > > Cheers, > Daniel > > > On 10/10/13 6:48 AM, David Cunningham wrote: > > Hi Daniel, > > How do I get that information please? The information above includes what > I got from the pkgstats module.

Re: [SR-Users] Memory leak in 3.3.4

2013-10-09 Thread David Cunningham
he output > of pkg.stats for pid 6824? Which of the processes has the highest value of > used pkg memory? > > Cheers, > Daniel > > > On 10/4/13 4:25 AM, David Cunningham wrote: > > Hi Daniel, > > Here are the 'kamctl ps' and pkg status logs. During

Re: [SR-Users] Memory leak in 3.3.4

2013-10-03 Thread David Cunningham
(331) Oct 3 22:23:21 sip0-test /sbin/kamailio[6844]: NOTICE: qm_sums: count= 2 size= 640 bytes from : str_hash.h: str_hash_alloc(69) Oct 3 22:23:21 sip0-test /sbin/kamailio[6844]: NOTICE: qm_sums: - On 3 October 2013 11:14, David Cunningham wrote: >

Re: [SR-Users] Memory leak in 3.3.4

2013-10-02 Thread David Cunningham
ith rank 1,2,3 and see when the free memory > is decreasing. Then get the pkg status logs. Get also the list of running > processes with 'kamctl ps' so I know at what pid to look for the leaks. > > Cheers, > Daniel > > > On 10/2/13 2:09 PM, David Cunningham wrote:

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread David Cunningham
uot; to see statistics about usage of pkg per > each process (older versions have sercmd). > > 'kamctl ps' gives the list of processes. > > Cheers, > Daniel > > > On 10/1/13 2:35 PM, David Cunningham wrote: > > Hi Daniel, > > What I copied and paste

Re: [SR-Users] Memory leak in 3.3.4

2013-10-01 Thread David Cunningham
else reported a potential leak when using perl module, > so it might be something else there. I found one, which is related to an > error case, but perhaps you don't get that, otherwise you will notice the > error message. > > Cheers, > Daniel > > > On 10/1/13 12:03

Re: [SR-Users] Getting Started with SIREMIS

2013-09-19 Thread David Wilson
Dave. On 20 Sep 2013, at 4:37 am, sr-users-requ...@lists.sip-router.org wrote: > > Hello, > > > On 9/19/13 9:59 AM, David Wilson wrote: >> Hi All, >> >> I have Kamailio 4.0.3 installed via APT onto Ubuntu 12.04 and have Siremis >> 4.0 installed an

[SR-Users] Getting Started with SIREMIS

2013-09-19 Thread David Wilson
Hi All, I have Kamailio 4.0.3 installed via APT onto Ubuntu 12.04 and have Siremis 4.0 installed and running nicely. Is there an example config file that demonstrates how to use the features configurable through Siremis? For example, when I populate a UACReg record via Siremis, I had to adapt

[SR-Users] Auth credentials on ACK, 13.2.2.4

2013-09-04 Thread David K
module to do authentification. How do I get UAC to add the same credentials to the ACK as it did to the INVITE ? I am using Kamailio as a load balancer ( module dispatcher ). Thanks in advance. David Here is my awesome failure route : failure_route[FAIL_ONE] { if ( t_check_status(&q

  1   2   3   >