[SR-Users] set digest mime

2017-08-09 Thread wsotest.512
___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Kamailio: how to route RTP media directly to endpoint

2017-08-09 Thread Mojtaba
Hi, It is better if you want route RTP directly between UA, Dont route the calls to Asterisk, And do this like below: UAC1---sip>kamailio->UAC2 In asterisk, there is directmedia options for handle RTP. Be notice you should use STUN in this regards. becuase of type of nats in clients,

[SR-Users] Dispatcher call id hash for server side invite

2017-08-09 Thread Ryan Wagoner
For a call invite from a phone to an load balanced asterisk server farm I can use ds_select_dst with hash over callid for the algorithm. What I don't understand is what happens for a server side invite. Say user A calls user B. The server will send and invite to user B's device. User B's device

Re: [SR-Users] Kamailio: how to route RTP media directly to endpoint

2017-08-09 Thread Daniel Tryba
On Wed, Aug 09, 2017 at 04:48:02PM +0300, wsotest.512 wrote: > > UserA ---sip--> Kamailio --> Asterisk --> UserB > >\-rtp--> --> --> UserB > > Is it possible at all? Maybe someone already did it . It should work, but Asterisk is broken in this respect and may break codecs/dtmf:

[SR-Users] Kamailio: how to route RTP media directly to endpoint

2017-08-09 Thread wsotest.512
Hi all, We have usual config Kamailio + Asterisk where Kamailio play as sip and rtp proxy. Kamailio have public IP, asterisk - no. All calls between clients now going like that: UserA ---sip--> Kamailio --> Asterisk --> UserB \-rtp--> Kamailio (rtpproxy) --> Asterisk --> UserB

[SR-Users] IMPORTANT: acc module - SQL define removed and diameter code relocated

2017-08-09 Thread Daniel-Constantin Mierla
Hello, I just pushed a bit of clean up to acc module, therefore be aware of following changes: 1) the define conditions on SQL_ACC were removed -- this was enabled for more than 10 years and only made the code look complex and hard to follow up its logic. 2) the code related to DIAMETER

Re: [SR-Users] Registrar limit

2017-08-09 Thread Daniel Tryba
On Wed, Aug 09, 2017 at 03:11:21PM +0300, Yu Boot wrote: > How to limit one user login with one AOR (IP) and always use IP from last > registration attempt? See https://www.kamailio.org/docs/modules/stable/modules/registrar.html#registrar.f.save flags for save(): 0x04 - store and maintain one

Re: [SR-Users] Issue in Dialplan Module

2017-08-09 Thread Daniel Tryba
On Wed, Aug 09, 2017 at 01:34:13PM +0530, Logeshwaran G wrote: > I have given the below query, > > INSERT INTO dialplan(id, dpid, pr, match_op, match_exp, match_len, > subst_exp, repl_exp, attrs) VALUES (1, "1", "1", 1, "^000[0-9]+$ ", 0, > "^000([0-9]+)$", "\1", " "); > > But the Rule is tking

Re: [SR-Users] RFC: Moving misc/obsolete/ to its own git repository

2017-08-09 Thread Daniel-Constantin Mierla
Done. Repository for obsolete stuff is at: - https://github.com/kamailio/kamailio-obsolete Cheers, Daniel On 07.08.17 11:02, Daniel-Constantin Mierla wrote: > Hello, > > trying to make the git repository a bit slimmer and avoid unuseful > indexing of unused modules, I am considering to move

[SR-Users] Inconsistency in sems v1.6 installation: sems.conf is missing

2017-08-09 Thread leslie mekiyess
For some reason, the installation creates the etc directory under the /usr/local/etc/sems/ : make[2]: Entering directory `/usr/src/sems-1.6.0/apps/conf_auth' mkdir -p **/usr/local/etc/sems/**etc**/** installing conf_auth.conf make[2]: Leaving directory `/usr/src/sems-1.6.0/apps/conf_auth' Then

[SR-Users] DNS Geo Location Kamailio servers, registration and routing

2017-08-09 Thread Sadeesh Radhakrishnan
We have kamailio servers that do DNS-Geo-Location on different locations, using same domain name. So the users from a country will be preferred to his nearby server by DNS routing. Similarly users from different countries will be registering to their nearby kamailio sip servers. All the servers

Re: [SR-Users] [ *SPAM* 2.2 ] Re: "kamctl restart" fails

2017-08-09 Thread Yu Boot
# grep PID /etc/kamailio/kamctlrc ## PID file path - default is: /var/run/kamailio.pid PID_FILE=/var/run/kamailio.pid I've stopped Kami entirely, deleted that .pid. Now: # kamctl restart INFO: Stopping Kamailio : INFO: stopped INFO: Starting Kamailio : 3069 pts/0S+ 0:00 /bin/egrep

Re: [SR-Users] how to remove a line in sdp

2017-08-09 Thread Sebastian Damm
Hi, On Tue, Aug 8, 2017 at 12:24 PM, Sunil More wrote: > I have the following SDP coming in from a carrier and would like to remove > the following line. Cant figure how to go about it. sdpops should do what you need:

Re: [SR-Users] Billing plan

2017-08-09 Thread Fred Posner
On 8/9/17 3:00 AM, Logeshwaran G wrote: Hi, Is there any billing application or modules to use with kamailio , for example if i want to check the credits of the user on every passing minute , and when he's out of credits i stop the call. check out

[SR-Users] Billing plan

2017-08-09 Thread Logeshwaran G
Hi, Is there any billing application or modules to use with kamailio , for example if i want to check the credits of the user on every passing minute , and when he's out of credits i stop the call. Thanks & Kind Regards, Logeshwaran G ___ Kamailio

Re: [SR-Users] sqlops error

2017-08-09 Thread Logeshwaran G
Yes I have corrected the mistake. Thanks. Hi Federico, Sorry to interrupt you once again, As per your input avpops worked fine for my scenario. Thanks once again. I am having one more query, I need to know how to reduce the user balance amount . Is there any module? Input please Scenario:

Re: [SR-Users] sqlops error

2017-08-09 Thread Logeshwaran G
Yes I have defined #!define DBURL "mysql://root:root@localhost/kamailio" On Wed, Aug 9, 2017 at 11:32 AM, Federico Cabiddu < federico.cabi...@gmail.com> wrote: > Hi, > have you defined DBURL anywhere? > > Cheers, > > Federico > > > On Wed, Aug 9, 2017 at 8:00 AM, Logeshwaran G

Re: [SR-Users] sqlops error

2017-08-09 Thread Alex Balashov
What is the value of DBURL? On August 9, 2017 2:00:58 AM EDT, Logeshwaran G wrote: >modparam("sqlops","sqlcon",DBURL) > >Whether the above modparam implementation is wrong ? I am not sure > >Its saying some error as >0(2519) ERROR: sqlops [sql_api.c:669]:

[SR-Users] sqlops error

2017-08-09 Thread Logeshwaran G
modparam("sqlops","sqlcon",DBURL) Whether the above modparam implementation is wrong ? I am not sure Its saying some error as 0(2519) ERROR: sqlops [sql_api.c:669]: sql_parse_param(): invalid sqlops parameter ___ Kamailio (SER) - Users Mailing List