Re: [SR-Users] OT: Excessive or fatal bounces for yahoo, hotmail, ...

2014-04-29 Thread Henning Westerholt
Am Dienstag, 29. April 2014, 09:51:32 schrieb Daniel Tryba:
 On Tuesday 29 April 2014 09:18:41 Daniel-Constantin Mierla wrote:
  Is anyone here aware of similar issues and potential fixes? I guess
  yahoo/hotmail servers simply reject the emails sent by mailman of
  mailing lists.
  
  Any hint would be appreciated...
 
 It's DMARC at work:
 
 http://www.ietf.org/mail-archive/web/ietf/current/msg87153.html
 
 The subejct says it all:
 Yahoo breaks every mailing list in the world including the IETF's

Hi,

thanks for the information. This is bad, especially as it also seems to bounce 
other (non yahoo subscriber) from the list. The suggestions from the link:

Suggestions:
* Suspend posting permission of all yahoo.com addresses, to limit damage
* Tell Yahoo users to get a new mail account somewhere else, pronto, if
  they want to continue using mailing lists
* If you know people at Yahoo, ask if perhaps this wasn't such a good idea

does also not sound really good. Not sure if yahoo will fix this, otherwise we 
need to upgrade the mailman (as brought up from Daniel in another mail)  or 
remove them. Both options are not really good.

@Daniel - I have sended the unsubscribed members from this morning to you over 
private mail. About 1/3 are not from yahoo, maybe you can bulk subscribe them 
again.

Regards,

Henning

___
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


Re: [SR-Users] deb.kamailio.org down?

2014-02-17 Thread Henning Westerholt
Am Sonntag, 16. Februar 2014, 21:07:40 schrieb Daniel-Constantin Mierla:
 I cannot ping it from here either. The deb repository is temporary
 hosted on a sever by 11, until we get the new build server prepared by
 Sipwise. Henning might look to current one tomorrow, he manages it.
 
 Meanwhile, some older packages are available on opensuse build system:
 - https://build.opensuse.org/project/show/home:kamailio:telephony-debs
 
 Or you can try building them yourself, there should be a tutorial about
 how to do it on kamailio.org/wiki/ .

Hi,

sorry for that. I restarted the server, should be available now. I checked 
that requests are served again. Please let me know if you still have problems.

Regards

Henning Westerholt

___
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


Re: [SR-Users] Kamailio ubuntu precise repository DOWN

2014-02-04 Thread Henning Westerholt
 Daniel wrote:
 the old server with the repositories had to be shut down:
 
   - http://lists.sip-router.org/pipermail/sr-users/2014-January/081347.html
 
 But the repositories were cloned to devel.kamailio.org and the dns was 
 pointed to them.
 
 Maybe Henning can check if the http paths on the devel server match the ones 
 from the old server, as listed 
 on the wiki:
 
 - http://www.kamailio.org/wiki/packages/debs
 
 Guys at Sipwise are gratefully working on setting up a new build system for 
 deb packages, which should become  available soon.

Hello,

Can you please check again? There was an error in the apache configuration. It 
should work now better with the old URL.

Best regards

Henning


___
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


Re: [SR-Users] Carrierroute - scan_prefix

2014-02-03 Thread Henning Westerholt
Am Montag, 3. Februar 2014, 12:42:50 schrieb Oliver Roth:
 Nobody an idea?
 
 To measure asr/ner ratio this is really important to us!

Hi Oliver,

do you need to get CDR information about a call or some special information 
from inside the carrier route module? If you need the former, then you could 
simply use the acc module to get this information e.g. as log stream or in a 
DB.

Henning Westerholt

___
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


Re: [SR-Users] P_usrloc - expired locations

2014-01-23 Thread Henning Westerholt
Am Donnerstag, 23. Januar 2014, 16:59:30 schrieb Helena Garcia-Nieto:
 I am testing the p_usrloc module in order to write the location information
 of my kamailo server (Kamailio is on version 4.0.2) in two db
 
 As first test both DB are on the same machine, as well as the master db. On
 final version master and one db would probably be on the same machine and
 the second db on a different one.
 
 I have read on the p_usrloc module the following note:
 
 The p_usrloc module still has some missing feature, like automatic expiry of
 contacts and dumping of all users via the fifo cmd.
 
 And I can sadly see that the locations are not being deleted automatically
 after expiring.
 [..]
 Have anyone found a solution or can give me some advice on how can I force
 the expired locations to be erased from the db, just as the usrloc module
 does?

Hallo Helena,

we use just a simple regular job (started with linux standard tools like cron 
etc..) that deletes regularly all old registrations on the databases. Use 
plain SQL, DELETE FROM $table WHERE expires  NOW() or similar.

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] P_usrloc - expired locations

2014-01-23 Thread Henning Westerholt
Am Donnerstag, 23. Januar 2014, 17:13:11 schrieb Helena Garcia-Nieto:
 Ok!
 
 Thank you very much for the advice, I'll set up some crontab job for that!

Hello Helena,

ok, you could implement it with the help of the timer and sqlops module as 
well. Just before somebody else correct me here. ;-) But its probably easier 
for you as cron, if you don't know the details of the mentioned modules.

Best regards

Henning Westerholt

___
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


Re: [SR-Users] P_usrloc - expired locations

2014-01-23 Thread Henning Westerholt
Am Donnerstag, 23. Januar 2014, 17:06:12 schrieb Helena Garcia-Nieto:
 Thanks for the advice!
 
 We probably need to do that! But... there is no module configuration or
 simple kamailio configuration to do it?

Hello Helena,

no, there is no module configuration for that. I a big distributed setup there 
are some scenarios where you e.g. want to stop the deletion of old user 
contacts. Therefore the isolated solution, as a simple script, to gives you 
the flexiblity you need. 

And besides that, its just easier to implement, as you don't need to keep 
state with regards to the location data deletion process in Kamailio.

Henning Westerholt

___
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


Re: [SR-Users] [Kamailio-Business] Fosdem this year

2014-01-10 Thread Henning Westerholt
Am Mittwoch, 8. Januar 2014, 20:07:58 schrieb Daniel-Constantin Mierla:
 not much about real time communications this year at Fosdem, but being a
 convenient venue for me, the plan at this moment is to go .
 
 I saw some notes online from various people in the community that
 planned to attend as well, maybe we can synchronize and have an informal
 meeting around and/or a dinner. Who is planning to go?

Hi Daniel,

I should be there as well.

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Hardware requirements/recommandations

2013-10-30 Thread Henning Westerholt
Am Mittwoch, 30. Oktober 2013, 12:28:16 schrieb Igor Potjevlesch:
 I'm looking for the best practises for setting Kamailio and the associated
 hardware requirements.
 
 Kamailio must deliver registrar and routing functions for 500k aliases, 5k
 registered accounts and ~10k routes set in carrierroute module or similar.
 My worries mainly concern DB integration. Is it better to setup Kamailio DB
 on the same server (no network issue, etc.) or on another server?

Hi Igor,

in my experience using a local (read-only) replicate of the kamailio database 
for authentification and other read-only functionality brings the best 
performance, as its eliminates the network overhead. For read-write 
functionality one like to have a central database server, and I would 
recommend this as well for better performance.

I would recommend that you do some tests with a testing tool, and then decide 
if you want to go for a local replicate or a dedicated DB is fine. With regards 
to special hardware recommendations - I my experience any recent 1 HE 
enterprise line server (from Dell, HP, IBM etc..) should be fine.

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Hardware requirements/recommandations

2013-10-30 Thread Henning Westerholt
Am Mittwoch, 30. Oktober 2013, 14:35:06 schrieb Igor Potjevlesch:
 [using a read-only slave and a dedicated read-write DB]
 Great suggestion!
 Do you have a configuration example with 2 MySQL connections?  Also, for
 modules params, how can we define a MySQL links RO and another RW?

Hi Igor,

well, you just need to point the appropriate modules database URL in the cfg 
file to the appropriate destination. E.g. auth module to the local slave, 
usrloc module to the dedicated master etc..

Regards,

Henning

___
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


Re: [SR-Users] Hardware requirements/recommandations

2013-10-30 Thread Henning Westerholt
Am Mittwoch, 30. Oktober 2013, 16:34:41 schrieb Igor Potjevlesch:
 Oh ok. I was thinking that, for example, usrloc can be connected to
 DBURL_RO for read-only actions and DBURL_RW for read-write actions.

Hi Igor,

the p_usrloc module supports this functionality, and you can also configure 
different connections with the db_cluster module, i think.

Regards,

Henning Westerholt

___
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


Re: [SR-Users] Hardware requirements/recommandations

2013-10-30 Thread Henning Westerholt
Am Mittwoch, 30. Oktober 2013, 17:06:56 schrieb Igor Potjevlesch:
 Nice features but they look to be more complex than the schema that you
 proposed.
 Kamailio is not impacted by MySQL replication traffic which generate writes
 on his disk?

Hi Igor,

no, normally you've enough CPU cores that one for the mysql replication job 
should be available. And normally you don't replicate several mbit/s to the 
disk in a configured environment.

Henning
 
 -Message d'origine-
 De : Henning Westerholt [mailto:h...@kamailio.org]
 Envoyé : mercredi 30 octobre 2013 16:37
 À : Igor Potjevlesch
 Cc : sr-users@lists.sip-router.org
 Objet : Re: [SR-Users] Hardware requirements/recommandations
 
 Am Mittwoch, 30. Oktober 2013, 16:34:41 schrieb Igor Potjevlesch:
  Oh ok. I was thinking that, for example, usrloc can be connected to
  DBURL_RO for read-only actions and DBURL_RW for read-write actions.
 
 Hi Igor,
 
 the p_usrloc module supports this functionality, and you can also configure
 different connections with the db_cluster module, i think.
 
 Regards,
 
 Henning Westerholt
 
 
 ---
 Ce courrier électronique ne contient aucun virus ou logiciel malveillant
 parce que la protection avast! Antivirus est active. http://www.avast.com



___
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


Re: [SR-Users] [sr-dev] next irc devel meeting - proposed for Sep 12, 2013

2013-09-30 Thread Henning Westerholt
Am Montag, 30. September 2013, 10:39:20 schrieb Victor Seva:
 2013/9/12 Daniel-Constantin Mierla mico...@gmail.com:
  - https://www.kamailio.org/wiki/devel/irc-meetings/2013b
 
 has anyone the IRC  transcript of the meeting?

Hello Victor,

I can provide this later today in the wiki.

Regards,

Henning Westerholt

___
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


Re: [SR-Users] [sr-dev] next irc devel meeting - proposed for Sep 12, 2013 - chat log

2013-09-30 Thread Henning Westerholt
Am Montag, 30. September 2013, 11:31:13 schrieb Henning Westerholt:
 I can provide this later today in the wiki.

Hello,

the chat log can be found at the following URL in the wiki:
http://www.kamailio.org/wiki/devel/irc-meetings/2013blog

Regards,

Henning Westerholt

___
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


Re: [SR-Users] check blacklist error...

2013-07-16 Thread Henning Westerholt
Am Montag, 15. Juli 2013, 18:56:58 schrieb arun Jayaprakash:
 Hello, I am trying to activate the check blacklist function but I keep
 getting an error. The script I run is this;
 
 if(!check_blacklist(global_blacklist)){
  sl_send_reply(403,Forbidden);
exit;
 }
 
 When I restart kamailio I get the following error; 
 
 failed to find command check_blacklist
 Is there any module I will need to activate to make this work? 
 

Hi Arun,

have you activated the userblacklist module?

Cheers,

Henning

___
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] New developer: Lucian Balaceanu

2013-07-16 Thread Henning Westerholt
Hello,

I am pleased to announce a new developer for the Kamailio project: Lucian 
Balaceanu. Lucian works in our 11 office in Bucharest and is for some years 
with us in the company. He worked on several internal projects with our  
Kamailio stack and will contribute some fixes to the sipcapture and 
carrierroute module. He will also probably commit some other smaller fixes from 
time to time.

Welcome Lucian and all the best,

Henning


___
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


Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Henning Westerholt
Am Dienstag, 2. Juli 2013, 14:23:25 schrieb Charles Chance:
 I don't think this will help at all, as regardless of DB mode, unconfirmed
 dialogs are not stored in DB anyway.
 
 The important thing to remember is that if you are calling dialog_manage()
 in your config, to only do it once you are ready to forward the request. If
 you call it but then exit for some reason without actually forwarding, you
 will probably end up with a stuck dialog.
 
 Maybe someone else can suggest other possible causes?
 
 To my knowledge, there is no existing way to clear these without restarting.

Hello,

AFAIK these stale dialogs are cleaned up after the dialog timeout. There are 
module parameter and also dialog specific parameter to control this variable. 
This stale dialogs needs a bit of memory, but are otherwise harmless.

Best regards,

Henning

___
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


Re: [SR-Users] MySQL storage engine

2013-05-29 Thread Henning Westerholt
  Is there an option to set default storage engine per database (or
  mysql server)? Maybe we should skip it in table definition and let
  it be the default one in the database server.
  Since Mysql 5.5 InnoDB is the default engine. It can also be
  configured by the default-storage-engine setting in my.cfg
 OK. Perhaps worth opening an issue on our tracker not to forget this
 one.
 
 I think Henning did most of xml-to-sql tools work in the past, if he
 cannot jump on it, someone else will do it.

Hello Daniel,

I'll have a look today and change it in the xslt.

Best regards,

Henning

___
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


Re: [SR-Users] [sr-dev] SER Getting Started - what's the copyright and license?

2013-05-24 Thread Henning Westerholt
Am Donnerstag, 23. Mai 2013, 09:56:46 schrieb Olle E. Johansson:
 http://kamailio.org/docs/ser-getting-started/SER-GettingStarted.pdf
 
 I'm looking for the authors of this document to find out what license it is
 published under. It would be nice to be able to use it and update it
 instead of starting a new getting started from scratch.
 
 Please contact me if you get this message!

Hello Olle,

you've probably contacted them already, for reference this were the authors of 
this document in the past:

Paul Hazlett, phazlett at gmail dot com
Simon Miles, simon at SystemsRM dot co dot uk
Greger V. Teigre, greger at teigre dot com

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] [sr-dev] Via header, branch parameter and syn_branch

2013-05-24 Thread Henning Westerholt
Am Donnerstag, 23. Mai 2013, 12:20:00 schrieb Henning Westerholt:
 [...]
  And should the next major release have a default of syn_branch=0?
  Since with syn_branch=1 the branch=0 version has been known to cause
  interop issues in the past (see below) and I can confirm the
  branch=z9hG4bKcydzigwkX version causes interop issues in the present.
 
 Hello Richard,
 
 syn_branch=0 should be made the default, this is what we use as default
 since years in our backend. The performance concerns that were the reason
 for introducing it long ago are nowadays not valid anymore (even on
 embedded systems).
 
 I would suggest to remove this parameter completely, one less if/else case
 in the module code and also a a parameter less to document and learn for
 our users.

Hello Richard,

the parameter has been removed from the core in git master branch. Now 
Kamailio should be generate correct Via branch parameter as default. It 
behaves now as syn_branch = 0 would be set.

Cheers,

Henning Westerholt


___
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


Re: [SR-Users] Via header, branch parameter and syn_branch

2013-05-23 Thread Henning Westerholt
Am Donnerstag, 23. Mai 2013, 11:12:20 schrieb Richard Brady:
 The syn_branch global parameter results in the use of a synonym
 branch parameter in the Via header for statelessly forwarded requests
 as a performance optimisation.
 
 This was originally done by setting branch=0 which, while not strictly
 compliant with 3261 (8.1.1.7 and 16.6 item 8), would not cause any
 problems with a downstream proxy or UA compliant to either 3261 or
 2543 since it does not contain the cookie and is therefore
 self-evidently not guaranteed to be unique.
 
 Then a patch was added (commit ebb3b08) to change it from branch=0 to
 branch=z9hG4bKcydzigwkX which includes the cookie, thus declaring
 itself to be unique when it clearly is not.
 
 This takes the optimisation too far as it deliberately misleads
 downstream proxies with regard to the uniqueness of the parameter and
 breaks the mechanism in 17.2.3 for identifying unreliable (non-unique)
 branch parameters for transaction matching which should then fall back
 to header inspection but does not. The result is that unrelated
 requests can be identified as duplicates of each other.
 
 Also note 3261 section 16.11 on Stateless Proxy behaviour: The
 requirement for unique branch IDs across space and time applies to
 stateless proxies as well.
 
 Has the commit above introduced a bug and should it be reverted?
 
 And should the next major release have a default of syn_branch=0?
 Since with syn_branch=1 the branch=0 version has been known to cause
 interop issues in the past (see below) and I can confirm the
 branch=z9hG4bKcydzigwkX version causes interop issues in the present.

Hello Richard,

syn_branch=0 should be made the default, this is what we use as default since 
years in our backend. The performance concerns that were the reason for 
introducing it long ago are nowadays not valid anymore (even on embedded 
systems).

I would suggest to remove this parameter completely, one less if/else case in 
the module code and also a a parameter less to document and learn for our 
users.

Henning

___
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


Re: [SR-Users] Is RTP proxy compatible with SER

2013-05-10 Thread Henning Westerholt
Am Freitag, 10. Mai 2013, 19:49:15 schrieb Priyaranjan Nayak:
I am new to SER and SEMS . Can we run RTP proxy with SER ?
If yes, which version of SER will compatible with RTP proxy ?

Hello,

you can use Kamailio with rtpproxy. All recent version of Kamailio are 
compatible with it. You can find instructions about installing e.g. version 4.0 
on our wiki: http://www.kamailio.org/wiki/

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Question about relaying

2013-05-06 Thread Henning Westerholt
Am Freitag, 3. Mai 2013, 16:33:23 schrieb Leo Brown:
 So record-route goes like a stack and moves the current contact one down the
 chain.
 
 You could then presumably truncate the list of other routes for privacy if
 needed?
 [..]

Hello,

Kamailio can't provide real SBC functionality, but you could use the topoh 
module to mask e.g. the VIA headers.

Regards,

Henning Westerholt

___
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


Re: [SR-Users] Question about relaying

2013-05-06 Thread Henning Westerholt
Am Freitag, 3. Mai 2013, 16:54:29 schrieb Leo Brown:
 I added record_route() and now I see an extra record-route and Via: header:
 
 .9INVITE sip:44800800...@pstn-out.netfuse.net SIP/2.0
 Record-Route: sip:85.13.242.55;lr=on
 Via: SIP/2.0/UDP 85.13.242.55;branch=z9hG4bK388f.04bc8632.1
 Via: SIP/2.0/UDP 81.88.163.210:5060;rport=5060;branch=z9hG4bK82ae6ced
 INVITE sip:44800800150@our-pstn-switch SIP/2.0
 Record-Route: sip:mvno-edge;lr=on
 Via: SIP/2.0/UDP mvno-edge;branch=z9hG4bK388f.04bc8632.1
 Via: SIP/2.0/UDP mvno-carrier:5060;rport=5060;branch=z9hG4bK82ae6ced
 Contact: sip:441234567890@mvno-carrier:5060
 
 I have replaced the relevant IP addresses in the example with mvno-edge,
 mvno-carrier, and outbound-carrier. So the route got recorded but the
 Contact: still referenced my mvno-carrier when inviting my
 outbound-carrier.
 
 Accordingly, I do not get the BYE message from my originating mvno-carrier,
 after I send them 200 OK they try to talk to my outbound-carrier.
 
 Note this is how I am routing the call to my gateway:
 
 # Change destination URI to our carrier
 $ru = sip: + $rU + @ +
 $sel(cfg_get.gateways.outbound_carrier_1);
 
 Any other ideas on how the Contact header should be modified?

Hi Leo,

maybe the originating gateway user agent is not configured correctly. Normally 
one does not need to modify the Contact header for this functionality.

The originating user agent needs to learn the route set that he should 
follow and specify then this the respective Route headers.

Take a look to this example on how it works in detail:

http://www.in2eps.com/fo-sip/tk-fo-sip-dialog.html

BTW, if your proxy on the path also needs to honour Route sets you need to use 
also the loose_route function in rr module.

Henning Westerholt

___
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


Re: [SR-Users] Question about relaying

2013-05-03 Thread Henning Westerholt
Am Freitag, 3. Mai 2013, 16:13:36 schrieb Leo Brown:
 [..]
   MVNO Carrier  --  Our Edge Switch  --  Our PSTN Switch  --  Our
 carrier's switch
  |---  Our internal routing
  |switch
 
 The issue is with our PSTN switch and the fact that it is not staying in the
 SIP signalling path, so when the call ultimately between our MVNO carrier
 and outbound Carrier is established (200 OK) the MVNO carrier and PSTN
 carrier begin talking to each other.
 
 When the MVNO carrier issues a BYE to the outbound carrier, the outbound
 carrier does not then receive this packet as they are firewalled (and
 always will be).
 
 What is the correct method of relaying calls through Kamailio but not
 passing on the Contact: header info? I have read that forcing a change of
 Contact is not the right way.

Hello,

if you want to ensure that your kamailio stays on the path of the dialog for 
following requests you probably want to use record-route headers for this. 
This is usally done with the rr module, record_route() function.

To quote from iptel.org:

[A] Mechanism by which a proxy can inform user agents that it wishes to stay 
on the path of all further messages is called record routing. Such a proxy 
would insert Record-Route header field into SIP messages which contain address 
of the proxy. Messages sent within a dialog will then traverse all SIP proxies 
that put a Record-Route header field into the message.

The recipient of the request receives a set of Record-Route header fields in 
the message. It must mirror all the Record-Route header fields into responses 
because the originator of the request also needs to know the set of proxies.

Best regards,

Henning Westerholt


___
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


Re: [SR-Users] Montoring/Reporting Solution - Commercial/Open Source

2013-04-24 Thread Henning Westerholt
Am Mittwoch, 24. April 2013, 17:36:46 schrieb Ali Jawad:
 Any input please ?
 
 On Tue, Apr 23, 2013 at 2:31 PM, Ali Jawad ali.ja...@splendor.net wrote:
  Hi
  I am in need of a solution that does provide me with advanced graphing and
  report for Kamailio, I.e. ASR/ACD over day/month/destination etc. with
  tresholds and alerts. Does anyone know about a solution that is compatible
  with Kamailio and does this ?

Hello,

maybe you'd like to ask at the business list about a commercial offering, if 
the available open source software like homer or siremis does not fulfil your 
needs.

http://lists.kamailio.org/cgi-bin/mailman/listinfo/business

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Montoring/Reporting Solution - Commercial/Open Source

2013-04-24 Thread Henning Westerholt
Am Mittwoch, 24. April 2013, 17:36:46 schrieb Ali Jawad:
 Any input please ?
 
 On Tue, Apr 23, 2013 at 2:31 PM, Ali Jawad ali.ja...@splendor.net wrote:
  Hi
  I am in need of a solution that does provide me with advanced graphing and
  report for Kamailio, I.e. ASR/ACD over day/month/destination etc. with
  tresholds and alerts. Does anyone know about a solution that is compatible
  with Kamailio and does this ?

Hello,

maybe you'd like to ask at the business list about a commercial offering, if 
the available open source software like homer or siremis does not fulfil your 
needs.

http://lists.kamailio.org/cgi-bin/mailman/listinfo/business

Best regards,

Henning Westerholt

___
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] www.kamailio.org rebooted for maintenance

2013-04-24 Thread Henning Westerholt
Hello,

I've needed to reboot www.kamailio.org two times for maintenance (kernel and 
grub boot loader update) a few minutes ago. The machine which its services is 
now up again, please let me know if you find some issues because of the change.

Thanks and regards,

Henning

--
Henning Westerholt - Head of IT Operations Internet Access  Communications
Tel.  +49 721 91374-4483, Fax. +49 721 91374-2734
11 Internet AG, Brauerstraße 48, 76135 Karlsruhe, Germany

Vorstände: Henning Ahlert, Ralph Dommermuth, Robert Hoffmann, Andreas Hofmann, 
Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen, Martin Witt, 
Christian Würst. Aufsichtsratsvorsitzender: Michael Scheeren. Amtsgericht 
Montabaur / HRB 6484



___
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] maintenance of www.kamailio.org

2013-04-22 Thread Henning Westerholt
Hi,

I'll do today this noon a regular maintenance of www.kamailio.org. I don't 
expect any big outtages, the webserver could be maybe for a few seconds not 
available due to some restarts.

I'll announce when the maintenance is finished.

Best regards,

Henning

___
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


Re: [SR-Users] Problem accessing git repository

2013-04-12 Thread Henning Westerholt
Am Freitag, 12. April 2013, 12:52:17 schrieb Mikko Lehto:
 Yesterday I got fatal: read error: Connection reset by peer to my git
 pull command. I thought it was only temporary network error, but same
 problem still exist today.
 
 I can however access other remote git repositories succesfully from the same
 host.

Hello,

I just had a look to the server. It works ok, but has a bit high load from the 
git web access application. I'll configure this a bit more restrictive, that it 
not cause this high load spikes.

Best regards,

Henning

___
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


Re: [SR-Users] Short sip-router maintenance

2013-04-12 Thread Henning Westerholt
Am Freitag, 12. April 2013, 13:00:22 schrieb Henning Westerholt:
 Am Freitag, 12. April 2013, 12:52:17 schrieb Mikko Lehto:
  Yesterday I got fatal: read error: Connection reset by peer to my git
  pull command. I thought it was only temporary network error, but same
  problem still exist today.
  
  I can however access other remote git repositories succesfully from the
  same host.
 
 I just had a look to the server. It works ok, but has a bit high load from
 the git web access application. I'll configure this a bit more restrictive,
 that it not cause this high load spikes.

Hello,

I've decreased the runs of the cron runs for the doxygen generation, the load 
should be much less now. I'll do a few more system maintenance tasks, sip-
router.org will be therefore not available for a few minutes. I'll announce 
when I've finished the maintenance.

Henning

___
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


Re: [SR-Users] [sr-dev] Short sip-router maintenance

2013-04-12 Thread Henning Westerholt
Am Freitag, 12. April 2013, 16:43:29 schrieb Henning Westerholt:
 I've decreased the runs of the cron runs for the doxygen generation, the
 load should be much less now. I'll do a few more system maintenance tasks,
 sip- router.org will be therefore not available for a few minutes. I'll
 announce when I've finished the maintenance.

Hello,

sip-router.org is up again, all services should be available.

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Henning Westerholt
Hello Amr,

somehow the datatype default value that is used in the msilo table is not 
understood by your mysql server. Can you specify the version of the mysql? 
Maybe they changed something which is not compatible with the old ones.

Best regards,

Henning

From: sr-users-boun...@lists.sip-router.org 
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Amr Elsharqawi
Sent: Tuesday, March 12, 2013 9:14 AM
To: mico...@gmail.com; 'Kamailio (SER) - Users Mailing List'
Subject: Re: [SR-Users] Kamailio MySQL DB Creation

Hello Daniel,

Thanks for your quick reply. You're right it's shell but got this

MySQL password for root:
INFO: test server charset
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
INFO: creating database kamailio ...
Warning: Using a password on the command line interface can be insecure.
INFO: granting privileges to database kamailio ...
Warning: Using a password on the command line interface can be insecure.
INFO: creating standard tables into kamailio ...
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
ERROR 1101 (42000) at line 2: BLOB/TEXT column 'body' can't have a default value
ERROR: Creating core tables failed at msilo!

I've followed wiki installation for Kamailio git 4.0

There is something I couldn't do you said in the wiki

If you changed the password for the 'kamailio' user of MySQL, you have to 
update the value for 'db_url' parameters.

In Fact I couldn't change it because I don't know what to put if I've change 
the db password @ kamdbctl

Thanks,
Amr


From: 
sr-users-boun...@lists.sip-router.orgmailto:sr-users-boun...@lists.sip-router.org
 [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin 
Mierla
Sent: Tuesday, March 12, 2013 10:53 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio MySQL DB Creation

Hello,

could be sh (shell) constrain issue. Can you execute the script with bash?

Cheers,
Daniel
On 3/12/13 7:53 AM, Amr Elsharqawi wrote:
Hello Kamailio Community!!

I am newbie to Kamailio  SIP. And I am interested in Kamailio. I've used 
asterisk for some time then I heard about FreeSWITCH unfortunately FreeSWITCH 
was not good enough for me like Asterisk. I've found NAT problem with Asterisk 
Finally I've decided to work with Kamailio as SIP server  Asterisk as PBX. to 
be fair I need to learn more about FreeSWICH to test it well.

 My Question is about Kamailio installation; I am using FreeBSD 9 attached my 
uname -a

FreeBSD PBX.X 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 
06:55:39 UTC 2012 
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERICmailto:r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
  i386

I've used gmake for building, compiling and installation. Everything goes 
smooth EXCEPT mysql db installation when I use sh /usr/local/sbin/kamdbctl 
create

I am getting the following error:

/usr/local/lib/kamailio//kamctl/kamdbctl.base: 36: Syntax error: Missing '}'

Thanks a lot for your valuable time and that amazing project (Kamailio).

Amr



___

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

sr-users@lists.sip-router.orgmailto:sr-users@lists.sip-router.org

http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--

Daniel-Constantin Mierla - http://www.asipto.com

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio World Conference, April 16-17, 2013, Berlin

 - http://conference.kamailio.com -
___
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


Re: [SR-Users] memcached module problems

2013-03-12 Thread Henning Westerholt
Hi Dragos,

(setting sr-users to CC)

Ok, If you’ve set this by other means you need to set the appropriate 
“Kamailio” type flag to the value as well, that Kamailio can parse it 
correctly. You can get the appropriate value if you grep for “VAR_VAL_STR” in 
the source code.

Your perl script function call should also export the appropriate flag setting 
from the memcache library function call, then just add it here.

Best regards,

Henning

From: Dragos Oancea [mailto:droan...@yahoo.com]
Sent: Monday, March 11, 2013 8:24 PM
To: Henning Westerholt
Subject: Re: memcached and other things

Hi Henning,

Other means. a perl script.


Dragos
 0(21130) DEBUG: memcached [mcd_var.c:87]: allocate new memcache request at
 0x7f747fb798f0
 0(21130) DEBUG: memcached [mcd_var.c:93]: allocate new
 memcache result at 0x7f747fb79a70 0(21130)
 DEBUG: memcached [mcd_var.c:103]: result: 'just_A_text' for key 888_HA1 with
 flag 0
 0(21130) ERROR: memcached [mcd_var.c:146]: could not convert string
 'just_A_text' to integer value
 0(21130) DEBUG: memcached [mcd_var.c:159]: free memcache request and result
 at 0x7f747fb798f0

The issue is that the module somehow does not evaluate the string variable
_from memcached_ as a string, it tries to evaluate it as integer. This
obviously fails.

Has this value set from kamailio or is this from some external application?
Then probably this application does not set the proper flags which kamailio
expects.

Regards,

Henning Westerholt


___
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


Re: [SR-Users] Kamailio MySQL DB Creation

2013-03-12 Thread Henning Westerholt
Am Dienstag, 12. März 2013, 09:33:54 schrieb Amr Elsharqawi:
 MySQL Version is 5.6.10
  
 Amr

Hello Amr,

i think is is not related to the MySQL version. This is what I've found with 
google:

This is a result of MySQL running in strict mode. See 
http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html for details. 
Basically, you need to remove STRICT_TRANS_TABLES from sql_mode variable. You 
can do that in your overall configuration file, when you start mysql, or per 
session by executing SET SQL_MODE = '' (you may add any attributes you 
actually need, see above link.)

Please try to set an appropriate mode for the server and try again. Maybe you 
need to delete the existing tables that were created up to the error, before 
trying again.

Best regards,

Henning

 From: Henning Westerholt [mailto:henning.westerh...@1und1.de]
 Sent: Tuesday, March 12, 2013 11:26 AM
 To: Kamailio (SER) - Users Mailing List
 Cc: aelsharq...@live.com
 Subject: RE: [SR-Users] Kamailio MySQL DB Creation
  
 Hello Amr,
  
 somehow the datatype default value that is used in the msilo table is not
 understood by your mysql server. Can you specify the version of the mysql?
 Maybe they changed something which is not compatible with the old ones. 
 Best regards,
  
 Henning
  
 From: sr-users-boun...@lists.sip-router.org
 [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Amr Elsharqawi
 Sent: Tuesday, March 12, 2013 9:14 AM
 To: mico...@gmail.com; 'Kamailio (SER) - Users Mailing List'
 Subject: Re: [SR-Users] Kamailio MySQL DB Creation
  
 Hello Daniel,
  
 Thanks for your quick reply. You’re right it’s shell but got this
  
 MySQL password for root:
 INFO: test server charset
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 INFO: creating database kamailio ...
 Warning: Using a password on the command line interface can be insecure.
 INFO: granting privileges to database kamailio ...
 Warning: Using a password on the command line interface can be insecure.
 INFO: creating standard tables into kamailio ...
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 Warning: Using a password on the command line interface can be insecure.
 ERROR 1101 (42000) at line 2: BLOB/TEXT column 'body' can't have a default
 value ERROR: Creating core tables failed at msilo!
  
 I’ve followed wiki installation for Kamailio git 4.0
  
 There is something I couldn’t do you said in the wiki
  
 If you changed the password for the 'kamailio' user of MySQL, you have to
 update the value for 'db_url' parameters. 
 In Fact I couldn’t change it because I don’t know what to put if I’ve change
 the db password @ kamdbctl 
 Thanks,
 Amr
  
  
 From: sr-users-boun...@lists.sip-router.org
 [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
 Daniel-Constantin Mierla Sent: Tuesday, March 12, 2013 10:53 AM
 To: Kamailio (SER) - Users Mailing List
 Subject: Re: [SR-Users] Kamailio MySQL DB Creation
  
 Hello,
 
 could be sh (shell) constrain issue. Can you execute the script with bash?
 
 Cheers,
 Daniel
 
 On 3/12/13 7:53 AM, Amr Elsharqawi wrote:
 Hello Kamailio Community!!
 
 I am newbie to Kamailio  SIP. And I am interested in Kamailio. I've used
 asterisk for some time then I heard about FreeSWITCH unfortunately
 FreeSWITCH was not good enough for me like Asterisk. I've found NAT problem
 with Asterisk Finally I've decided to work with Kamailio as SIP server 
 Asterisk as PBX. to be fair I need to learn more about FreeSWICH to test it
 well.
 
  My Question is about Kamailio installation; I am using FreeBSD 9 attached
 my uname -a
 
 FreeBSD PBX.X 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4
 06:55:39 UTC 2012
 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 I've used gmake for building, compiling and installation. Everything goes
 smooth EXCEPT mysql db installation when I use sh /usr/local/sbin/kamdbctl
 create
 
 I am getting the following error:
 
 /usr/local/lib/kamailio//kamctl/kamdbctl.base: 36: Syntax error: Missing '}'
 
 Thanks a lot for your valuable time and that amazing project (Kamailio).
 
 Amr
 
 
 
 ___
 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] Fwd: Re: memcached module problems

2013-03-12 Thread Henning Westerholt

--  Forwarded Message  --

Subject: Re: memcached module problems
Date: Dienstag, 12. März 2013, 14:50:41
From: Dragos Oancea droan...@yahoo.com
To: Bis: Henning Westerholt henning.westerh...@1und1.de

Thank you Henning, that was a good hint.
I've noticed that kamailio and my perl script (which is 
using Cache::Memcached) set the value in memcached somehow differently.

kamailio:
set 888_HA1 1 10800 32.
6fa22552ea04d443ab5864a7b3c2168c.
perl script:
set 888_HA1 0 0 32.
6fa22552ea04d443ab5864a7b3c2168c.

VAR_VAL_STR is 1.

I will investigate further.

Regards,
Dragos

ps: I will also subscribe to sr-users .

From: Henning Westerholt henning.westerh...@1und1.de
To: Dragos Oancea droan...@yahoo.com
Cc: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org
Sent: Tuesday, March 12, 2013 9:35 AM
Subject: RE: memcached module problems

Hi Dragos,
 
(setting sr-users to CC)
 
Ok, If you’ve set this by other means you need to set the appropriate 
“Kamailio” type flag to the value as well, that Kamailio can parse it 
correctly. You can get the appropriate value if you grep for “VAR_VAL_STR” in 
the source code.
 
Your perl script function call should also export the appropriate flag setting 
from the memcache library function call, then just add it here.
 
Best regards,
 
Henning
 
From: Dragos Oancea [mailto:droan...@yahoo.com]
Sent: Monday, March 11, 2013 8:24 PM
To: Henning Westerholt
Subject: Re: memcached and other things
 
Hi Henning,
 
Other means. a perl script. 
 
 
Dragos
 0(21130) DEBUG: memcached [mcd_var.c:87]: allocate new memcache request at
 0x7f747fb798f0
 0(21130) DEBUG: memcached [mcd_var.c:93]: allocate new
 memcache result at 0x7f747fb79a70 0(21130)
 DEBUG: memcached [mcd_var.c:103]: result: 'just_A_text' for key 888_HA1 with
 flag 0
 0(21130) ERROR: memcached [mcd_var.c:146]: could not convert string
 'just_A_text' to integer value
 0(21130) DEBUG: memcached [mcd_var.c:159]: free memcache request and result
 at 0x7f747fb798f0

The issue is that the module somehow does not evaluate the string variable
_from memcached_ as a string, it tries to evaluate it as integer. This
obviously fails.

Has this value set from kamailio or is this from some external application?
Then probably this application does not set the proper flags which kamailio
expects.

Regards,

Henning Westerholt

 




-

___
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


Re: [SR-Users] Update existing module or create new?

2013-03-07 Thread Henning Westerholt
Hello Charles,

sorry for the late reply. Your ideas sounds interesting, multi-server support 
would be indeed useful. You can send me the patch directly then I can review 
it, give you feedback and integrate it then to the master branch.

Thanks and regards,

Henning

The structure is very much the same as before, but I think it is more than a 
small patch. There is certainly potential for new bugs! I do plan to add 
multi-server support at some point and I am happy to maintain/bug fix where 
necessary. Also happy to update the documentation. Other than that, there's not 
much more to add at this time.

Regards,

Charles


www.sipcentric.comhttp://www.sipcentric.com/

Follow us on twitter @sipcentrichttp://twitter.com/sipcentric

Sipcentric Ltd. Company registered in England  Wales no. 7365592. Registered 
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham B7 
4EJ.
___
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


Re: [SR-Users] Update existing module or create new?

2013-02-22 Thread Henning Westerholt
Am Donnerstag, 21. Februar 2013, 23:37:07 schrieb Charles Chance:
 [..]
 We now have an updated memcached module, working with libmemcached and also
 with the added ability to (optionally) specify expiry in the format
 $mct(key=expiry).
 
 How do we get these changes pushed back into the master?

Hello Charles,

sounds great! If this is a smaller patch, it could be simply applied to the 
git master branch from a developer, after the branching of the 4.0 version 
next week. Ovidiu sended you some informations about that already. 

But I assume its a more intrusive change which maybe also bring some new bugs 
etc...? Do you plan to do more work on this module?

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Update existing module or create new?

2013-02-06 Thread Henning Westerholt
Am Dienstag, 5. Februar 2013, 13:55:41 schrieb Charles Chance:
 as the original author of the module I'd think that changing or replacing
 the existing module would be the way to go. So far I'd not recieved that
 much of bug reports against the existing module. And as Alex Balashov also
 mentioned recently, there are some other issues with the current library.
 
 If existing users need to stay with the old module, its available in the 
 git and the existing releases, for the new release we should go with a 
 module which supports the newer library.
 
 It would be nice if you could stay with the existing PV API, which I
 modelled somehow after the htable module. If you need to change something,
 just announce it on the devel list and ask for feedback.

 We have indeed used the module in the past with no issues - so thank you for
 writing and sharing :)
 
 Very happy to stay with existing PVs if possible. The only thing I'd like to
 see different is to set value and expiry at the same time, instead of
 having to set value, then alter expiration. This has to be better than
 setting a value with some default expiry, getting that same value back
 again, then re-setting the value once more with a different expiry?
 
 Could this be implemented at PV level? Something like $mct(key:expiry) =
 value? And if expiry is omitted, we use default set in params.

Hi Charles,

thanks, good to know that you use it. :-) With regards to the expiry value, 
yes I think this could be implemented like this. Just one remark, the syntax 
that other PVs uses is =, like in 
http://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables#sht_htable_key

Then it would be $mct(key=expiry) = value

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] Update existing module or create new?

2013-02-05 Thread Henning Westerholt
Am Dienstag, 5. Februar 2013, 12:52:19 schrieb Charles Chance:
 We are working on a memcached module which uses the libmemcached library, as
 opposed to the (no longer under active development) libmemcache that the
 existing module depends on.
 
 Am I correct in thinking that in this instance, it would be better to create
 a brand new module (with a different name) rather than modify the existing
 one? In addition to changing the dependency, we will also be exporting new
 commands and potentially changing the format of the exported PVs.

Hello Charles,

as the original author of the module I'd think that changing or replacing the 
existing module would be the way to go. So far I'd not recieved that much of 
bug reports against the existing module. And as Alex Balashov also mentioned 
recently, there are some other issues with the current library.

If existing users need to stay with the old module, its available in the git 
and the existing releases, for the new release we should go with a module 
which supports the newer library.

It would be nice if you could stay with the existing PV API, which I modelled 
somehow after the htable module. If you need to change something, just 
announce it on the devel list and ask for feedback.

Thanks and regards,

Henning Westerholt

___
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


Re: [SR-Users] Having modparam options in the database

2013-01-04 Thread Henning Westerholt
Am Donnerstag, 3. Januar 2013, 16:14:59 schrieb Glenn O Larsen:
 Hi guys,
 
 I have tried to Google this for some time now, but can't seem to find an
 answer.
 
 Is there a way to read modparam config from a database?

Hello,

probably the configuration database module - cfg_db is implementing what you're 
searching for. But I personally did not used it so far, so I can't share any 
more details.

Best regards,

Henning Westerholt

___
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


Re: [SR-Users] [sr-dev] kamctlrc SQL definitions and db/schema/entities.xml

2012-09-07 Thread Henning Westerholt
Am Mittwoch, 5. September 2012, 14:11:34 schrieb Henning Westerholt:
# FOREVER=2020-05-28 21:32:15
[..]
   
   this definitions just needs to be the same as in the
   database scheme, as they
   are used in the script. The path was indeed outdated, I've
   just fixed it in git
   master.
  
  Why is the default FOREVER=2020-05-28 21:32:15?
  I suppose it's just the way the original dev set it up.
  Could the package default be something more like the following?
  FOREVER=-01-01 00:00:00
 
 well, there is the issue that this is then wrongly parsed from some
 databases, also depending on the exact type which is used. In mysql it
 supports in some types a date like this, in some types only to the year
 2038.
 
 But you're right in bringing this issue up. I'd suggest to update it to
 2030-05-28 21:32:15 or something like this.

Hello Vieri,

I've commited a change to git repository to move the expire time 10 years to 
the future - to have a bit more time here.

Cheers,

Henning


___
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


Re: [SR-Users] kamctlrc SQL definitions and db/schema/entities.xml

2012-09-05 Thread Henning Westerholt
Am Mittwoch, 5. September 2012, 14:06:14 schrieb Vieri:
   # FOREVER=2020-05-28 21:32:15
   [..]
  
  this definitions just needs to be the same as in the
  database scheme, as they
  are used in the script. The path was indeed outdated, I've
  just fixed it in git
  master.
 
 Why is the default FOREVER=2020-05-28 21:32:15?
 I suppose it's just the way the original dev set it up.
 Could the package default be something more like the following?
 FOREVER=-01-01 00:00:00

Hello Vieri,

well, there is the issue that this is then wrongly parsed from some databases, 
also depending on the exact type which is used. In mysql it supports in some 
types a date like this, in some types only to the year 2038.

But you're right in bringing this issue up. I'd suggest to update it to 
2030-05-28 21:32:15 or something like this.

Cheers,

Henning Westerholt

___
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


Re: [SR-Users] kamctlrc SQL definitions and db/schema/entities.xml

2012-09-03 Thread Henning Westerholt
Am Sonntag, 2. September 2012, 12:41:43 schrieb Vieri:
 What is the purpose of the SQL definitions settings found in kamctlrc?
 It is also stated that one should edit db/schema/entities.xml but I can't
 seem to find this file.
 
 kamctlrc contains:
 
 # SQL definitions
 # If you change this definitions here, then you must change them
 # in db/schema/entities.xml too.
 # FIXME
 
 # FOREVER=2020-05-28 21:32:15
 [..]

Hello Vieri,

this definitions just needs to be the same as in the database scheme, as they 
are used in the script. The path was indeed outdated, I've just fixed it in git 
master.

Cheers,

Henning

___
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


Re: [SR-Users] Cassandra module - query question

2012-09-03 Thread Henning Westerholt
Am Montag, 3. September 2012, 11:36:11 schrieb Boudewyn Ligthart:
 The cassandra module does indeed  not implement the raw_queries entry point.
 However I have added this and the handling /parsing to allow CQL queries to
 be passed by the script. I have tested this through means of AVPOPS module
 and this is working. 
 What is the best way to feed this back to the Kamailio project?

Hello Boudewyn,

sounds good, thank you. Just send your patch to our developer list, Anca will 
probably then comment to it. You can also add it to our tracker, at:
http://sip-router.org/tracker/index.php

Best regards,

Henning

___
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


Re: [SR-Users] xhttp README

2012-05-29 Thread Henning Westerholt
Am Dienstag, 29. Mai 2012, 17:47:22 schrieb Klaus Darilion:
 I added it to git master, but I did not regenerated the READMEs as
 something seems to be broken with the docbook installation my server
 causing the ToC to be present two times.

Hi Klaus,

I've just regenerated the readme, just let me know if you need some 
informations about my docbook configuration etc..

Regards,

Henning

___
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


Re: [SR-Users] server overload mitigation

2012-03-20 Thread Henning Westerholt
On Tuesday 20 March 2012, Vineet Menon wrote:
 Hi, 
 
 does kamailio mitigate server overload???If yes how is that??
 Is there a setting for high water mark or something??
 
 
 Regards,
 
 Vineet Menon

Hi Vineet,

you can use the pike and ratelimit on e.g. a balancer server to limit the rate 
of SIP messages totally or per IP address. On a proxy server you can use 
additionally the dialog module to e.g. limit the rate of parallel calls 
(dialogs) per user or IP.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Henning Westerholt
On Tuesday 06 March 2012, Krishna Kurapati wrote:
 It finally worked. I reconstructed the config file step by step with the
 same modparam() and it worked. Still not sure what really was wrong
 before.
 
 The other day, I tried to create routes for sending asynchronous messages
 to web service and the entire system  stopped working. The routes became
  empty. The config parser never complained. I rebuilt the config file and
 checked to see if the file is ok by running Kamailio step by step. I could
 not trust kamailio config check since it is the one that threw me off
 track.
 
 Are there any best practices out there in constructing long config file? 
 Is it possible to create smaller modular config files and link them to
 create the system? Or a better tool to identify errors in the config file?

Hi Krishna,

just some small suggestions, I'd suggest that you modularize your cfg in 
smaller parts by using sub-routes which you call then from the main routing 
logic. You can also use the include directive to move certain parts of the 
configuration to separate files.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] kamctl cr show when carrierroute table has another name

2012-02-08 Thread Henning Westerholt
On Wednesday 08 February 2012, Uri Shacked wrote:
 after resolving the field type issue :-), i changed the params in kamctlrc
 to point to the right DB.
 now, i notice that when i use the command kamctl cr show iget an error
 that it does not find the table carrierroute.
  in the cfg file it is all set and works fine, cr dump is working as
 expected as well.
 
 in the kamctl file i can find the param - CARRIERROUTE_TABLE. but where is
 it set from?
 anyone knows where do i make tha change in order for the kamctl to know
  the names of the tables i use?

Hi Uri,

have you tried to set CARRIERROUTE_TABLE in the /etc/kamailio/kamctlrc file?

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] kamctl cr show when carrierroute table has another name

2012-02-08 Thread Henning Westerholt
On Wednesday 08 February 2012, Uri Shacked wrote:
 how exactly do i set it?
 and what is the difference between reload and show?
 the reload is fine, it takes the data from the table i set on the
 modeparam... 

Hi Uri,

just try to add a

CARRIERROUTE_TABLE=your-table-name

to the /etc/kamailio/kamctlrc file.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] loading carrierroute failes using another DB

2012-02-06 Thread Henning Westerholt
On Monday 06 February 2012, Uri Shacked wrote:
 OK, the view i used for the carrierroute table had some wrong field
 types... but still, can someone explain down to details the version
 table..? 

Hi Uri,

the version table enables the server to detect wrong table versions for other 
modules like lcr, carrierroute etc.. So if you upgrade the server but not 
adapt the tables and versions it will not start. So its just a mean to track 
the table versions.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] Memory usage problem in xmpp modules

2012-01-25 Thread Henning Westerholt
 of these modules?

Peter found recently a lot of leaks in other presence modules (take a look to 
the sr-dev list), so possible that they are more in this module.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] sip-router and related projects at FOSDEM 2012 - social event

2012-01-17 Thread Henning Westerholt
On Monday 16 January 2012, Stefan Sayer wrote:
 as has become already a tradition, we would like to invite all VoIP
 people and everyone interested in sip-router and related projects
 [...]
 to a dinner on the evening of Saturday February 4th. 

Hi Stefan,

thank you for the invitation. Please count me in for the event.

Viele Grüße/ best regards,

Henning

___
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


Re: [SR-Users] out of memory in Kamailio 3.2

2012-01-11 Thread Henning Westerholt
On Tuesday 10 January 2012, Henry Fernandes wrote:
 I upgraded from Kamailio 3.1 to Kamailio 3.2 (x86_64/linux)
 31c991 recently.  Since upgrading, my LCR does not work.  The load_gws
 command always returns a 2 (meaning no routes found).
 
 When I do a sercmd lcr.dump_rules, I get the following error:
 
 # sercmd lcr.dump_rules
 error: 500 - Internal server error: out of memory
 
 I've tried increasing binrpc_max_body_size and
 binrpc_struct_max_body_size, but this doesn't help.

Hi Henry,

can you please take a look to the server log files, this should provide more 
informations what exactly the error is, which kind of memory is lacking.

Viele Grüße/ best regards,

Henning Westerholt

___
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


Re: [SR-Users] Download Kamailio Debian package problem.

2011-12-09 Thread Henning Westerholt
On Friday 09 December 2011, Gary Chen wrote:
 I am trying to download  GPG key as following and got connection timeout:
 wget http://deb.kamailio.org/kamailiodebkey.gpg
 
 It seems that the server is down.
 
 Where else can I download this same Debian package?

Hi Gary,

i just tried, for the the server is up. Its up since some time, there was no 
crash or something recently. Maybe you can try again?

Best regards,

Henning

___
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] [OT] job offer - System administrator middleware acs

2011-12-07 Thread Henning Westerholt
[OT] Job offer:

Interested in working with one of the biggest Voice over IP networks in
europe? We're hiring and have one additional IT operation position open in
our team in Karlsruhe, Germany. You would be responsible in a team of 
motivated system administrators for the operation and maintenance of the high-
available middleware cluster and CPE auto-configuration services for the DSL 
and mobile products at 11. Furthermore you would be support the on-call duty 
for this services in the team.

A solid understanding of german is necessary for the job, for more 
informations (additional requirements, how to apply..) please refer to the 
opening on the job web page. Of course please feel free to contact me per mail 
as well.

http://jobs.1und1.de/xml/JobsDetail?job_id=3777

Best regards,

Henning


-- 
Henning Westerholt - Head of IT Operations Internet Access  Communications
11 Internet AG, Brauerstraße 48, 76135 Karlsruhe, Germany

___
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


Re: [SR-Users] Monitoring inquiry

2011-12-01 Thread Henning Westerholt
On Thursday 01 December 2011, Olle E. Johansson wrote:
 1 dec 2011 kl. 13:07 skrev Daniel-Constantin Mierla:
  3.   Can you recommend a way to view the MOS score – possible
  hardware tap on network to get MOS?
  
  Never worked with such thing, maybe someone else can help.
 
 As Kamailio doesn't handle media by default, we can not get a MOS.
 
 There are multiple ways, most commercial software duplicate a port in a
 switch and process a copy of all the RTP data (provided there's a central
 point where you can get this).

Hi,

there is also probing hardware from e.g. tektronix communications - it 
generates dedicated test calls with defined media streams and then measure the 
distortion and report MOS values and others.

Best regards,

Henning

___
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


Re: [SR-Users] Kamailio v3.2.0 Development Guide published

2011-11-29 Thread Henning Westerholt
On Tuesday 29 November 2011, Daniel-Constantin Mierla wrote:
 development guide for Kamailio has been updated for v3.2.0 - it goes
 through internal components, presenting the APIs for pkg/shm memory,
 locking/synchronization, config file interpreter, database connectors,
 a.s.o., as well as guiding how to write a new module. There is a section
 trying to collect hints about upgrading a module developed for old
 versions 1.x to newer architecture and APIs in versions 3.x.

Hi Daniel,

great work, thanks a lot for this.

Henning

___
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


Re: [SR-Users] How to limit number of calls in Kamailio proxy

2011-10-31 Thread Henning Westerholt
On Sunday 30 October 2011, Austin Einter wrote:
 [...]
 To get $var(SIZE) working properly, do I need to enable MySql, please
 advice. 

Hi Austin,

its not necessary to enable mySQL database support in the dialog module to use 
the dialog profile support to e.g. get the number of concurrent calls.

Best regards,

Henning

___
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


Re: [SR-Users] module version mismatch for carrierroute

2011-10-24 Thread Henning Westerholt
On Monday 24 October 2011, Uri Shacked wrote:
 i installed 3.2 from git.
 when starting kamailio i get the following:
 ERROR: module version mismatch for
 /usr/local/lib/kamailio/modules/carrierroute.so; core: kamailio 3.2.0
 (i386/linux); module: kamailio 3.1.4 (i386/linux) any ideas what to do?

Hi Uri,

this error msg means that the installed kamailio core is more recent then the 
cr module binary. You probably missed to compile and install the cr module as 
well for the 3.2 installation.

Best regards,

Henning

___
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


Re: [SR-Users] Daily tarballs not being created anymore?

2011-10-24 Thread Henning Westerholt
On Saturday 22 October 2011, Daniel-Constantin Mierla wrote:
 [..]
  Is there a reason why tarball creation has ceased?
 
 none that I am aware, perhaps when there was some distro upgrade or so.
 I can look into it if nobody else does it, but probably not that very soon.

Hey,

i'll take a look, looks like an issue with the script.

Best regards,

Henning

___
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


Re: [SR-Users] Carrierroute: Could not allocate shared memory

2011-10-10 Thread Henning Westerholt
On Monday 10 October 2011, Mino Haluz wrote:
 I increased the shared memory size to 1GB with
 
 sysctl -w kernel.shmmax=10
 
 The problem still persists. The error happens when /etc/init.d/kamailio
 restart is executed. Is there any other way how to increase it ?

Hi Mino,

you need to increase the kamailio shared memory. This can be done with a cmd 
line parameter (kamailio -m 1024MB) or in the configuration file.

Best regards,

Henning

___
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


Re: [SR-Users] Carrierroute: Could not allocate shared memory

2011-10-10 Thread Henning Westerholt
On Monday 10 October 2011, Henning Westerholt wrote:
 you need to increase the kamailio shared memory. This can be done with a
 cmd line parameter (kamailio -m 1024MB) or in the configuration file.

kamailio -m 1024 is correct, its specified in MB.

Best regards,

Henning

___
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


Re: [SR-Users] Audio quality issue

2011-10-10 Thread Henning Westerholt
On Sunday 09 October 2011, Austin Einter wrote:
 Thanks for your kind answer.
  
 The call flow looks as below
 I have two doubts here
  
 1. My UA is just behind the Modem
 [..]

Hi Austin,

maybe the upstream or downstream bandwith of the modem is not sufficient, so 
that packets get dropped. As already mentioned, try to analyse a packet dump 
with wireshark or other tools, to see if the RTP is delivered ok.

Best regards,

Henning

___
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


Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Henning Westerholt
On Monday 10 October 2011, Jim Lucas wrote:
  As explained by myself in Flyspray issue #146[1], a fix to this problem
  is quite feasible. Overall, I believe that dialog module usage should be
  more robust and work out of the box; that is, it shouldn't matter where
  you place dlg_manage(), things should just work and handle the tricky
  cases intelligently.
 
 I'm sure the developers would welcome you to submit a patch.

Hi Jim,

Timo is the one developer which has spend the most time with the dialog module 
in the last months, IMHO. ;-)

Best regards,

Henning

___
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


Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-05 Thread Henning Westerholt
On Monday 03 October 2011, Uri Shacked wrote:
 Thanks for the help.
  
 The idea of using SQLOPS for many things crossed my mind ButI am
 using ACC with DB, Dialog with DB and so... isnt it too much? i mean for
 load and capacity reasons? 

Hi Uri,

this depends on your exact load situation and machine configuration. If you've 
doubts about the load on the database, using a local read-only (mysql) 
replication is one possible solution to help scaling at least the reads. The 
dialog module can be run also with a cache, you can also add some RAM to help 
the DB to properly cache etc..

Best regards,

Henning

___
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


Re: [SR-Users] dispatcher, LCR, carrierroute or mtree?

2011-10-04 Thread Henning Westerholt
On Monday 03 October 2011, Skyler wrote:
 [..]
  From what I've read on each of the 4 modules, any could do what I need
 though each have their own complexities. I'm still new to kamailio and
 hoping to utilize the group here for some advice. I'd like to keep this
 as simple as possible then adding/deleting DID's from the db as needed
 for routing.

Hi Skyler,

maybe this information (from some previous mails) is helpful for you to get an 
general understanding:

 The modules differ mostly in their provided configuration interface, their 
 capabilities and the internal used datastructures IMHO.
 
 lcr
 * introduced in 0.9.x times, reworked several times
 * provided initially support for a limited number of routes, today it 
 supports large route sets as well
 * provides easy failover functionaly to try sequentially several gateways
 * uses internally a hash table
 
 cr
 * introduced in 1.3, reworked for 1.5
 * support larger route sets
 * provides flexible failure routing capabilities with a dedicated table, but 
 is more complicated to setup and use
 * uses a trie (tree) internally 
 
 mtree
 * introduced in 3.1
 * support larger route sets
 * provides generic tree matching functionality, but without that much 
 additional functionality
 * uses a tree internally
 
 drouting
 * ported from opensips for 3.0
 * support larger route sets
 * provides failover capabilities and some special matching as time or date
 * uses a trie (tree) internally

Best regards,

Henning

___
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


Re: [SR-Users] [sr-dev] new wiki system

2011-10-04 Thread Henning Westerholt
On Monday 03 October 2011, Daniel-Constantin Mierla wrote:
  As suggestion, not related to the content, I'd change the theme. That red
  looks very agressive to me.
 
 I chose it for the fonts which are easier (imo) to read comparing with
 other themes. It is on to-do to make it greenish - replace red borders
 with some nuance of green), to match better the style of kamailio color
 scheme, but not that much high in top of current priorities. Suggestions
 and contributions in this regards as also welcome, of course.

Hi Daniel,

first of all, thank you for working on it. Its indeed looks really red right 
now, not really pleasing to the eyes. ;-) . So you mentioned  that its not 
planned to switch off the old wiki system, so in the future user needs look 
in two locations for documentation?

Just an idea, have you thought about just moving the current content aside, 
maybe to some obselete, needs to be updated section in the current wiki 
overview, but keep the existing content for our older releases? Then we also 
save the effort to manually migrate the stuff for the older releases.

Best regards,

Henning

___
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


Re: [SR-Users] SNMPStats and multiple proxies

2011-09-30 Thread Henning Westerholt
On Friday 30 September 2011, Antanas Masevicius wrote:
 it looks like this functionality can be implemented using SNMPv3
 contexts. This way snmp agentx subagents would be able to register the
 same OID tree with different from default context. The only change we
 need is to patch snmpstats module with register context call as
 described here:
 
 http://www.net-snmp.org/wiki/index.php/FAQ:Coding_21
 
 We would probably also need some kamailio exported parameter to specify
 subagent context. This parameter would only be needed to set if SNMPv3
 is about to be used, otherwise default context would be set.
 
 If someone is willing to do it, drop me a note. If not, i would try to
 implement this change myself a bit later.
 Is there a chance that such change would be accepted into main tree?

Hi Antanas,

if you don't break existing functionality and add the necessary module 
documentation then it should be no problem to accept in the master tree. Just 
add the patch for the module if you're ready to our tracker.

Best regards,

Henning

___
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


Re: [SR-Users] releasing v3.2.0

2011-09-28 Thread Henning Westerholt
On Wednesday 28 September 2011, Daniel-Constantin Mierla wrote:
 [default binding for IPv6]
  Do you think this patch is of interest for 3.2 release?
 
 can you push it in a personal branch to review the impact on the
 existing code. It is of interest, of course, ultimately there can be a
 parameter (cfg or command line) to control it.

Hi Daniel,

in my opinion the IPv6 behaviour should be consistent to the one in IPv4 - 
this is probably what out users expect anyway. So if we really need another 
cfg parameter for this, the default should be like in IPv4.

Best regards,

Henning

___
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


Re: [SR-Users] releasing v3.2.0

2011-09-28 Thread Henning Westerholt
On Wednesday 28 September 2011, Daniel-Constantin Mierla wrote:
 I agree, I expressed my opinion for the case someone looks for backward
 compatibility, so there can be added a parameter that will allow that.

Hi Daniel,

understand.

 At some point in the (near :-) ) future, we may want auto-discover for
 IPv6 only, not for IPv4, because IPv4 will be sporadically used, just
 for some very old and crappy SIP phones (we have today).

I'm looking forward to this time.. ;-)


Best regards,

Henning

___
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


Re: [SR-Users] OpenIMS

2011-09-28 Thread Henning Westerholt
On Wednesday 28 September 2011, Carlos Ruiz Diaz wrote:
 I'm trying to test/implement http://www.openimscore.org/ to setup an IMS
 scenario for development purposes. The project seems quite inactive to me
 and I wonder if there is any other similar project or this one just died
 and is no longer maintained. 
 
 The documentation didn't specify if there is any kind of compatibility with
 Kamailio and based on what was written, only SER core architecture is
 supported.
 
 Any help will be appreciated.

Hi Carlos,

have you already looked into this project:

http://www.ng-voice.com/our-vision/

You find their code in the carstenbock/ims branch in our repository. Please 
direct any question to this code to our developer list.

Best regards,

Henning

___
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


Re: [SR-Users] need little help to setting up pike module

2011-09-27 Thread Henning Westerholt
On Monday 26 September 2011, dirtyt...@gmx.de wrote:
 jUSt a tiny user question aboUt pike module(at least kamailio doc). are
 these values for sampling_time_unit seconds or minutes ? it's not in the
 doc. same 4 remove_latency.

Hi dirtytoni,

these values are in seconds. I'll add this to the module documentation, its 
indeed missing there.

Best regards,

Henning

___
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


Re: [SR-Users] Kamailio terminating after upgrading from 3.1.2 to 3.1.4

2011-09-14 Thread Henning Westerholt
On Wednesday 14 September 2011, Daniel-Constantin Mierla wrote:
 some extra notes about the location of the core files. Kamailio changes
 the working directory to / (the root of file system) if no -w parameter
 is given. So it is very likely the core is in /. Also, on some operating
 system, the core files are written in a special directory, which is a
 kernel option.
 
 The syslog messages showed that core file was generated, so you can just
 look for it in / or the working directory for kamailio or the special
 path of the OS for corefiles.

There is also some documentation about this in the kamailio wiki at:
http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:corefiles

Best regards,

Henning

___
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] new developer: Sven Knoblich

2011-09-01 Thread Henning Westerholt
Hi all,

I'm happy to announce a new developer for the sip-router project: 
Sven Knoblich.

Sven is an experienced C/C++ developer in our offices in Karlsruhe and since
about a year part of the team that develops our VoIP backend services.

Past contributions of him were the CDR based accounting extensions in the acc 
module and several other bugfixes and extensions for the dialog module. He'll 
maintain in the future this new acc and dialog functionality and also other 
code contributed from us.

Best regards,

Henning


-- 
Henning Westerholt - Head of IT Operations Internet Access  Communications
11 Internet AG, Brauerstraße 48, 76135 Karlsruhe, Germany

___
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


Re: [SR-Users] Kamailio setup help - needed in Hamburg / Germany

2011-08-30 Thread Henning Westerholt
On Tuesday 30 August 2011, Rene Bormann wrote:
 [..]
 Is on this list anyboy - who can help us, maybe from around Hamburg?
 Get us on the kamailio train or maybe help us on a continous bases?

Hi Rene,

this list is about non-commercial support. Please have a look to our business 
directory for informations about commercial support options: 
http://www.kamailio.org/w/business-directory/

There is also a dedicated list for queries related to this, that page 
additionally contains two more consultant directories: 
http://www.kamailio.org/w/business/

Best regards,

Henning

___
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


Re: [SR-Users] LCR Modules Comparison

2011-08-18 Thread Henning Westerholt
On Wednesday 17 August 2011, Spencer Thomason wrote:
 Can anyone shed some light into the differences between the available LCR
 modules?  We have migrated our config from OpenSIPS where we used the
 drouting module to Kamailio where we are using the lcr module.  Our
 ruleset is not crazy huge, about 100k entries.  Are there compelling
 reasons to choose one module over the other?  Is there one that has the
 most active development behind it and is a standard for the platform or
 is there one that will be deprecated in the foreseeable future?

Hi Spencer,

the carrierroute module is also actively maintained, mtree as well. The 
drouting is available but probably the one with the least usage here. Its 
initial import has been done from Raul Alexis and I guess they use it in 
production, but don't know details. There were also some patches from other 
people in the last year, but recently it has seen not that much activity.

The modules differ mostly in their provided configuration interface, their 
capabilities and the internal used datastructures IMHO.

lcr
* introduced in 0.9.x times, reworked several times
* provided initially support for a limited number of routes, today it supports 
large route sets as well
* provides easy failover functionaly to try sequentially several gateways
* uses internally a hash table

cr
* introduced in 1.3, reworked for 1.5
* support larger route sets
* provides flexible failure routing capabilities with a dedicated table, but 
is more complicated to setup and use
* uses a trie (tree) internally 

mtree
* introduced in 3.1
* support larger route sets
* provides generic tree matching functionality, but without that much 
additional functionality
* uses a tree internally

drouting
* ported from opensips for 3.0
* support larger route sets
* provides failover capabilities and some special matching as time or date
* uses a trie (tree) internally

Best regards,

Henning

___
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


Re: [SR-Users] Dumping Online Users stops at 2000 records

2011-08-17 Thread Henning Westerholt
On Wednesday 17 August 2011, Sebastian Damm wrote:
 we have a script running on our Kamailio servers which dumps all online
 users with kamctl ul show, parses it and then sends it to database. (For
 explanation, we started doing it this way because we noticed at least with
 an older (open)ser release that SER would completely stop working for a
 couple of seconds while writing registered users to database every 5
 minutes. When dumping it, we don't see any disruption.)

Hi Sebastian,

what about fixing this bug instead of using this workaround? This sounds 
really inefficient.

 With Kamailio 1.5 this works, with Kamailio 3.1 it works in the beginning,
 but when you pass the 2000 online user mark, it just stops working.
 
 I've started the Kamailio completely empty, then let users register against
 it. I did a kamctl ul show every 5 seconds, this is what the results
 were:
 
 Domain:: location table=512 records=82 max_slot=2
 [..]
  500 command 'ul_dump' failed
 
 Is there a hard limit for dumping users through the fifo? Why? Or should we
 do it differently?

I don't think there is a hard limit. Do you see any errors (e.g. memory 
allocation issues) in the server logs? Another idea, if you're somehow stuck 
to the old/ buggy version of the server, what about using DB_ONLY mode? 

Best regards,

Henning

___
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


Re: [SR-Users] new functionality: CDR-based accounting

2011-08-17 Thread Henning Westerholt
On Wednesday 17 August 2011, Daniel-Constantin Mierla wrote:
 [..]
 I would prefer no commit on the mainstream SVN branches, so we do not
 open past releases, that will create lot of confusion.

Hello,

I'd like to second this, especially as we're not planning to maintain this 
special backport, as Timo already pointed out.

Best regards,

Henning

___
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


Re: [SR-Users] openSIPS vs Kamailio vs SIP-Router

2011-08-15 Thread Henning Westerholt
On Monday 15 August 2011, Nick Khamis wrote:
 I can only imagine how many times this question has come up since post
 2008. Please forgive my reoccurring of  the issue.

Hi Nick,

actually there has been not that much discussion about it recently.

 We are looking to provide carrier grade sip services to our clients
 world wide. 
 [..]
 With this in mind, we will have to fall back to other factors such as
 the most reliable, proven and active projects. As mentioned, we would choose 
 functional stability over endless features that we will never use
 and that add to the projects fingerprint...

In my experience ohloh is really helpful in getting an broad overview about a 
project, if its healthy or not. E.g.: http://www.ohloh.net/p/sip-router

You can see statistics about the developer community, repository activity. 
Then have a look to the developer list of the projects, is most of the work 
done from employees of one company or is this a more distributed effort, and 
things like this. Have a look to upcoming releases also gives you informations 
about the development, e.g.: http://sip-router.org/wiki/features/new-in-devel

With regards to the stability the project management is one important aspect, 
how many and what kind of companies are present there, how big are the 
deployements etc..: http://www.kamailio.org/w/management/

Maybe have a look to past presentations of the projects as well:
http://www.kamailio.org/events/

 I understand that all three projects are forks from OpenSER, people
 would naturally like to know what differentiates one from the other.

Maybe there is a small misunderstanding, they are more or less only two 
projects in this regards now. The sip-router provides a common repository from 
that the kamailio (and also ser) can be build. IMHO most people use the 
kamailio flavour, though. If you're interested in the details, here are some 
history informations: http://sip-router.org/history/

Best regards,

Henning

___
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


Re: [SR-Users] openSIPS vs Kamailio vs SIP-Router

2011-08-15 Thread Henning Westerholt
On Monday 15 August 2011, Nick Khamis wrote:
 [..]
 Alex: Nice documentation based on Kamailio! If we choose this product
 it will be a perfect reference point.

Hi Nick,

was the response from Alex also on the list? I somehow missed it.

 [..]
 In terms of Sip Router vs. Kamailio, is it safe to say the former is a 
 subset of the other? I.e., both function on the same core that provide SIP 
 trunking, proxy and termination services, and Kamailio contains additional 
 features such as B2B etc...?

Both are actually the same codebase, the only difference is in packaging, some
defines and daemon/script names etc.. http://sip-router.org/releases/
But its the other way round, kamailio is a subset of sip-router.
 
 In terms of clustering, high availability, and more importantly load
 balancing, what is offered across the board. In terms of made to
 scale this is extremely important to us.

Especially if you look to TCP and TLS there were extensive optimizations and
refactorings recently done, e.g. have a look to this benchmark:
http://www.kamailio.org/w/2011/05/green-voip-energy-efficiency-and-performaces-of-v3-0/

With regards to the build to scale, for example in our backend we use
Kamailio to operate services for more than 3 million customers and more than
1 billion minutes/month, so scaling and performance are of course really
important for us. Daniel will present in two weeks at the 10 year SER event in
Berlin some more interesting usage statistics, I think.

Best regards,

Henning

___
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


Re: [SR-Users] time for acc records

2011-08-11 Thread Henning Westerholt
On Thursday 11 August 2011, Alex Hermann wrote:
 On Wednesday 10 August 2011 14:21:10 Daniel-Constantin Mierla wrote:
  - a new column to store the seconds.milliseconds as double
 
 Please don't use double, use a fixed point format. Double's are for
 scientific use, this is accounting so exact numbers are required.
 
 In MySQL, one could use the DECIMAL type.

Hi Alex,

there is currently no write functionality in the DB API and also scheme 
generation XSL to support the DECIMAL type. If double is not correct for you, 
what about just storing the milliseconds as INT value e.g. 12,3s = 123 in the 
DB?

BTW, only db_mysql and db_unixodbc currently support DECIMAL value for read, 
db_mysql evaluates it to DB1_STRING, db_unixodbc to DB1_INT.

Best regards,

Henning

___
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


Re: [SR-Users] time for acc records

2011-08-11 Thread Henning Westerholt
On Thursday 11 August 2011, Alex Hermann wrote:
   In MySQL, one could use the DECIMAL type.
  
  there is currently no write functionality in the DB API and also scheme
  generation XSL to support the DECIMAL type.
 
 IMHO support should be added then. Floating point (on digitial equipment)
 is not suitable nor acceptable (it might even be illegal in some
 jurisdictions) for accounting.
 
 I really wonder why DOUBLE support is(/would be) present in a SIP proxy.

Hi Alex,

good question - I guess as workaround for a lack of DECIMAL in old open source 
database versions.
 
  If double is not correct for
  you, what about just storing the milliseconds as INT value e.g. 12,3s =
  123 in the DB?
 
 Why try to invent a workaround? Fixed point number types are part of SQL92:
 NUMERIC(precision, scale).

I think something similar is used related to the 'q' value for contacts, the 
respective field in the location table is also floating point.

http://devel.kamailio.org/doxygen/QvalueHandling.html
 
  BTW, only db_mysql and db_unixodbc currently support DECIMAL value for
  read, db_mysql evaluates it to DB1_STRING, db_unixodbc to DB1_INT.
 
 I know. You committed the fix for MySQL yourself after my bugreport, see
 commit b74e6f6.

Yes, I also looked it up. :-) Just wanted to give some context about the 
current support in the DB API.

 Internal representation as string is ok as long as calculations are not
 necessary. Alternatively a scaled integer could be used internally.

Best regards,

Henning

___
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


Re: [SR-Users] Using SR for Number Translation Number Portabilty Applications

2011-08-09 Thread Henning Westerholt
On Monday 08 August 2011, Yaron Nachum wrote:
 I have seen the match_mode but I haven't seen how is it possible to set it
 up per domain.
 
 I would appreciate if you could explain how.

Hi Yaron,

please always CC to the mailling list.

Its not possible to set the match_mode per domain, its a global parameter. 
With regards to the domains, this was another option you could use, e.g. use 
domain 0 for calls without the 'D' prefix, and then domain D for calls with 
'D' prefix.

Best regards,

Henning

___
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


Re: [SR-Users] Using SR for Number Translation Number Portabilty Applications

2011-08-08 Thread Henning Westerholt
On Sunday 07 August 2011, Yaron Nachum wrote:
 I have downloaded SR r 3.1.4 and have been playing around with it. I am
 considering implementing Number Translation services (1800...) and Number
 Portability Services on it. We have around 20K entries on the Number
 Translation Service and around 3M entries on the Number portability
 Service. The volume is around 100 caps.

Hello Yaron,

 I have started working with the carrierroute module - it seems perfect for
 the Number translation Service, but I am not sure about the Number
 portability. I have several questions: 1. Is it possible to use this
 module with several millions of entries? 2. What is the impact of loading
 the table? Is it possible to do it during traffic hours?

It should be possible to use cr with several million of entries, just keep in 
mind to increase the shared memory settings somewhat, 1024MB should be 
probably a good start. I know from some reports that people use it 
successfully in a scenario with millions of entries as well.

Its of course possible to do the data reloading during traffic, you'll just 
need the double amount of RAM. ;-) The reason for this is that the module 
discard the old data only after the successful loading of the new data.
 
 I have read about PDB module, but I haven't understood how to setup the PDB
 server. I would appreciate for any guidance. Would you recommend using the
 PDB module for the Number Portability or the carrierroute?

The PDB module is from the setup a bit more complicated, but has lower 
performance requirements and can be placed on a dedicated server. It was 
written especially for number portability. Basically it works that you setup 
the server module (pdbd) on some machine and feed it with a precompiled data 
file. There is a small compiler (pdbt) to create this mapping file from text 
data. You then use the pdb module in your configuration to get the carrier ID 
for a number and do your routing accordingly in the script, e.g. with cr. You 
find the tool in the utils/pdbt dir in sr.

But for the performance requirements you quoted I'd look also into another 
scenario - what about just storing this data in a normal database and 
querying it with sqlops? If you give the DB enough RAM it should be also fast 
enough.

Best regards,

Henning

___
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


Re: [SR-Users] Using SR for Number Translation Number Portabilty Applications

2011-08-08 Thread Henning Westerholt
 Yaron wrote:
 Thanks for the quick response. I have already played with the sqlops -
 this is an obvious way to do it. I will further investigate cr and sqlops
 and decide which is best for my purposes.

Hello Yaron,

 I liked the idea of having several instances of SIP-ROUTERs which are
 independent of each other- I understand that cr answers it.

Indeed, this is one advantage of using an in-memory cache. But you probably
need some more DB access on the servers for things like authentication.

 I have another question - I was trying to add alpha-numeric character
 into the cr prefix and it seems it is not supported. We are using 'D' prefixes
 in our network in order to route between different elements in the network.
 Is there a way to support it? Maybe another routing module?

The cr module support also a extended matching mode, but it will be probably
not really feasible with millions of routes:
http://kamailio.org/docs/modules/stable/modules/carrierroute.html#id2651893

Another thing you could do is use another domain for the D prefix, e.g. one
for the default routing, and then another one for the D case. The module support
matching for the domain as well. You could maybe also use flags for matching.
Other possible modules for PSTN routing are lcr and mtree.

Regards,

Henning
___
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


Re: [SR-Users] udp vs. tcp receiver processes

2011-08-04 Thread Henning Westerholt
On Thursday 04 August 2011, Juha Heinanen wrote:
 i have 8 children specified in default file and in cfg file i have:
 
 listen=192.98.101.10:5060;
 listen=udp:127.0.0.1:5070;
 listen=udp:127.0.0.1:5070;
 listen=tcp:127.0.0.1:5070;
 listen=udp:127.0.0.1:5080;
 listen=tcp:127.0.0.1:5080;
 listen=tcp:127.0.0.1:6060;
 
 that results in 8 tcp receiver processes but 3 x 8 udp receiver
 processes:
 [..]
 why cannot one udp receiver process handle all listening addresses like
 tcp processes seem to be able to do?  the above seems like waste of
 resources.

Hi Juha,

this is the result of the different server design for UDP and TCP. For TCP 
AFAIK one main dispatcher accepts all the connections and then distribute them 
to the workers. For UDP the workers listen directly on the (one) network 
socket, so there is no dispatcher. It looks like a waste of resources, but its 
from a implementation POV much easier.

Best regards,

Henning

___
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


Re: [SR-Users] Carrierroute Compilation error Kamailio 3.1.4

2011-08-01 Thread Henning Westerholt
On Saturday 30 July 2011, Omar wrote:
 I did give up, after everything compiled i was trying to install i got an
 error kamailio.o unable to create kamailio.o.
 
 for the records this is trying to compile in a Sparc 64 bits, and i did
 actually force to use the 64 bit libraries.
 
 so far anything above the Kamailio 1.4.3 i was unable to compile for
 solaris Sparc64.

Hi Omar,

i see, bad that it not works for you. :-/ The issue is that I have no access 
to any solaris hardware at all to debug it. You also discussed some mysql 
compile issues with Jason Penton on sr-users (MYSQL Compilation Kamailio 
3.1.4) about two weeks ago, i think. He offered to help you on your machine, 
do you had some more luck here?

Best regards,

Henning

___
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


Re: [SR-Users] load_credentials into non-AVP PVs

2011-07-27 Thread Henning Westerholt
On Wednesday 27 July 2011, Alex Balashov wrote:
 When I try this:
 
 modparam(auth_db, load_credentials, $var(x)=some_col);
 
 I get a parse error:
 
malformed or non AVP $var(customer_bg_id) AVP definition
 
 Is there any particular reason these days why auth_db columns have to be
 loaded to AVPs only?

Hi Alex,

i had a quick look to the code, it seems that the parse_aaa_avps(..) function 
in the module only considers AVPs.

Best regards,

Henning

___
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


Re: [SR-Users] Understanding alias_db correctly.

2011-07-27 Thread Henning Westerholt
On Tuesday 26 July 2011, Henrik Aagaard Sørensen wrote:
 Ah, that make sense of course. Thank you.

Hi Henrik,

i rephrased the module documentation in git master branch a bit, i hope that 
its now better understandable. If you've time maybe you can have a look.

Best regards,

Henning

___
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


Re: [SR-Users] issue tracking system

2011-07-20 Thread Henning Westerholt
On Tuesday 19 July 2011, Alex Balashov wrote:
 We have been extremely happy with Mantis as a self-hosted approach.
 It is easy to use, yet has the sophistication and flexibility for a
 needed to manage a project of non-trivial size.

Hello,

just had a quick look to Mantis, looks fine. Also the installation and 
administration does not look that dificult, the documentation provide a lot of 
details. From the installation requirements it should be also fine, the 
development looks at least from the commit stats healthy as well.

I've a lot of experience with Jira, its in general a good system, but maybe 
its a bit to heavy for our use. I also don't like the fact that its not really 
open source software.

I could install a test setup in the next days on our server, if you like.

 For fairly large projects like this one[1], I have always favoured
 internal hosting of such systems in order to maintain maximum control,
 use optional plugins, make customisations, etc.  I think that would
 make the most sense for the SR/Kamailio community.

This is also my opinion.

Best regards,

Henning

___
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


Re: [SR-Users] xcap server - http load–balancer: xcap authentication problem

2011-07-15 Thread Henning Westerholt
On Friday 15 July 2011, laura testi wrote:
 we have checked the presence extension for DB_MODE only in the master
 branch. But it's not complete DB_ONLY mode, it seems that it still uses
 the cache for active_watchers in write through mode. Is there any reason
 for it? That can still make problem for the scalability for the multiple
 presence servers, because if an presence event (either SIP or XCAP) of an
 active subscription in the cache of one presence server, goes to another
 presence server, can still cause the problem even the DB is sync with the
 cache.

Hello Marius,

maybe you can comment a bit on this?

Thanks and best regards,

Henning

___
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


Re: [SR-Users] sr-users Digest, Vol 74, Issue 41

2011-07-15 Thread Henning Westerholt
On Friday 15 July 2011, Henrik Aagaard Sørensen wrote:
 On Fri, Jul 15, 2011 at 12:00 PM, sr-users-requ...@lists.sip-router.org
 wrote: Send sr-users mailing list submissions to
 sr-users@lists.sip-router.org
 
  To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
  or, via email, send a message with subject or body 'help' to
 sr-users-requ...@lists.sip-router.org
 [..]

Hi Henrik,

this is really hard to read IMHO. It would be easier to comment on your issue 
if you subscribe normally (choose no Digest in the list configuration), and 
then just reply to the one mail thread that covers your topic.

Best regards,

Henning

___
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


Re: [SR-Users] memory requirements for a registrar server

2011-07-13 Thread Henning Westerholt
On Wednesday 13 July 2011, Fabian Borot wrote:
 thank you Henning
 
 A PKG setting of 4-8 MB and a shared pool of 512MB should be  really
 enough Normally you're more concerned about private (per process)
 memory,
 
 where do I set them?

Hi Fabian,

you can set it at compile time in config.h (PKG_MEM_POOL or something like 
this), or the in upcoming version 3.2 on the command line.

Best regards,

Henning

___
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


Re: [SR-Users] memory requirements for a registrar server

2011-07-13 Thread Henning Westerholt
Fabian wrote:
 ok, great...this is, I think, the relevant section on config.h

Hi Fabian,

 #define PKG_MEM_SIZE 4
 #define PKG_MEM_POOL_SIZE PKG_MEM_SIZE*1024*1024/*! used only if 
 PKG_MALLOC is defined*/
 #define SHM_MEM_SIZE 32 /*! used if SH_MEM is 
 defined*/

 
 SHM_MEM_SIZE 32 -- this looks like 32 MB
 and PKG_MEM_SIZE 4 looks like Bytes, that is why the PKG_MEM_POOL_SIZE is 
 multiplied by 1024*1024 to get MBs I assume.

Correct, 4MB and 32MB. I'll have a look to to the file to document it a bit 
better in the next days.

You don't need to change config.h to change the shared pool. There exists a cmd 
line parameter,
have a look to 'man kamailio' or run 'kamailio -h' for more informations. The 
specified values are
just used in the case nothing else is configured. They are also some cfg script 
parameters, i think.

Regards,

Henning
___
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


Re: [SR-Users] Memcached Module

2011-07-11 Thread Henning Westerholt
On Sunday 10 July 2011, Spencer Thomason wrote:
 I'm interested in using the memcached module however it requires
 libmemcache instead of libmemcached.  As libmemcache is no longer
 supported I was curious if anyone had successfully patched the module to
 use libmemcached instead.

Hi Spencer,

i developed the module for the libmemcache (old) library instead of 
libmemcached (new) because the new one was then not yet available in debian 
stable. Now at least version 0.40 of the new library is available in squeeze. 
The old one is also still availabe in sqeeze, so it should still be possible 
to use the module here. But in the medium term the module needs to be changed, 
you're right.

The last time I looked the new API was a bit different than the old one, but 
as the module is not that complicated, it should be not that hard to adapt it, 
i guess. I'm not aware of patches in this area, any help is of course welcome. 
:-)

 Also as a side note, the provided rpm spec
 files in the git repo erroneously contains a reference to libmemcached.

Can you point me to the specific file or even better send me a small patch? 
Then I could fix it.

Best regards,

Henning

___
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


Re: [SR-Users] Playing with dlg_bridge()

2011-07-07 Thread Henning Westerholt
On Wednesday 06 July 2011, Roberto Fichera wrote:
  you're probably missing the quotes for the first two function arguments.
 
 You are totally right Now it works fine!

Hi Roberto,

good.
 
 Do you know what does means the warning below?
 [..]
 68.2.50 Jul  6 11:54:17 roberto /usr/sbin/kamailio[20457]: WARNING: dialog
 [dlg_handlers.c:884]: unable to find dialog for NOTIFY with route param
 '7d2.14447fc4' [727:1291273281]

This means that the module can't find an existing (stored) dialog for the 
routed message in question, in this case a NOTIFY.

Best regards,

Henning

___
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


Re: [SR-Users] Playing with dlg_bridge()

2011-07-07 Thread Henning Westerholt
On Thursday 07 July 2011, Roberto Fichera wrote:
  Do you know what does means the warning below?
  [..]
  68.2.50 Jul  6 11:54:17 roberto /usr/sbin/kamailio[20457]: WARNING:
  dialog [dlg_handlers.c:884]: unable to find dialog for NOTIFY with
  route param '7d2.14447fc4' [727:1291273281]
  
  This means that the module can't find an existing (stored) dialog for the
  routed message in question, in this case a NOTIFY.
 
 Does this depends by the fact of own the dlg_bridge() works? And in case,
 how can I solve that problem?

Hi Roberto,

I'm not 100% sure, I'm not the expert for dlg_bridge.. To be more specific 
(after discussion with Timo..) - the warning is emmited if the module can't 
find the dialog with the ID added as a route parameter to the respective 
message. One particiular reason is (if you don't store the dialogs in a 
database) a simple kamailio restart, then all existing dialog information is 
lost.

Best regards,

Henning

___
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


Re: [SR-Users] Playing with dlg_bridge()

2011-07-06 Thread Henning Westerholt
On Tuesday 05 July 2011, Roberto Fichera wrote:
  I want to implement a click and dial feature using the xhttp interface
  but also keeping working the XCAP functionality. Than I added some
  code about the dialog module (it's my first time I try it) so that the
  URL look like http://localhost:5060/sip-bridge/from/to
 [..]
  dlg_bridge( $var(from), $var(to), sip:192.168.2.92:5060 );

Hi Roberto,

you're probably missing the quotes for the first two function arguments.

Best regards,

Henning

___
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


Re: [SR-Users] Problem with worst case scenario of accessing 15 gateways over the DISPATCHER module - MAX_BRANCHES is reached

2011-07-06 Thread Henning Westerholt
On Wednesday 06 July 2011, Klaus Feichtinger wrote:
 the described scenario is not a standard scenario. This would be realistic
 in emergency situations only (e.g. so many calls are coming in and the
 gateways are busy = e.g. responding with 486 Busy Here ). Also the time
 delay would not be very high, because the fr_timer variable is set to a
 value of 750ms before relaying the call to the dispatcher-targets
 (t_set_fr([...]))) - this is just for a scenario when the target is
 unreachable.

Hi Klaus,

i understand.

 In case that the dispatcher-target is responding with a negative response
 code (as it was until now), all targets are sequentially addressed within
 a time of lower than 1 second until the error message of the TM module is
 interrupting that process.

1s is of course fast enough.

 However, if there is no alternative to changing the define value of
 MAX_BRANCHES I will use your recommendation for limiting the number of
 gateways that will be addressed over the failure_route. My Question now
 is: how can I count the number of branches / rejections (from the
 failure_route)?
 I've tried using the pseudo_variable $branch(count) (according description
 of the WIKI page), but the value is 0 all the time = not useful. I
 could create a private table and use the sqlops module. Do you have any
 easier alternative recommendation how the number could be limited?

What about just incrementing an variable, like an avp and check this in an if 
case?

Best regards,

Henning

___
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


  1   2   3   >