[SR-Users] How do I see the full SDP?

2016-10-26 Thread Martin Taschen
Hello, kamailio seems to work fine. After registration I would like to see the complete SDP of an user. . How is this done? Thanks Martin Taschen ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org h

Re: [SR-Users] sr-users Digest, Vol 137, Issue 25

2016-10-26 Thread surendra tiwari
gt; > Unfortunately, after 5 seconds, nothing happen. I don't even see an error > from dialog module. > > > > Anyone has a better understanding of the way the module runs? Thank you! > > > > Regards, > > > > Igor. > > > __

Re: [SR-Users] logfile is empty

2016-10-26 Thread Alberto Llamas
Hi Herman, You must follow the instructions at https://www.kamailio.org/wiki/tutorials/3.2.x/syslog Anyway check: * In case Kamailio is not running as root then the user as enough privileges to write in the log file. * How do you have 'log_stderror' in your kamailio config file?. Regards, On

[SR-Users] logfile is empty

2016-10-26 Thread Hermann Norpois
my logfile /var/log/kamailio/kamailio.log is empty. 1) /etc/rsyslog.d/kamailio.cfg exists with the entry: log_facility=LOG_LOCAL0 2) /etc/rsyslog.con has the entry: # # don't log messages with LOG_LOCAL0 in /var/log/syslog anymore *.*;auth,authpriv.none,local0.none -/var/log/syslo

Re: [SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
Hi, Yep, the dialog is created. I put the dialog into DB and see it. Nothing appears in the logs when the timer is reached. I succeed to do the same behaviour with dialog module only and dlg_set_timeout. Looks to do why I want. I'm a bit frustrating about cnxcc because I really don't

[SR-Users] Store and add custom variables for sip registrations

2016-10-26 Thread Markus Bönke
Hallo all, we want to use kamailio as registrar server in front of freeswitch. When a user registers we need to lookup and store some user variables. To every INVITE that is received from a registered user we want to add the variables as x sip headers before we relay them to freeswitch. The qu

Re: [SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Arsen
Hi Igor, Make sure that you create a dialog for this call and $dlg_var(key) is available (This pseudo-variable will be available only for subsequential requests after doing loose_route().) Also check kamailio logs maybe you try to terminate call for wrong customer id. On Wed, Oct 26, 2016 at 10

[SR-Users] cnxcc doesn't terminate calls

2016-10-26 Thread Igor Potjevlesch
Hi, I'm testing cnxcc module in order to make a simple call duration limitation. My understanding is to use the function like this : $dlg_var(customer_id) = "customer-" + $fU; $var(max_time) = 5; if (!cnxcc_