Re: [SR-Users] Status of db_cassandra

2017-03-23 Thread Andreas Granig
Hi, I also believe the module needs to be marked somehow, because it's implemented against a very old cassandra version and does not work with recent versions at all. I'm afraid a complete re-implementation from scratch is needed there, because the protocol changed significantly. Also schema defi

Re: [SR-Users] Rate limiting

2016-08-30 Thread Andreas Granig
Hi Alex, http://www.kamailio.org/docs/modules/4.4.x/modules/ratelimit.html is another approach here. Tried it as a proof of concept recently and it seems to do its job. Seems like pipelimit is derived from ratelimit. What's the main difference from ratelimit, other than named pipes and DB support

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Andreas Granig
Hi Lucian, On 03/31/2016 01:36 PM, Lucian Balaceanu wrote: > At 1&1 we actually haven't used db_cassandra, but were aware of some of > its shortcomings (e.g. thrift interface). > Do you consider Cassandra is stable and easy enough to maintain so as to > use it as usrloc back-end? Are you > also co

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Andreas Granig
Hi Daniel, On 03/31/2016 12:45 PM, Daniel-Constantin Mierla wrote: > I haven't used Cassandra at all, maybe some of the devs at 1&1 can share > if they have any plans or usage stats for it, being the initial > developers of the module. Let's see if someone chimes in. Not sure if Anca is still inv

[SR-Users] db_cassandra status and plans

2016-03-31 Thread Andreas Granig
Hi all, I was checking db_cassandra with Kamailio 4.3 recently to try making it work as a usrloc back-end, and my observation is that the module has quite some issues. In general, the module states that it's only tested with cassandra 1.0.6, which is really out-dated. I tried with the latest vers

Re: [SR-Users] rtpengine and serial forking with multiple network interfaces

2015-12-15 Thread Andreas Granig
Hi, On 12/10/2015 01:33 PM, Alex Balashov wrote: > I tested an approach in which all initial rtpengine_manage() calls (in > support of a new SDP offer) were made in a branch_route[], and this > appeared to work. > > Is this the 'orthodox' way to do it? That's the way we're using it also. Andrea

Re: [SR-Users] SCA fails to update appearance

2015-03-04 Thread Andreas Granig
Hello Jorj, On 03/03/2015 06:25 PM, Jorj Bauer wrote: >> One thing I can see is that neither of the devices send a SUBSCRIBE with >> line-seize Event. They rather just subscribe to the call-info event, and >> in the oubound INVITE, they don't send a Call-Info header either. Is >> this mandatory fo

Re: [SR-Users] SCA fails to update appearance

2015-03-02 Thread Andreas Granig
Hi Jori, On 03/02/2015 02:47 PM, Jorj Bauer wrote: >> User pho...@domain.org is registered on two devices A and B > >> kamcmd> sca.all_subscriptions >> phone1 10.15.20.174:5100 call-info 2697 active I had a mixed setup in my first test with one device registering as private line and another one

[SR-Users] SCA fails to update appearance

2015-03-02 Thread Andreas Granig
Hi guys, Playing with SCA for the first time, I'm hittin the following issue: User pho...@domain.org is registered on two devices A and B, and device B sends SUBSCRIBE to pho...@domain.org with call-info Event. Subscription is handled properly, and my DB content is this: id: 4 su

Re: [SR-Users] rtpengine symmetric RTP behavior

2014-08-11 Thread Andreas Granig
Hi, On 08/11/2014 08:34 PM, Narsay, Deep wrote: > Is there any way rtpengine can be configured to use same UDP port to > receive and transmit RTP packets? > > The set up I'm trying is > > SIP_Client --> Kamailio/rtpengine --> Freeswitch > InternetInternet LAN L

Re: [SR-Users] [rtpengine] No media from WebRTC UA

2014-05-17 Thread Andreas Granig
Hi, There finally was some progress on the ice-lite issue in Firefox over the last week or two (after the bug report got stuck for months), so I'd expect Firefox nightly to properly work with ice-lice in a couple of days or so. Andreas On 05/17/2014 02:30 AM, Alexey Rybalko wrote: > Hi Richard!

Re: [SR-Users] parallel forking and 30x

2014-02-18 Thread Andreas Granig
Hi Daniel, On 02/18/2014 10:38 AM, Daniel-Constantin Mierla wrote: > starting with 4.1, you can have per branch failure routing block: > > http://www.kamailio.org/docs/modules/4.1.x/modules/tm.html#tm.f.t_on_branch_failure Ha, we'll check if this is going to work for us, sounds good, thanks! Jus

[SR-Users] parallel forking and 30x

2014-02-18 Thread Andreas Granig
Hi, What is the intended behaviour from a general point of view if you get a 1xx on one branch and a 30x on another branch for a parallel fork? >From my understanding, the 30x is a final reply, so it's kept in tm until all other branches are finished, then it enters failure-route with the highest

[SR-Users] broken ims modules links in online doc

2013-12-18 Thread Andreas Granig
Hi, Seems like two ims module links (linked from http://kamailio.org/docs/modules/4.1.x/) are broken: http://kamailio.org/docs/modules/4.1.x/modules/ims_registrar_pcscf.html http://kamailio.org/docs/modules/4.1.x/modules/ims_usrloc_scscf.html The same for http://kamailio.org/docs/modules/devel/,

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-24 Thread Andreas Granig
Hi Vitaliy, On 09/24/2013 12:45 AM, Vitaliy Aleksandrov wrote: The patch only handles the case where a tcp connection is directly made to the registrar, as no event route is fired, right? You are right. Current version works only when registrar accepts tcp connections. Anyway it's a good idea t

Re: [SR-Users] unregister user when kamailio looses TCP connection.

2013-09-23 Thread Andreas Granig
Hi, On 09/13/2013 11:27 AM, Daniel-Constantin Mierla wrote: thanks, patch was commited and pushed to remote repository. The patch only handles the case where a tcp connection is directly made to the registrar, as no event route is fired, right? Andreas _

Re: [SR-Users] mediaproxy-ng documentation available

2013-07-07 Thread Andreas Granig
Hi, On 07/07/2013 11:19 AM, Raúl Alexis Betancor Santana wrote: On Sat, Jul 06, 2013 at 10:01:28PM -0400, Nick Khamis wrote: Can we run it behind nat? I've really been eyeing that and desparate to replace rtpproxy Think twice ... trying to run something designed to avoid problems with NAT beh

Re: [SR-Users] mediaproxy-ng documentation available

2013-07-07 Thread Andreas Granig
On 07/07/2013 04:01 AM, Nick Khamis wrote: Can we run it behind nat? I've really been eyeing that and desparate to replace rtpproxy Yes, check advertised address option. Andreas ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

Re: [SR-Users] mediaproxy-ng documentation available

2013-07-05 Thread Andreas Granig
Hi, On 07/05/2013 11:56 PM, Iwan Budi Kusnanto wrote: I can see that SDES-SRTP is supported but DTLS-SRTP is not mentioned. Is it mean that there is no support for DTLS-SRTP? Any plan to support it? It's planned (like ZRTP), just no specific time-line yet. Andreas ___

[SR-Users] mediaproxy-ng documentation available

2013-07-05 Thread Andreas Granig
Hi, There've been a couple of questions regarding mediaproxy-ng as an rtpproxy replacement on how to get it up and running with kamailio and what it does compared to rtpproxy, mediaproxy and iptrtpproxy. I hope, the README.md at https://github.com/sipwise/mediaproxy-ng answers these

Re: [SR-Users] Issue with RTP proxy....

2013-07-04 Thread Andreas Granig
Hi, On 07/04/2013 09:00 AM, Khue Nguyen Minh wrote: I am trying install module mediaproxy-ng, but, when I built module "kernel-module" I got error: make -C /lib/modules/2.6.32-279.22.1.el6.x86_64/build M=/usr/local/src/mediaproxy_ngcp/mediaproxy-ng-master/kernel-module O=/lib/modules/2.6.32-279.

Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Andreas Granig
Hi Peter, On 07/01/2013 12:38 PM, Peter Dunkley wrote: The "case PROTO_WS:" should go within the "#ifdef USE_TCP" conditional and the "case PROTO_WSS:" should go within the "#ifdef USE_TLS" conditional. I'll clean it up and commit to master. Thanks for confirmation, Andreas _

Re: [SR-Users] Websocket transport and forward()

2013-07-01 Thread Andreas Granig
Hi, Any feedback on that? Looks like the patch below does its job, can someone please confirm this is fine and actually as expected? Andreas On 06/27/2013 02:03 PM, Andreas Granig wrote: Hi, On 06/27/2013 12:54 PM, Andreas Granig wrote: $du = $null; $fs = $null; forward(); What I get is

Re: [SR-Users] Websocket transport and forward()

2013-06-27 Thread Andreas Granig
Hi, On 06/27/2013 12:54 PM, Andreas Granig wrote: $du = $null; $fs = $null; forward(); What I get is this error message: Jun 27 12:30:53 spce lb[12104]: ERROR: [action.c:437]: do_action(): ERROR: do action: forward: bad uri transport 5 Is there anything special I need to do? Does forward

[SR-Users] Websocket transport and forward()

2013-06-27 Thread Andreas Granig
Hi guys, Maybe I'm missing something, but when I have a stateless lb with websockets enabled, and I don't have mhomed set (meaning that I need to set $fs manually), how would I set $du and $fs correctly, if $ru is for example this: sip:bo87fffs@h7h3rerhg50k.invalid;transport=ws I tr

Re: [SR-Users] Kamailio: MI Command: 'trusted_dump' and 'trusted_reload'

2013-06-21 Thread Andreas Granig
Hi, On 06/21/2013 10:59 AM, José Luis Millán wrote: Hi, I'm using 'allow_trusted()' from Permissions module without a problem in a Kamailio 4.0 routing logic. It does just work, but the MI command 'trusted_dump' tells me that the module is not in use: Seems like there is an issue with the rpc

Re: [SR-Users] gruu and dead-lock in registrar module

2013-05-01 Thread Andreas Granig
Hi, On 05/01/2013 10:46 AM, Daniel-Constantin Mierla wrote: looked over the code and seems ok. The domain lock is set inside ul.get_urecord_by_ruid(_d, ahash, &inst, &r, &ptr). Ok, good to know. Are you doing other operations in config with usrloc/registrar rather than save()/lookup()? Any m

Re: [SR-Users] gruu and dead-lock in registrar module

2013-04-30 Thread Andreas Granig
Hi Daniel, On 04/30/2013 05:34 PM, Daniel-Constantin Mierla wrote: what version are you playing with? To look in the right branch when troubleshooting first time, then look at the others that might be affected... The affected version is latest 3.3 branch, but the same code is there in 4.0 as

[SR-Users] gruu and dead-lock in registrar module

2013-04-30 Thread Andreas Granig
Hi, We're hitting an issue in a deployment where all udp receivers are sitting in FUTEX_WAIT caused by save() -> lock_udomain() and seem to have deadlocked themselves every couple of days. Looking at the code, enable_gruu in registrar is active by default, and in lookup there is a code path

Re: [SR-Users] [PATCH] Memory corruption using s.substr transformation

2013-04-30 Thread Andreas Granig
Hi, We've seen this behaviour as well and worked around it using avp_subst with regex, as we didn't have the time yet to investigate further. But basically I can confirm this issue. Andreas On 04/30/2013 01:31 PM, Martin Mikkelsen wrote: On Tue, Apr 30, 2013 at 01:29:21PM +0200, Martin Mikk

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Andreas Granig
Hi, On 04/29/2013 11:47 AM, Thilo Bangert wrote: I'd just save one timestamp, ie TAI64 or as java does miliseconds since epoch, in a single, new field. saving the timestamp in two fields seems messy. Agreed. miliseconds since epoch is probably preferable, since it can be converted to human r

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Andreas Granig
Hi, On 04/29/2013 01:42 PM, Alex Hermann wrote: On Monday 29 April 2013 11:05:36 Daniel-Constantin Mierla wrote: 1) store seconds.miliseconds as double - there is a patch (which Please do not use floating point respresentations for values that will be used in accounting. Floating point is imp

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Daniel, On 04/23/2013 08:51 PM, Daniel-Constantin Mierla wrote: - the tm variable is declared set, but not used - tz is also not used, gettimeofday() can take NULL as second parameter and iirc, tz is obsolete - I wonder if gettimeofday() can actually fail and return code should be checked fo

Re: [SR-Users] Simulating kamailio config flows

2013-04-23 Thread Andreas Granig
Hi, On 04/22/2013 07:34 PM, Daniel-Constantin Mierla wrote: Details about going out can be printed on onsend_route. In this route block, one can execute drop and nothing is sent to the wire. It can be a config started with a special define specified with -A parameter. Enabling debugger module w

Re: [SR-Users] Fwd: save accdb records with milisec in timestamp field

2013-04-23 Thread Andreas Granig
Hi Uri, On 04/23/2013 10:45 AM, Uri Shacked wrote: can anyone tell me if it is possible to save the time and date using accdb (mysql) with milisec as well? the field on the DB is set as TIMESTAMP. We've opened a ticket on the bug tracker some months ago, but it's still open at http://sip-ro

[SR-Users] Simulating kamailio config flows

2013-04-22 Thread Andreas Granig
Hi, I'd like to put a topic up for discussion to test kamailio config logics. The standard way of doing so is to start kamailio as usual and write sipp or sipsak scenarios to perform automated tests. This can get quite complex pretty quickly, as you always have to take care of covering the fu

Re: [SR-Users] mediaproxy-ng Tutorial

2013-04-10 Thread Andreas Granig
Hi, On 04/10/2013 02:54 PM, Juha Heinanen wrote: i consider it a bad idea to call the new media proxy mediaproxy-ng, because it gives impression that this is a new incarnation of ag projects mediaproxy that has existed for years. mediaproxy-ng also exists for years (since 2007, prior to the re

Re: [SR-Users] mediaproxy-ng Tutorial

2013-04-10 Thread Andreas Granig
Hi, On 04/10/2013 11:02 AM, Jon Bonilla (Manwe) wrote: I think it is a bad idea to name the relay "mediaproxy-ng" and the corresponding Kamailio module "rtpproxy-ng". Indeed Well, the point is that it's "just" an enhancement of the rtpproxy module. In the past, the rtpproxy module was used

Re: [SR-Users] loose_route received parameter question

2013-04-08 Thread Andreas Granig
Hi, On 04/08/2013 11:50 AM, Juha Heinanen wrote: i would expect that loose_route() would set $du to received parameter value, but it does not, because i get to syslog: Apr 8 12:44:54 wheezy1 /usr/sbin/sip-proxy[5723]: INFO: Trying to relay to du <> or ru how can i tell p2 to set $du to rece

Re: [SR-Users] mediaproxy-ng Tutorial

2013-04-02 Thread Andreas Granig
Hi, On 04/02/2013 05:14 PM, Dani Popa wrote: as far as i know, mediaproxy by AG Projects it's also kernel based forwarding, so i don't understand what is the reasons to use another mediaproxy let's say mediaproxy-ng. Well, mediaproxy-ng development has started like 6 years ago as a replacemen

[SR-Users] base64 transformation

2013-03-28 Thread Andreas Granig
Hi guys Maybe I missed something, but looks like there is no base64 encode/decode transformation in PV, right? I think we're going to add one, as it might be handy to do such transformations directly from within the config file. One case where this could be used is that some UAs are picky in

Re: [SR-Users] Kamailio strange behavior : bad Via, bad port

2013-03-18 Thread Andreas Granig
Hi, On 03/18/2013 08:33 AM, Khoa Pham wrote: I heard some people said that it is the ALG of some routers that modify the SIP message, hence cause the errors It's just guessing and consulting the magic crystal ball. Post your SIP message which kamailio complains about as it is received on your

Re: [SR-Users] Weird out-of-memory message on start/stop

2013-02-21 Thread Andreas Granig
Hi, On 02/21/2013 07:50 PM, Konstantin M. wrote: Try to look at https://bugzilla.redhat.com/show_bug.cgi?id=803827 and http://forums.cpanel.net/f34/named-wont-start-284821.html#post1191151 As noted above, I've found the issue already, which was caused by setting the lock-mem ulimit (the -l s

Re: [SR-Users] Weird out-of-memory message on start/stop

2013-02-21 Thread Andreas Granig
Hi Daniel, On 02/21/2013 09:38 AM, Daniel-Constantin Mierla wrote: My curiosity now, what means the syslog message: ... t of memory [6720] I guess the last is pid. Is it like just last part of "OUt of memory"? Never had this message so far, iirc. What I found through debugging is that this m

Re: [SR-Users] SBC

2013-02-20 Thread Andreas Granig
Hi, On 02/20/2013 04:24 PM, Radek Wal wrote: SEMS als SBC application. You might want to check http://www.sipwise.com/news/technical/byov-system-spce-as-sbc/ which uses kamailio and sems to do exactly that. Andreas ___ SIP Express Router (SER) a

Re: [SR-Users] Weird out-of-memory message on start/stop

2013-02-19 Thread Andreas Granig
Hi, On 02/19/2013 11:26 AM, Andreas Granig wrote: On 02/19/2013 11:24 AM, Andreas Granig wrote: Maybe some of you have encountered this funny error message when starting and even killing kamailio on a Debian 6 with 2.6.x and 3.x kernels and 2.11.3-4: 2.11.3-4 is the libc version, btw. Oh

Re: [SR-Users] Weird out-of-memory message on start/stop

2013-02-19 Thread Andreas Granig
On 02/19/2013 11:24 AM, Andreas Granig wrote: Maybe some of you have encountered this funny error message when starting and even killing kamailio on a Debian 6 with 2.6.x and 3.x kernels and 2.11.3-4: 2.11.3-4 is the libc version, btw. Andreas

[SR-Users] Weird out-of-memory message on start/stop

2013-02-19 Thread Andreas Granig
Hi, Maybe some of you have encountered this funny error message when starting and even killing kamailio on a Debian 6 with 2.6.x and 3.x kernels and 2.11.3-4: #- # /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m 4 -M 1

Re: [SR-Users] Nonce secret and expiry value

2013-02-19 Thread Andreas Granig
Thanks for clarification, Daniel! Andreas On 02/19/2013 09:18 AM, Daniel-Constantin Mierla wrote: Hello, On 2/18/13 4:40 PM, Andreas Granig wrote: Hi guys, Nonces have a default expiry value of 300 seconds. Does this still apply if the "secret" parameter is set? So can you use bo

[SR-Users] Nonce secret and expiry value

2013-02-18 Thread Andreas Granig
Hi guys, Nonces have a default expiry value of 300 seconds. Does this still apply if the "secret" parameter is set? So can you use both "secret" and "nonce_expire" value together, taking for granted that the time is in sync over multiple proxies? Andreas

Re: [SR-Users] Evil SBC/B2BUA, was Re: uac_replace_from recovery with modified header

2013-01-25 Thread Andreas Granig
Hi, On 01/24/2013 11:52 PM, Daniel-Constantin Mierla wrote: Since you claim that your cool stuff gets broken, I'd appreciate you to come forward with an example, otherwise it's plain FUD. I think you could really come up with a better demand in this discussion, otherwise is clear misunderstand

[SR-Users] Evil SBC/B2BUA, was Re: uac_replace_from recovery with modified header

2013-01-24 Thread Andreas Granig
Hi, On 01/24/2013 06:35 PM, Daniel-Constantin Mierla wrote: What cool extensions would that be? I guess the sems guys would be happy to fix it, if it breaks something unexpectedly. well, see, you just hit your (business) head! Why I should share with the sems guy the ideas about my cool featur

Re: [SR-Users] uac_replace_from recovery with modified header

2013-01-24 Thread Andreas Granig
Hi, On 01/24/2013 04:49 PM, Daniel-Constantin Mierla wrote: there is no need for an sbc and break the call in two legs and drop my cool extensions I have in my softphone. What cool extensions would that be? I guess the sems guys would be happy to fix it, if it breaks something unexpectedly.

Re: [SR-Users] uac_replace_from recovery with modified header

2013-01-24 Thread Andreas Granig
Hi Daniel, On 01/24/2013 03:55 PM, Daniel-Constantin Mierla wrote: The latest version has support for using dialog to store the From/To values, so no masking within rr param. It should work fine in your case, I guess. For earlier version, you can achieve more or less the same by storing from/to

[SR-Users] uac_replace_from recovery with modified header

2013-01-24 Thread Andreas Granig
Hi, This is a question for kamailio 3.0.x and I'm still trying to reproduce this issue somehow for latest stable, but maybe it was a known issue anyways which got fixed in newer versions, so I don't have to dig deeper into this: There is an INVITE "A -> kamailio -> B", and kamailio does uac

Re: [SR-Users] Send reply with Reason header

2012-12-19 Thread Andreas Granig
Hi Daniel, On 12/19/2012 07:24 PM, Daniel-Constantin Mierla wrote: You can use append_to_reply() from textops module: http://kamailio.org/docs/modules/1.3.x/textops.html#AEN276 :-) I couldn't go over not to remark your good spot on the docs of the 7th older release by now - the 1.3.x - which is

Re: [SR-Users] Changing METHOD

2012-12-19 Thread Andreas Granig
Hi Olle, On 12/19/2012 02:43 PM, Olle E. Johansson wrote: Yeah, I already have Kamailio sending all kinds of crazy stuff while testing a new platform, using the UAC module. But I wanted to be lazy and change on the fly... Evil stuff happening here. Kamailio is a good test-tool. Now I fail to c

Re: [SR-Users] Send reply with Reason header

2012-12-19 Thread Andreas Granig
Hi, On 12/19/2012 05:49 PM, Mino Haluz wrote: I know how to use sl_send_reply, but I would like to add "Reason:" header to the reply generated. Is there any command or variable for that? You can use append_to_reply() from textops module: http://kamailio.org/docs/modules/1.3.x/textops.html#AEN

Re: [SR-Users] variable in rewritehost ?`

2012-12-17 Thread Andreas Granig
Hi, This might sound like a silly question, but why don't you use lookup() instead? You can pass a PV also instead of just using $ru. Andreas On 12/17/2012 04:40 PM, Ali Jawad wrote: Seems the logic I used is flawed, problem is not all of the sip clients register their domain in the location

Re: [SR-Users] NAPTR, SRV and sips vs. transport=tls

2012-12-03 Thread Andreas Granig
Hi Klaus and Ole, On 12/03/2012 11:43 AM, Klaus Darilion wrote: > Just use: > @ IN NAPTR 50 50 "s" "SIPS+D2T" "" _sips._tcp.example.com. > > I would interpret it as: > >SIPS+D2T > | \ > | \ > secure + TCP --> TLS Ok, this seems like a valid approach. I'll

Re: [SR-Users] NAPTR, SRV and sips vs. transport=tls

2012-12-03 Thread Andreas Granig
Hi Klaus, On 12/03/2012 10:15 AM, Klaus Darilion wrote: > The request URI should look like the one which the user enters. E.g. if > user enters "sip:12...@example.com" then the request URI should be > "sip:12...@example.com" - regardless of the transport protocol chosen by > the transport layer. >

Re: [SR-Users] NAPTR, SRV and sips vs. transport=tls

2012-11-30 Thread Andreas Granig
ike there's no tomorrow... It didn't bother me much until today where I realized there is no way to properly indicate to a client that my server supports TLS. Or is there? Andreas On 12/01/2012 12:29 AM, Juha Heinanen wrote: > Andreas Granig writes: > >> A lot of clients and se

[SR-Users] NAPTR, SRV and sips vs. transport=tls

2012-11-30 Thread Andreas Granig
Hi, Hope to get some guidance here over the usage of "sips" and "sip plus transport=tls" when following RFC3263. The RFC3263 says that a NATPR record could return something like this for a query like "host -t NAPTR example.com": ; order pref flags service regexp replacement

Re: [SR-Users] ul.dump Problem

2012-11-26 Thread Andreas Granig
On 11/26/2012 06:49 PM, Spencer Thomason wrote: > I'm running 3.3.2 @ commit bab07e07858464d50d310bbb52431a0b171ee771 Should be fixed here: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3d195f2675569954a1f74128508db07cbc604ed9 Andreas signature.asc Description: OpenPGP di

Re: [SR-Users] ul.dump Problem

2012-11-26 Thread Andreas Granig
Hi, On 11/26/2012 06:25 PM, Spencer Thomason wrote: > I'm attempting to dump the contents of the usrloc cache and I'm receiving the > following error: > sercmd> ul.dump > error: 500 - Internal error creating aor struct > sercmd> mi ul_dump > error: 500 - Internal server error processing 's': buff

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi Carsten, On 11/19/2012 03:38 PM, Carsten Bock wrote: > I am using it with 3.2 in production for exactly that purpose Seems to work like charm, thanks! Andreas signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Thanks Olle and Carsten, On 11/19/2012 03:27 PM, Carsten Bock wrote: > short question: > Why don't you use a shared secret to create a nonce value? > > http://kamailio.org/docs/modules/devel/modules/auth.html#auth.secret I've noticed this "secret" parameter, but the documentation is a bit brief

Re: [SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi David, On 11/19/2012 02:54 PM, David J wrote: > Is the database shared? If so maybe when they authenticate add a secure > token to the header that the second proxy can use for auth? No, the DBs are explicitely NOT shared in this scenario. > Just a suggestion not sure if its the answer your lo

[SR-Users] Sync nonce between various servers

2012-11-19 Thread Andreas Granig
Hi, There are lots of parameters controlling the creation of nonce values on a server, and I'm curious if there is a way to kind of "sync" them between servers. The use case would be to have a UA send for example its registration to Proxy1. Proxy1 would challenge it, UA will send the registration

Re: [SR-Users] Manually add Via Header

2012-10-25 Thread Andreas Granig
Hi, On 10/25/2012 02:51 PM, Olle E. Johansson wrote: >> Is there a way in kamailio to statelessy forward a request without >> putting its own Via header into the message? Consider an example where a >> stateless load-balancer sends a request to a proxy A, which again >> statelessy forwards it to a

Re: [SR-Users] Manually add Via Header

2012-10-25 Thread Andreas Granig
Hi, Sorry for hijacking this thread, but I've a similar but different question which bugs me since a while :) Is there a way in kamailio to statelessy forward a request without putting its own Via header into the message? Consider an example where a stateless load-balancer sends a request to a pr

Re: [SR-Users] rtpproxy module flags 1 and 2 question

2012-10-22 Thread Andreas Granig
Hi, On 10/22/2012 07:04 PM, Klaus Darilion wrote: > Please ask Andreas about those flags - he commited it It's actually about serial hunting e.g. on ring-timeout (maybe the term "forking" is ambiguous). Consider this scenario: A sends INVITE to proxy, which calls rtpproxy_offer to create a new

Re: [SR-Users] udp transport in rtpproxy sockets

2012-10-22 Thread Andreas Granig
Hi Juha, On 10/22/2012 09:50 AM, Juha Heinanen wrote: > Definition of socket(s) used to connect to (a set) RTPProxy. It may > specify a UNIX socket or an IPv4/IPv6 UDP socket. > > if that is the case, what is the justification for it, i.e, why is tcp > (and better yet tls) transport not supported

Re: [SR-Users] mediaproxy-ng fails to parse start_recording() command

2012-10-20 Thread Andreas Granig
Hi Juha, On 10/20/2012 07:17 PM, Juha Heinanen wrote: > i tried what happens when i call start_recording() after calling > rtpproxy_manage() and got this kind of error to syslog: > > Oct 20 19:57:43 siika mediaproxy-ng[8423]: Failed to properly parse UDP > command line '8554_13 R ngsgznnwgzpu...

[SR-Users] Syntax of xavp

2012-10-09 Thread Andreas Granig
Hi, I'm playing around with xavp, but there are some things I can't wrap my head around. What basically works is this: $xavp(a=>foo) = 'foo'; $xavp(a[0]=>bar) = 'bar'; Getting the value like this: xlog("L_INFO", "a-foo='$xavp(a=>foo)' and a-bar='$xavp(a=>bar)'"); as well as xlog("L_INFO", "a-f

Re: [SR-Users] Kamailio Presence module

2012-09-18 Thread Andreas Granig
On 09/17/2012 10:36 AM, Gary Shergill wrote: > root@opensep:~# service kamailio restart > Not starting Kamailio: invalid configuration file! > -e > 0(7892) : [cfg.y:3591]: parse error in config file > /etc/kamailio/kamailio.cfg, line 392, column 32-36: syntax error > 0(7892) : [cfg.y:3591]: p

Re: [SR-Users] [OT] the role of SBCs

2012-08-31 Thread Andreas Granig
On 08/31/2012 11:10 AM, Olle E. Johansson wrote: >> Sbc also ofer a propritary way of failover for itself >> If node1 die node2 will replace it > > That's been done both with Asterisk and Kamailio (and propably SEMS) for a > very long time. For SEMS it's a commercial module, same goes for the Si

Re: [SR-Users] [OT] the role of SBCs

2012-08-30 Thread Andreas Granig
Hi Rupert, The interesting thing is that the arguments you brought up are exactly the same in every big corporation we've worked with. They're perfectly valid, also taking into account the decision making process, which department takes responsibility for what, and it's also of course politically

[SR-Users] [OT] sip:provider CE v2.6 is out!

2012-08-29 Thread Andreas Granig
Hi all, I'm excited to announce the release of the Sipwise sip:provider Community Edition v2.6, a free and open source turn-key platform, which uses Kamailio, Sems and Asterisk in its core to provide a full-blown and feature-rich VoIP soft-switch. http://www.sipwise.com/news/announcements/spce-v2

[SR-Users] Wrong index on expires column in pua module

2012-08-24 Thread Andreas Granig
Hi guys, In the pua table, there is a unique key on the "expires" column, which seems wrong to me, because you'll sooner or later end up with different pua entries having the same expiry time, no? At least we ended up with messages like this in the logs, I think it's caused by pua_reginfo tests:

Re: [SR-Users] Kamailio and ACME

2012-08-15 Thread Andreas Granig
On 08/15/2012 08:23 PM, Fatima Chahrour wrote: > Any help or ideas regarding the below? Both lcr or dispatcher module can do what you want, check the docs at http://kamailio.org/docs/modules/stable/ . You need to get an idea how this stuff works by studying the example config shipped with kamaili

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Andreas Granig
On 08/14/2012 11:29 AM, Fatima Chahrour~Vanrise Support wrote: > I wanted to ask if Kamailio is compatible with ACME Packet or experianced by > anyone in the list? > and if there is any document that you recommend about such topic espacially > in what is related to routing? There is nothing specia

Re: [SR-Users] Possible bad lcr module, after upgrade to 3.3.0 from 3.2

2012-08-13 Thread Andreas Granig
Hi, Reviving this old thread, as we ran into the same issue as well. Turned out it was a small glitch in passing a pointer to the size variable to pcre, which was int instead of size_t, potentially causing stack overflows on 64bit machines and messing with the rule_id, so the entry got deactivated

Re: [SR-Users] Kamailio with APNS

2012-07-24 Thread Andreas Granig
Hi, On 07/24/2012 03:53 PM, Klaus Darilion wrote: > In the failure route check if the reply code is 404 and if yes, trigger > the APNS logic and then put the call e.g. on a stack and resume e.g. > every second and ofrward to the "SIP server" again to see if the client > is registered meanwhile. >

Re: [SR-Users] Removing display-name with uac_replace_from

2012-07-05 Thread Andreas Granig
rom1() and w_replace_from2(), whereas 3.3 uses one unified w_replace_from(), which breaks the behavior the fixup function is providing. Thanks, Andreas On 07/05/2012 12:32 AM, Andreas Granig wrote: > Hi, > > On 07/04/2012 09:42 PM, Daniel-Constantin Mierla wrote: >> quick look into the

Re: [SR-Users] Removing display-name with uac_replace_from

2012-07-04 Thread Andreas Granig
Hi, On 07/04/2012 09:42 PM, Daniel-Constantin Mierla wrote: > quick look into the sources shows that fixup makes the display parameter > null if its length is 0 -- perhaps introduced in the patch that unified > the fixup to work also for replacing the To header display. If you have > time and urge

[SR-Users] Removing display-name with uac_replace_from

2012-07-04 Thread Andreas Granig
Hi, in kamailio 3.3, doing uac_replace_from("", "$var(myuri)"); doesn't remove the old Display part anymore (although the documentation still says it should), the debug log is: DEBUG: uac [uac.c:499]: dsp=(nil) (len=0) , uri=0x7fff87f6b840 (len=28) DEBUG: uac [replace.c:324]: uri to replace [

Re: [SR-Users] How to access reason phrase of winning reply in failure_route

2012-07-02 Thread Andreas Granig
Hi, On 07/02/2012 10:29 AM, Barthel Marco (CI/AFU1) wrote: > how do I access the reason phrase of winning reply in failure_route? > The reply code can be accessed via $T_reply_code. Is there something similar > for the reason phrase? The tmx module exports $T_rpl(), which you can use like this

Re: [SR-Users] Binding arbitrary TLS socket

2012-06-28 Thread Andreas Granig
On 06/28/2012 04:35 PM, Andreas Granig wrote: > Got some problems when I tried this, not sure how this is intended to work: > > listen=tls:192.168.51.133:4343 > > When starting kamailio 3.3, I get the following error: > > ERROR: [tcp_main.c:2915]: ERROR: tcp_init: bind(10,

[SR-Users] Binding arbitrary TLS socket

2012-06-28 Thread Andreas Granig
Hi, Got some problems when I tried this, not sure how this is intended to work: listen=tls:192.168.51.133:4343 When starting kamailio 3.3, I get the following error: ERROR: [tcp_main.c:2915]: ERROR: tcp_init: bind(10, 0x7f5eea45db24, 16) on 192.168.51.133:4343 : Address already in use ERROR: t

Re: [SR-Users] simple test case: add user/delete user on kamailio 3.3 presence server

2012-06-18 Thread Andreas Granig
Hi, On 06/15/2012 05:25 PM, Min Wang wrote: > | 1 | sip:103@192.168.122.32 | 101 | 192.168.122.32 | > presence | 2 ||1339772803 | > >then I deleted the 103 from the contact list, the watcher table still > shows the same. For local storage, I'd expect an unsubsc

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi Juha, On 06/13/2012 05:07 PM, Juha Heinanen wrote: > i did some more presence tests with jitsi. when i start jitsi, it > registers its sip uri, subscribes to its own presence.winfo and presence > of another uri, and publishes its own presence. > > when i then quit jitsi, it un-publishes its ow

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi Juha, On 06/13/2012 11:50 AM, Juha Heinanen wrote: >> For me, reporting a presence bug on the jitsi-users mailing list, along >> with pointing out exactly where in the code and how to fix it eventually >> worked. Did you get in touch with them on one of the lists? > > i don't remember if i sen

Re: [SR-Users] About xcap xuid in kamailio

2012-06-13 Thread Andreas Granig
Hi, On 06/13/2012 10:52 AM, Juha Heinanen wrote: > my feeling is that there is no real commitment in jitsi for sip > presence/xcap. i found a presence bug long time ago and reported it on > jitsi tracker. so far nothing has happened. For me, reporting a presence bug on the jitsi-users mailing l

Re: [SR-Users] Looking for RTP Proxy in TCP

2012-06-08 Thread Andreas Granig
Hi, On 06/08/2012 03:23 PM, Aft nix wrote: >> http://www.mbdsys.com/foss/htproxy/file/f16c43f3c3c3/README >> >> it is kind of http proxy that can be used to tunnel udp packets. You need to >> have a client application supporting it, on the sip server side you don't >> need anything. > > Does this

Re: [SR-Users] record calls audio and video

2012-06-07 Thread Andreas Granig
Hi, On 06/05/2012 08:21 PM, Saul Waizer wrote: > I am running Kamailio and rtpprox on ec2 > > I do have a DBUG log for it, one interesting thing to point out: On the > above line notice how I have 127.0.0.1, I changed this from my external > ip address because i was getting the following on the r

Re: [SR-Users] Single-quoted vs double-quoted params in Path/Route

2012-06-04 Thread Andreas Granig
On 06/04/2012 07:29 PM, Iñaki Baz Castillo wrote: >> My question now is if there are any concerns on your side with handling >> single-quoted URI params the way we handle double-quoted ones? If we >> were strict, we'd actually need to remove the handling for double-quoted >> ones, but for backwards

Re: [SR-Users] Kamailio and Netann

2012-06-04 Thread Andreas Granig
Hi Patrice, There are couple of characters in the URI which need to be escaped properly. A correct R-URI would look like this: sip:a...@cl1.oms.ser.v0.pftest.net;play=http%3A%2F%2F1xx.1xx.1xx.1xx%3A8080%2Ferrfile%2Ferr.wav;repeat=forever There are string transformations "{s.escape.param}" and "{

[SR-Users] Single-quoted vs double-quoted params in Path/Route

2012-06-04 Thread Andreas Granig
Hi guys, When I implemented the Path module 6 years ago, I chose to enclose the received-URI in double-quotes, like this: Path: This Path value is stored in usrloc by registrar module, and is converted to a Route in a subsequent request. This worked fine so far, because there's the logic in par

Re: [SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Andreas Granig
Hi, On 05/09/2012 02:40 PM, Openser Kamailio wrote: > *Owner/Connection Information (o)*: doubango 1983 678901 IN IP4 > *172.27.170.984* 172.27.170.98 > *Connection Information (c)*: IN IP4 *172.27.170.984* 172.27.170.98 Could it be possible that you're calling rtpproxy_offer() twice? Andreas

  1   2   >