[SR-Users] Registered with sip user using user pass

2021-02-08 Thread Gaurav Bmotra
Hi

I m using kamailio 5.3
OS Ubuntu 18

I wan to Register on sip server and then send traffic to to it form
kamailio.
Like :

Client ---(sip peer)-->kamailio--(sip peer)>gateway


Please help me
Thank you


Regards
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Reconnect call

2020-06-22 Thread Gaurav Bmotra
hi Henning

i am working on Voip calling application
where i m using kamailio as register server
now my requirement is that ,,
when i call A to B and duto low Network call got disconnected but i want
let wait for 10 to reconnect if network coverage get back

thank you

On Tue, Jun 9, 2020 at 6:25 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> please give more details what you want to achieve, this is difficult to
> guess. 
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Gaurav
> Bmotra
> *Sent:* Tuesday, June 9, 2020 1:22 PM
> *To:* Kamailio (SER) - Users Mailing List 
> *Subject:* [SR-Users] Reconnect call
>
>
>
> hi
> how we can implement , that if call got disconnected due to low network
>
> and will reconnect ..
>
>
>
> pl help me
>
>
>
> --
>
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
>
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Reconnect call

2020-06-09 Thread Gaurav Bmotra
hi
how we can implement , that if call got disconnected due to low network
and will reconnect ..

pl help me

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RTP port range in kuberenetes for kamailio

2020-06-08 Thread Gaurav Bmotra
Hello sergey

Did you get any solution for Deploy kamailio inside the kubernetes ?
Instead of deploy on host network

Thank you

On Thu, 14 Nov 2019, 9:40 pm Sergey Safarov,  wrote:

> 1. need to use host network for container
> 2. disable outbound NAT rules on kubernetes host.
>
>
> On Thu, Nov 14, 2019 at 11:04 AM Gaurav Bmotra 
> wrote:
>
>> hi
>> i have issue  audio issue with kamailio in kubernetse cluster
>> anybody , idea how to fix it in kubernetses
>>
>> thank you
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] rtpengine on different server

2020-06-02 Thread Gaurav Bmotra
hi
i m using kamailio 5.3  ans install rtpengine on different server
kindly help me what will be the configuration in case of kamailio
and rtpengine

thank you

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Outbound calling with user based carrier

2020-03-04 Thread Gaurav Bmotra
Hi
Is it possible to configure user based carrier on kamailio for outbound
calling ?

Thank you Regards
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Call merging issues on cellular network

2020-02-03 Thread Gaurav Bmotra
Hi
I m using kamailio 5.3
I m trying to merge the call on cellular network but is not working. As on
WiFi it is working fine . Any one can help me

Thank you
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Dispatcher error with rtpptoxy

2020-01-11 Thread Gaurav Bmotra
hi
i m using kamailio 5.2.1 in Kubernetese on Host network
it was working file but now the following issue i n getting

call connecting but audio both way issue
here is the logs that got


2(14) ERROR: {1 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} rtpproxy
[rtpproxy.c:2586]: force_rtp_proxy(): incorrect port 0 in reply from rtp
proxy
 4(16) ERROR: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} rtpproxy
[rtpproxy.c:2586]: force_rtp_proxy(): incorrect port 0 in reply from rtp
proxy
 4(16) NOTICE: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} acc [acc.c:279]:
acc_log_request(): ACC: transaction answered:
timestamp=1578636040;method=INVITE;from_tag=88c92018;to_tag=2c3c0a16;call_id=EQEiv5Mjs-eV1OCGv6Potw..;code=200;reason=OK;src_user=200;src_domain=testcalls.aone.one;src_ip=157.39.9.195;dst_ouser=300;dst_user=300;dst_domain=106.78.70.57
 4(16) ERROR: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} db_mysql
[km_dbase.c:126]: db_mysql_submit_query(): driver error on query: Unknown
column 'src_user' in 'field list' (1054)
 4(16) ERROR: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} 
[db_query.c:243]: db_do_insert_cmd(): error while submitting query
 4(16) ERROR: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} acc [acc.c:477]:
acc_db_request(): failed to insert into database
 6(18) ERROR: {2 2 INVITE EQEiv5Mjs-eV1OCGv6Potw..} rtpproxy
[rtpproxy.c:2586]: force_rtp_proxy(): incorrect port 0 in reply from rtp
proxy
 8(20) NOTICE: {2 3 BYE EQEiv5Mjs-eV1OCGv6Potw..} acc [acc.c:279]:
acc_log_request(): ACC: transaction answered:
timestamp=1578636041;method=BYE;from_tag=88c92018;to_tag=2c3c0a16;call_id=EQEiv5Mjs-eV1OCGv6Potw..;code=200;reason=OK;src_user=200;src_domain=testcalls.aone.one;src_ip=157.39.9.195;dst_ouser=300;dst_user=300;dst_domain=106.78.70.57
 8(20) ERROR: {2 3 BYE EQEiv5Mjs-eV1OCGv6Potw..} db_mysql [km_dbase.c:126]:
db_mysql_submit_query(): driver error on query: Unknown column 'src_user'
in 'field list' (1054)
 8(20) ERROR: {2 3 BYE EQEiv5Mjs-eV1OCGv6Potw..}  [db_query.c:243]:
db_do_insert_cmd(): error while submitting query
 8(20) ERROR: {2 3 BYE EQEiv5Mjs-eV1OCGv6Potw..} acc [acc.c:477]:
acc_db_request(): failed to insert into database
 3(15) ERROR: {1 2 INVITE LH6sikNzpP9rXXMJvH20wQ..} rtpproxy
[rtpproxy.c:2586]: force_rtp_proxy(): incorrect port 0 in reply from rtp
proxy
 9(21) NOTICE: acc [acc.c:279]: acc_log_request(): ACC: call missed:
timestamp=1578636141;method=INVITE;from_tag=6b032a77;to_tag=;call_id=LH6sikNzpP9rXXMJvH20wQ..;code=408;reason=Request
Timeout;src_user=200;src_domain=testcalls.aone.one;src_ip=157.39.9.195;dst_ouser=300;dst_user=300;dst_domain=106.78.70.57
 9(21) ERROR: db_mysql [km_dbase.c:126]: db_mysql_submit_query(): driver
error on query: Unknown column 'src_user' in 'field list' (1054)
 9(21) ERROR:  [db_query.c:243]: db_do_insert_cmd(): error while
submitting query
 9(21) ERROR: acc [acc.c:477]: acc_db_request(): failed to insert into
database
 9(21) NOTICE: {1 2 INVITE LH6sikNzpP9rXXMJvH20wQ..} 

Re: [SR-Users] call not going to end point

2019-11-25 Thread Gaurav Bmotra
hi every one

route[DISPATCH] {


# round robin dispatching on gateways group '1'


if(!ds_select_dst("1", "4")) {


send_reply("404", "No destination");


exit;


}


xdbg("--- SCRIPT: going to <$ru> via <$du> (attrs:
$xavp(_dsdst_=>attrs))\n");

t_on_failure("RTF_DISPATCH");


$var(rcv_addr)="sip:"+$si+":"+$sp;


if(starts_with("$var(rcv_addr)","$du"))


{


route(LOCATION);


}


else


{


route(RELAY);


}


exit;


}





hi
i use following logic in config file but still it fail to send call to end
poing which comes form Freeswitch
---*LOGIC*---
# Try next destionations in failure route


failure_route[RTF_DISPATCH] {


xnotice("RTF_DISPATCH: $rm $rU [$ci]");


if (t_is_canceled()) {


exit;


}


# next DST - only for 500 or local timeout


if (t_check_status("(^5)")


or (t_branch_timeout() and !t_branch_replied())) {


xnotice("RTF_DISPATCH: WARNING $du is broken and marked as
inactive");

# ds_mark_dst("ip");


if(ds_next_dst()) {


xdbg("--- SCRIPT: retrying to <$ru> via <$du> (attrs:
$xavp(_dsdst_=>attrs))\n");

t_on_failure("RTF_DISPATCH");


route(RELAY);


exit;


}


}


}
-*logs*
---
Nov 26 04:09:57 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:create_twinlistener:GENERAL: can't bind to the IPv4 port 36924: Address
not available
Nov 26 04:09:57 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:rtpp_command_ul_handle:GLOBAL: can't create listener
Nov 26 04:09:57 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:rtpc_doreply:GLOBAL: sending reply "E72 "
Nov 26 04:09:57 ip-172-20-61-37 local0.err kamailio[77]: ERROR: {1 2 INVITE
mzewGszYzkq-UnXdAKNmTg..} rtpproxy [rtpproxy.c:2586]: force_rtp_proxy():
incorrect port 0 in reply from rtp proxy
Nov 26 04:09:57 ip-172-20-61-37 local0.notice kamailio[76]: NOTICE: {1
12816906 INVITE 731e779f-8aa5-1238-4f81-12590b724429} 

[SR-Users] call not going to end point

2019-11-24 Thread Gaurav Bmotra
hi
i m using kamailio 5.4 dev Docker image
 when i try to call form calientA to clientB  i got (Temporarily
Unavailable (code: 480))
i m using freeswitch as media server
so the flow and structure should be like this
ClientA>Kamailio-->FS>Kamailio>>ClientB

but issue is (what i m getting )
 
ClientA>Kamailio-->FS>Kamailio>>FS>kamailio->FS
IT CREATE THE CALL LOOP b/w  KAMAILIO AND FREESWITCH
*MY CONFIG FILE IS ATACHED *
in logs i m getting

Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:create_twinlistener: can't bind to the IPv4 port 38902: Address
not available (99)
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:rtpp_command_ul_handle: can't create listener
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:rtpc_doreply: sending reply "E72\n"
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:get_command: received command "18_4 Uc0,8,101
9857c00a-8947-1238-c6a7-12590b724429 3.82.96.70 22082 jKrKymKNg480p;1"
Nov 24 10:25:36 ip-172-20-61-37 local0.info rtpproxy[6]:
INFO:GLOBAL:rtpp_command_ul_handle: new IPv4/IPv4 session
9857c00a-8947-1238-c6a7-12590b724429, tag jKrKymKNg480p;1 requested, type
strong
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:create_twinlistener: can't bind to the IPv4 port 35888: Address
not available (99)
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:rtpp_command_ul_handle: can't create listener
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:rtpc_doreply: sending reply "E72\n"
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:get_command: received command "20_4 Uc0,8,101
98589959-8947-1238-c6a7-12590b724429 3.82.96.70 29846 m5a51aNvapN6D;1"
Nov 24 10:25:36 ip-172-20-61-37 local0.info rtpproxy[6]:
INFO:GLOBAL:rtpp_command_ul_handle: new IPv4/IPv4 session
98589959-8947-1238-c6a7-12590b724429, tag m5a51aNvapN6D;1 requested, type
strong
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:create_twinlistener: can't bind to the IPv4 port 37706: Address
not available (99)
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:rtpp_command_ul_handle: can't create listener
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:rtpc_doreply: sending reply "E72\n"
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:get_command: received command "13_4 Uc0,8,101
985962c1-8947-1238-c6a7-12590b724429 3.82.96.70 29432 pQXp50p3471BN;1"
Nov 24 10:25:36 ip-172-20-61-37 local0.info rtpproxy[6]:
INFO:GLOBAL:rtpp_command_ul_handle: new IPv4/IPv4 session
985962c1-8947-1238-c6a7-12590b724429, tag pQXp50p3471BN;1 requested, type
strong
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:create_twinlistener: can't bind to the IPv4 port 45078: Address
not available (99)
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:rtpp_command_ul_handle: can't create listener
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:rtpc_doreply: sending reply "E72\n"
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:get_command: received command "16_5 Uc0,8,101
985a3ce3-8947-1238-c6a7-12590b724429 3.82.96.70 25096 r9F88praZSeHc;1"
Nov 24 10:25:36 ip-172-20-61-37 local0.info rtpproxy[6]:
INFO:GLOBAL:rtpp_command_ul_handle: new IPv4/IPv4 session
985a3ce3-8947-1238-c6a7-12590b724429, tag r9F88praZSeHc;1 requested, type
strong
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:create_twinlistener: can't bind to the IPv4 port 58376: Address
not available (99)
Nov 24 10:25:36 ip-172-20-61-37 local0.err rtpproxy[6]:
ERR:GLOBAL:rtpp_command_ul_handle: can't create listener
Nov 24 10:25:36 ip-172-20-61-37 local0.debug rtpproxy[6]:
DBUG:GLOBAL:rtpc_doreply: sending reply "E72\n"
--


*here is my config file *
#!KAMAILIO
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_ACCDB
#!define WITH_NAT

#
# Kamailio (OpenSER) SIP Server v5.4 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
# Direct your questions about this file to: 
#
# Refer to the Core CookBook at https://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
#
# Note: the comments can be:
# - lines starting with #, but not the pre-processor directives,
#   which start with #!, like #!define, #!ifdef, #!endif, #!else,
#!trydef,
#   #!subst, #!substdef, ...
# - lines starting with //
# - blocks enclosed in between /* */
#
# Several features can be enabled using '#!define WITH_FEATURE' directives:
#
# *** To run in 

[SR-Users] kamailio call loop issue B/W kamailio and freeswitch

2019-11-22 Thread Gaurav Bmotra
hi
im using kamailio 5.3 as register server and using dispatcher i m dendign
the calls to freeswitch ..
ibut the issue is then freeswitch send back call to kamailio after
processing media ... it should go back to client but it again send call to
freeswitch ,, which create the loop and hangup the call with (Temporarily
Unavailable (code: 480))

*what i want *client1-->Kamailio-->FS-Kamailio->Client2

*but I am getting this *
client1-->Kamailio-->FS-Kamailio->FS->kamailio->FS
-- 
here is my config file data
---
#!KAMAILIO
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_ACCDB
#!define WITH_NAT


#
# Kamailio (OpenSER) SIP Server v5.2 - default configuration script
# - web: https://www.kamailio.org
# - git: https://github.com/kamailio/kamailio
#
# Direct your questions about this file to: 
#
# Refer to the Core CookBook at https://www.kamailio.org/wiki/
# for an explanation of possible statements, functions and parameters.
#
# Note: the comments can be:
# - lines starting with #, but not the pre-processor directives,
#   which start with #!, like #!define, #!ifdef, #!endif, #!else,
#!trydef,
#   #!subst, #!substdef, ...
# - lines starting with //
# - blocks enclosed in between /* */
#
# Several features can be enabled using '#!define WITH_FEATURE' directives:
#
# *** To run in debug mode:
# - define WITH_DEBUG
#
# *** To enable mysql:
# - define WITH_MYSQL
#
# *** To enable authentication execute:
# - enable mysql
# - define WITH_AUTH
# - add users using 'kamctl'
#
# *** To enable IP authentication execute:
# - enable mysql
# - enable authentication
# - define WITH_IPAUTH
# - add IP addresses with group id '1' to 'address' table
#
# *** To enable persistent user location execute:
# - enable mysql
# - define WITH_USRLOCDB
#
# *** To enable presence server execute:
# - enable mysql
# - define WITH_PRESENCE
#
# *** To enable nat traversal execute:
# - define WITH_NAT
# - install RTPProxy: http://www.rtpproxy.org
# - start RTPProxy:
#rtpproxy -l _your_public_ip_ -s udp:localhost:7722
# - option for NAT SIP OPTIONS keepalives: WITH_NATSIPPING
#
# *** To enable PSTN gateway routing execute:
# - define WITH_PSTN
# - set the value of pstn.gw_ip
# - check route[PSTN] for regexp routing condition
#
# *** To enable database aliases lookup execute:
# - enable mysql
# - define WITH_ALIASDB
#
# *** To enable speed dial lookup execute:
# - enable mysql
# - define WITH_SPEEDDIAL
#
# *** To enable multi-domain support execute:
# - enable mysql
# - define WITH_MULTIDOMAIN
#
# *** To enable TLS support execute:
# - adjust CFGDIR/tls.cfg as needed
# - define WITH_TLS
#
# *** To enable XMLRPC support execute:
# - define WITH_XMLRPC
# - adjust route[XMLRPC] for access policy
#
# *** To enable anti-flood detection execute:
# - adjust pike and htable=>ipban settings as needed (default is
#   block if more than 16 requests in 2 seconds and ban for 300 seconds)
# - define WITH_ANTIFLOOD
#
# *** To block 3XX redirect replies execute:
# - define WITH_BLOCK3XX
#
# *** To block 401 and 407 authentication replies execute:
# - define WITH_BLOCK401407
#
# *** To enable VoiceMail routing execute:
# - define WITH_VOICEMAIL
# - set the value of voicemail.srv_ip
# - adjust the value of voicemail.srv_port
#
# *** To enhance accounting execute:
# - enable mysql
# - define WITH_ACCDB
# - add following columns to database
#!ifdef ACCDB_COMMENT
  ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT '';
  ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT '';
  ALTER TABLE acc ADD COLUMN src_ip varchar(64) NOT NULL default '';
  ALTER TABLE acc ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT '';
  ALTER TABLE acc ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT '';
  ALTER TABLE acc ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT '';
  ALTER TABLE missed_calls ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT
'';
  ALTER TABLE missed_calls ADD COLUMN src_domain VARCHAR(128) NOT NULL
DEFAULT '';
  ALTER TABLE missed_calls ADD COLUMN src_ip varchar(64) NOT NULL default
'';
  ALTER TABLE missed_calls ADD COLUMN dst_ouser VARCHAR(64) NOT NULL
DEFAULT '';
  ALTER TABLE missed_calls ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT
'';
  ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL
DEFAULT '';
#!endif

### Include Local Config If Exists #
import_file "kamailio-local.cfg"

### Defined Values #

# *** Value defines - IDs used later in config
#!ifdef WITH_MYSQL
# - database URL - used to connect to database server by modules such
#   as: auth_db, acc, usrloc, a.s.o.
#!ifndef DBURL
#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"
#!endif
#!endif
#!ifdef WITH_MULTIDOMAIN
# - the value for 'use_domain' 

Re: [SR-Users] disparcher making loop with call

2019-11-22 Thread Gaurav Bmotra
setbflag(FLB_NATB);
#!ifdef WITH_NATSIPPING
# do SIP NAT pinging
setbflag(FLB_NATSIPPING);
#!endif
}
if (!save("location")) {
sl_reply_error();
}
exit;
}

# User location service
route[LOCATION] {

#!ifdef WITH_SPEEDDIAL
# search for short dialing - 2-digit extension
if($rU=~"^[0-9][0-9]$") {
if(sd_lookup("speed_dial")) {
route(SIPOUT);
}
}
#!endif

#!ifdef WITH_ALIASDB
# search in DB-based aliases
if(alias_db_lookup("dbaliases")) {
route(SIPOUT);
}
#!endif

$avp(oexten) = $rU;
if (!lookup("location")) {
$var(rc) = $rc;
route(TOVOICEMAIL);
t_newtran();
switch ($var(rc)) {
case -1:
case -3:
send_reply("404", "Not Found");
exit;
case -2:
send_reply("405", "Method Not Allowed");
exit;
}
}

# when routing via usrloc, log the missed calls also
if (is_method("INVITE")) {
setflag(FLT_ACCMISSED);
}

route(RELAY);
exit;
}

# Presence server processing
route[PRESENCE] {
if(!is_method("PUBLISH|SUBSCRIBE")) return;

if(is_method("SUBSCRIBE") && $hdr(Event)=="message-summary") {
route(TOVOICEMAIL);
# returns here if no voicemail server is configured
sl_send_reply("404", "No voicemail service");
exit;
}

#!ifdef WITH_PRESENCE
if (!t_newtran()) {
sl_reply_error();
exit;
}

if(is_method("PUBLISH")) {
handle_publish();
t_release();
} else if(is_method("SUBSCRIBE")) {
handle_subscribe();
t_release();
}
exit;
#!endif

# if presence enabled, this part will not be executed
if (is_method("PUBLISH") || $rU==$null) {
sl_send_reply("404", "Not here");
exit;
}
return;
}


route[DISPATCH] {

# round robin dispatching on gateways group '1'

if(!ds_select_dst("1", "4")) {

send_reply("404", "No destination");

exit;

}

xdbg("--- SCRIPT: going to <$ru> via <$du> (attrs:
$xavp(_dsdst_=>attrs))\n");
t_on_failure("RTF_DISPATCH");

route(RELAY);

exit;

}



# Try next destionations in failure route

failure_route[RTF_DISPATCH] {

if (t_is_canceled()) {

exit;

}

# next DST - only for 500 or local timeout

if (t_check_status("500")

or (t_branch_timeout() and !t_branch_replied())) {

if(ds_next_dst()) {

xdbg("--- SCRIPT: retrying to <$ru> via <$du>
(attrs: $xavp(_dsdst_=>attrs))\n");
t_on_failure("RTF_DISPATCH");

route(RELAY);

exit;

}

}

}


# IP authorization and user authentication
route[AUTH] {
#!ifdef WITH_AUTH

#!ifdef WITH_IPAUTH
if((!is_method("REGISTER")) && allow_source_address()) {
# source IP allowed
return;
}
#!endif

if (is_method("REGISTER") || from_uri==myself) {
# authenticate requests
if (!auth_check("$fd", "subscriber", "1")) {
auth_challenge("$fd", "0");
exit;
}
# user authenticated - remove auth header
if(!is_method("REGISTER|PUBLISH"))
consume_credentials();
}
# if caller is not local subscriber, then check if it calls
# a local destination, otherwise deny, not an open relay here
if (from_uri!=myself && uri!=myself) {
sl_send_reply("403","Not relaying");
exit;
}

#!else

# authentication not enabled - do not relay at all to foreign networks
if(uri!=myself) {
sl_send_reply("403","Not relaying");
exit;
}

#!endif
return;
}

# Caller NAT detection
route[NATDETECT] {
#!ifdef WITH_NAT
force_rport();
if (nat_uac_test("19")) {
if (is_method("REGISTER")) {
fix_nated_register();
} else {
if(is_first_hop()) {
set_contact_alias();
}
}
setflag(FLT_NATS);
}
#!endif
return;
}

# RTPProxy control and signaling updates for NAT traversal
route[NATMANAGE] {
#!ifdef WITH_NAT
if (is_request()) {
if(has_totag()) {
if(check_route_param("nat=yes")) {
setbflag(FLB_NATB);
}
}
}
if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;

if(nat_uac_test("8")) {
rtpproxy_manage("co");
} else {
rtpproxy_manage("cor");
}

if (is_request()) {
if (!has_totag()) {
if(t_is_branch_route()) {
add_rr_param(";nat=yes");
}
}
}
if (is_reply()) {
if(isbflagset(FLB_NATB)) {
if(is_first_hop())
set_contact_alias();
}
}
#!endif
return;
}

# URI update for dialog requests
route[DLGURI] {
#!ifdef WITH_NAT
if(!isdsturiset()) {
handle_ruri_alias();
}
#!endif
return;
}

# Routing to foreign domains
route[SIPOUT] {
if (uri==myself) return;

append_hf("P-hint: outbound\r\n");
route(RELAY);
exit;
}

# PSTN GW routing
route[PSTN] {
#!ifdef WITH_PSTN
# check if PSTN GW IP is defined
if (strempty($sel(cfg_get.pstn.gw_ip))) {
xlog("SCRIP

[SR-Users] disparcher making loop with call

2019-11-22 Thread Gaurav Bmotra
hi
i m using kamailio 5.3 as register server and using dispatcher i m dendign
the calls to freeswitch ..

but the issue is then freeswitch send back call to kamailio after
processing media ... it should go back to client but it again send call to
freeswitch ,, which create the loop and hangup the call with (Temporarily
Unavailable (code: 480))


*what i want *client1-->Kamailio-->FS-Kamailio->Client2

*but I am getting this *
client1-->Kamailio-->FS-Kamailio->FS->kamailio->FS


*Routing Logic*---
if(!ds_is_from_list()) {

   route(DISPATCH);
  }


# Dispatch requests


route[DISPATCH] {


# round robin dispatching on gateways group '1'


if(!ds_select_dst("1", "4")) {


send_reply("404", "No destination");


exit;


}


xdbg("--- SCRIPT: going to <$ru> via <$du> (attrs:
$xavp(_dsdst_=>attrs))\n");


t_on_failure("RTF_DISPATCH");


route(RELAY);


exit;


}





# Try next destionations in failure route


failure_route[RTF_DISPATCH] {


xnotice("RTF_DISPATCH: $rm $rU [$ci]");


if (t_is_canceled()) {


exit;


}


# next DST - only for 500 or local timeout


if (t_check_status("(^5)")


or (t_branch_timeout() and !t_branch_replied())) {


xnotice("RTF_DISPATCH: WARNING $du is broken and marked as
inactive");

 # ds_mark_dst("ip");


if(ds_next_dst()) {


#xdbg("--- SCRIPT: retrying to <$ru> via <$du>
(attrs: $xavp(_dsdst_=>attrs))\n");


t_on_failure("RTF_DISPATCH");


route(RELAY);


exit;


}


}


}


-- 
thank you







*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio Dispatcher error

2019-11-20 Thread Gaurav Bmotra
hi
thank you so much for this information
my issue is resolved

On Wed, Nov 20, 2019 at 3:51 PM Markus Bönke  wrote:

> … and it’s now an xavp, to log contents you can use something like:
>
> xlog("L_INFO","Socket: {$xavp(AVP_SOCK)}\n");
> xlog("L_INFO","Destination: {$xavp(AVP_DST)=>sock}\n");
> xlog("L_INFO","Number of destinations: {$avp(AVP_CNT)}\n");
> xlog("L_INFO","All destinations: {$(avp(AVP_DST)[*])}\n");
> xlog("L_INFO","All attributes: {$(avp(AVP_ATTRS)[*])}\n");
>
> Am 20.11.2019 um 11:12 schrieb Markus Bönke :
>
> If you are using version 5.2+ you need to put the name of the avp, not
> $avp...  like
>
> ...
> modparam("dispatcher", "xavp_dst", "AVP_DST")
> modparam("dispatcher", "xavp_dst_mode", 0)
> modparam("dispatcher", "xavp_ctx", "AVP_CTX")
> …
>
> Best regards,
>
> Markus
>
> Am 20.11.2019 um 11:04 schrieb Karsten Horsmann :
>
> Hi Gaurav,
>
> check your config file Syntax with kamailio -DD -c -f
> /etc/kamailio/kamailio.cfg
>
> That should show you what's wrong.
>
> And your Kamailio version is needed for help.
>
> The dispatcher avps changed during some 5.x versions. Take a look at the
> dispatcher module documentation for your specific version.
>
> Kind regards
> Karsten Horsmann
>
>
> Gaurav Bmotra  schrieb am Mi., 20. Nov. 2019,
> 10:57:
>
>> hi
>> i want to use dispatcher Module and following is the config..
>>
>> ---
>> loadmodule "dispatcher.so"
>> --
>> modparam("dispatcher", "db_url", "
>> mysql://kamailio:kamailiorw@localhost/kamailio")
>> modparam("dispatcher", "table_name", "dispatcher")
>> modparam("dispatcher", "flags", 2)
>> modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")
>> modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")
>> modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")
>> modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
>> modparam("dispatcher", "ds_hash_size", 2)
>> --
>>
>>
>> but when i hit $ kamailio
>> out put:
>> ERROR: bad config file (4 errors)
>> --
>> logs :
>>
>> kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
>>Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor
>> preset: enabled)
>>Active: failed (Result: exit-code) since Wed 2019-11-20 15:16:34 IST;
>> 16s ago
>>   Process: 25747 ExecStart=/usr/sbin/kamailio -P
>> /var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u
>> $USER -g $GROUP (code=exited, status=255/EXCEPTION)
>>
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service:
>> Service RestartSec=100ms expired, scheduling restart.
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service:
>> Scheduled restart job, restart counter is at 5.
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: Stopped Kamailio
>> (OpenSER) - the Open Source SIP Server.
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service: Start
>> request repeated too quickly.
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service:
>> Failed with result 'exit-code'.
>> Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: Failed to start
>> Kamailio (OpenSER) - the Open Source SIP Server.
>> -
>>
>> plz help me
>>
>>
>>
>> --
>>
>>
>>
>>
>> Thank you
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio Dispatcher error

2019-11-20 Thread Gaurav Bmotra
hi Johansson
thank you for reply
i got this in logs kamailio-c
...
 0(26418) ERROR:  [core/modparam.c:140]: set_mod_param_regex():
parameter  of type <1> not found in module 
 0(26418) CRITICAL:  [core/cfg.y:3510]: yyerror_at(): parse error in
config file /etc/kamailio/kamailio.cfg, line 304, column 50: Can't set
module parameter
 0(26418) ERROR:  [core/modparam.c:140]: set_mod_param_regex():
parameter  of type <1> not found in module 
 0(26418) CRITICAL:  [core/cfg.y:3510]: yyerror_at(): parse error in
config file /etc/kamailio/kamailio.cfg, line 305, column 50: Can't set
module parameter
 0(26418) ERROR:  [core/modparam.c:140]: set_mod_param_regex():
parameter  of type <1> not found in module 
 0(26418) CRITICAL:  [core/cfg.y:3510]: yyerror_at(): parse error in
config file /etc/kamailio/kamailio.cfg, line 306, column 50: Can't set
module parameter
 0(26418) ERROR:  [core/modparam.c:140]: set_mod_param_regex():
parameter  of type <1> not found in module 
 0(26418) CRITICAL:  [core/cfg.y:3510]: yyerror_at(): parse error in
config file /etc/kamailio/kamailio.cfg, line 307, column 52: Can't set
module parameter
ERROR: bad config file (4 errors)
 0(26418) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
not initialized

On Wed, Nov 20, 2019 at 3:33 PM Olle E. Johansson  wrote:

>
>
> On 20 Nov 2019, at 10:55, Gaurav Bmotra 
> wrote:
>
> ERROR: bad config file (4 errors)
>
>
> Check the syslog for details on these four errors or start kamailio in the
> foreground with "kamailio -c” to see them.
>
> /O
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio Dispatcher error

2019-11-20 Thread Gaurav Bmotra
hi
i want to use dispatcher Module and following is the config..

---
loadmodule "dispatcher.so"
--
modparam("dispatcher", "db_url", "mysql://kamailio:kamailiorw@localhost
/kamailio")
modparam("dispatcher", "table_name", "dispatcher")
modparam("dispatcher", "flags", 2)
modparam("dispatcher", "dst_avp", "$avp(AVP_DST)")
modparam("dispatcher", "grp_avp", "$avp(AVP_GRP)")
modparam("dispatcher", "cnt_avp", "$avp(AVP_CNT)")
modparam("dispatcher", "dstid_avp", "$avp(dsdstid)")
modparam("dispatcher", "ds_hash_size", 2)
--


but when i hit $ kamailio
out put:
ERROR: bad config file (4 errors)
--
logs :

kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
   Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-11-20 15:16:34 IST;
16s ago
  Process: 25747 ExecStart=/usr/sbin/kamailio -P
/var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY -u
$USER -g $GROUP (code=exited, status=255/EXCEPTION)

Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service: Service
RestartSec=100ms expired, scheduling restart.
Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service:
Scheduled restart job, restart counter is at 5.
Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: Stopped Kamailio
(OpenSER) - the Open Source SIP Server.
Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service: Start
request repeated too quickly.
Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: kamailio.service: Failed
with result 'exit-code'.
Nov 20 15:16:34 gaurav-Latitude-E7240 systemd[1]: Failed to start Kamailio
(OpenSER) - the Open Source SIP Server.
-

plz help me



-- 




Thank you



*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] RTP port range in kuberenetes for kamailio

2019-11-14 Thread Gaurav Bmotra
hi
i have issue  audio issue with kamailio in kubernetse cluster
anybody , idea how to fix it in kubernetses

thank you

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio on kubernetes

2019-11-01 Thread Gaurav Bmotra
hello
everyone i m working on a project kamailio on kubernetes
for high availability and auto scalability
but as i  m able to run it in side the cluster with using kubenetes feature
but having issue to access the service form outside the cluster

i m using the ingress in kubernetse to point  the service
its flow like that

domain.com:80
--ingress-controlerkamailio-service:80:5060---
POD(kamailio)5060
ISSUE IS I M NOT GETING CONNECTION BITWEEN DOMAIN.COM TO POD(kamailio)
is there any one ho can help me in this

thank you



-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Command Line SIP client

2019-10-31 Thread Gaurav Bmotra
hi *David Villasmil*
how can i use sipp to register a account
like i wan to register on this
---
user : test
pass: 1234
domain: sip-test.com
transport: tls
port :5061
-
thank you

On Thu, Oct 31, 2019 at 3:13 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> There also sipp
>
> On Thu, 31 Oct 2019 at 08:19, mayamatakeshi 
> wrote:
>
>> hi,
>> i like this one:
>> https://github.com/alfredh/baresip
>>
>>
>> On Thursday, October 31, 2019, Gaurav Bmotra 
>> wrote:
>>
>>> hi
>>> i m looking for Command Line SIP client , where i can register user form
>>> CLI for testing
>>>
>>> thank you
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Command Line SIP client

2019-10-31 Thread Gaurav Bmotra
hi
i m looking for Command Line SIP client , where i can register user form
CLI for testing

thank you

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] environmental variables in kamailio

2019-10-24 Thread Gaurav Bmotra
hi
i using kamailio 5.2
is it possible to use environmental variables value in kamailio.cfg
like i want to use local ip and public ip in config file

 listen=udp:$(local_ip):5060 advertise  $(public_ip):5060
if iti is possible then how i can use this


thank you
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio run in docker not working

2019-09-22 Thread Gaurav Bmotra
Hi
Thank you for reply
Here I can get kamailio_min-without_os_files.tar.gz file?

On Sun, Sep 22, 2019, 11:57 AM Sergey Safarov  wrote:

> If you want use custom start command then need use command like
> "kamailio -DD -E"
>
> https://github.com/kamailio/kamailio-ci/blob/master/alpine/Dockerfile.alpine#L5
>
> If you use bash init script then need use
> "exec kamailio -DD -E"
>
> On Sat, Sep 21, 2019 at 11:38 PM Gaurav Bmotra 
> wrote:
>
>> hi
>>  i m trying to run kamailio in docker
>> this kamailio/kamailio-ci:master-alpine
>> but inside the container kamailio not running
>> if i rung this
>> / # /etc/init.d/kamailio status
>> sh: /etc/init.d/kamailio: not found
>>
>> plz help me
>> thanks
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio run in docker not working

2019-09-21 Thread Gaurav Bmotra
hi
 i m trying to run kamailio in docker
this kamailio/kamailio-ci:master-alpine
but inside the container kamailio not running
if i rung this
/ # /etc/init.d/kamailio status
sh: /etc/init.d/kamailio: not found

plz help me
thanks
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Gaurav Bmotra
Hi
Thank you for your response
Yes I m looking for
HA AND scalability

On Fri, Sep 13, 2019, 12:48 AM Mack Hendricks  wrote:

> What features of K8s are you looking to benefit from?
>
> - Service Discovery (SD) of media servers
> - HA
> - Scalability
>
> If just SD then using Consul would give you that without the overhead of
> K8s
>
> On Thu, Sep 12, 2019 at 2:01 PM Gaurav Bmotra 
> wrote:
>
>> hi
>> i want to run kamailio in kubernetes deployment and i want to run
>> this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help
>>
>> thank you
>>
>> --
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] RUN kamailio in kubernetes

2019-09-12 Thread Gaurav Bmotra
hi
i want to run kamailio in kubernetes deployment and i want to run
this kamailio/kamailio-ci:5.2 image in to the kubernetse .. can anyone help

thank you

-- 



*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio status get Active (Exited)

2019-09-11 Thread Gaurav Bmotra
hi
i m using kamailio 5.1, with -m 512 -M 8
it stop registering user SIP
anf in status it shows

--
● kamailio.service - LSB: Start the Kamailio SIP proxy server
   Loaded: loaded (/etc/init.d/kamailio; generated)
   Active: active (exited) since Sat 2019-09-07 11:05:16 UTC; 3 days ago
 Docs: man:systemd-sysv-generator(8)

Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17708]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17677]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17714]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17685]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17681]: {1 1094155754 NOTIFY
TwGwmzx4wINnraJs1Gh3Kg..} INFO:  [main.c:819]: sig_usr(): s… received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17704]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17689]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17693]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17691]: INFO: 
[main.c:819]: sig_usr(): signal 15 received
Sep 11 06:38:36 talk /usr/local/sbin/kamailio[17674]: INFO: 
[core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Hint: Some lines were ellipsized, use -l to show in full.
-

plz help
thank you

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] crash/mem leaks on low memory

2019-09-03 Thread Gaurav Bmotra
hi Vlad
thanks you for reply
 kamailio shared memory is already 512 (kamailio -m 512)
but still same error getting  in logs

On Tue, Sep 3, 2019 at 6:44 PM Vlad Toma  wrote:

> Hello,
> You should try to increase the ram memory for kamailio when you start it
> ( kamailio -m 256) . I think your problem is similar to this one
> https://github.com/kamailio/kamailio/issues/1635
>
> Regards,
> Vlad
>
>
> On Tue, Sep 3, 2019 at 3:46 PM Gaurav Bmotra 
> wrote:
>
>> hi
>> i m using kamailio 5.1 on Ubuntu 18.04
>> i m geting this error in logs and it stop registration form soft-phone
>> plz help me
>>
>>
>> 
>> WARNING: tls [tls_init.c:778]: init_tls_h(): openssl bug #1491 (crash/mem
>> leaks on low memory) workaround enabled (on low memory tls operations will
>> fail preemptively) with free memory th
>>
>> 
>> kamailio.service - LSB: Start the Kamailio SIP proxy server
>>Loaded: loaded (/etc/init.d/kamailio; generated)
>>Active: active (exited) since Tue 2019-09-03 12:09:19 UTC; 26min ago
>>  Docs: man:systemd-sysv-generator(8)
>>   Process: 27237 ExecStart=/etc/init.d/kamailio start (code=exited,
>> status=0/SUCCESS)
>>
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
>> [core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been
>> changed to 7077888
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
>> [main.c:2636]: main(): processes (at least): 27 - shm size: 536870912 - pkg
>> size: 8388608
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: dispatcher
>> [dispatcher.c:813]: ds_warn_fixup(): failover functions used, but required
>> AVP parameters are NULL -- feature disabled
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
>> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially
>> 212992
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
>> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally
>> 425984
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: 
>> [core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7f0b41b001f4, 16) on
>> 172.31.35.49:5091 : Address already in use
>> Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
>> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
>>
>> --
>> thank you
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] crash/mem leaks on low memory

2019-09-03 Thread Gaurav Bmotra
hi
i m using kamailio 5.1 on Ubuntu 18.04
i m geting this error in logs and it stop registration form soft-phone
plz help me


WARNING: tls [tls_init.c:778]: init_tls_h(): openssl bug #1491 (crash/mem
leaks on low memory) workaround enabled (on low memory tls operations will
fail preemptively) with free memory th

kamailio.service - LSB: Start the Kamailio SIP proxy server
   Loaded: loaded (/etc/init.d/kamailio; generated)
   Active: active (exited) since Tue 2019-09-03 12:09:19 UTC; 26min ago
 Docs: man:systemd-sysv-generator(8)
  Process: 27237 ExecStart=/etc/init.d/kamailio start (code=exited,
status=0/SUCCESS)

Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
[core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been
changed to 7077888
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
[main.c:2636]: main(): processes (at least): 27 - shm size: 536870912 - pkg
size: 8388608
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: dispatcher
[dispatcher.c:813]: ds_warn_fixup(): failover functions used, but required
AVP parameters are NULL -- feature disabled
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
[core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially
212992
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
[core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally
425984
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: 
[core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7f0b41b001f4, 16) on
172.31.35.49:5091 : Address already in use
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: 
[core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized

-- 
thank you







*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] kamailio stop registering agents

2019-08-27 Thread Gaurav Bmotra
hi
thank you for reply
i think it is the issue due to memory
it is using default values (-m 64 -M 8 )
can you plz hell me how to increase this
i m tring to run this (kamailio -m 512 -M 8) , but it is not working
still values same as default

plz help

thanks




On Tue, Aug 27, 2019 at 4:21 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Can you provide with the log when users try to register and kamailio
> doesn’t answer?
>
> On Tue, 27 Aug 2019 at 12:40, Gaurav Bmotra 
> wrote:
>
>> hi
>> i m using kamailio 5.1,,, on ubuntu 18.4
>> installed form source 
>>
>> after few days it stop registering client to kamailio it resolved
>> after restart service ... same after few day
>>
>> loges 
>> -
>>  kamailio.service - LSB: Start the Kamailio SIP proxy server
>>Loaded: loaded (/etc/init.d/kamailio; generated)
>>Active: active (exited) since Wed 2019-08-21 08:07:44 UTC; 5 days ago
>>  Docs: man:systemd-sysv-generator(8)
>>   Process: 1936 ExecStart=/etc/init.d/kamailio start (code=exited,
>> status=0/SUCCESS)
>>
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
>> [core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been
>> changed to
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
>> [main.c:2636]: main(): processes (at least): 27 - shm size: 67108864 - pkg
>> size: 838
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: ERROR: dispatcher
>> [dispatcher.c:813]: ds_warn_fixup(): failover functions used, but required
>> AVP
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
>> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially
>> 212992
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
>> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally
>> 425984
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: ERROR: 
>> [core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7fbabac2c1f4, 16) on
>> 172.31.35.49:509
>> Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
>> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
>> Aug 21 08:07:44 talk kamailio[1936]:  *  already running
>> Aug 21 08:07:44 talk kamailio[1936]:...done.
>> Aug 21 08:07:44 talk systemd[1]: Started LSB: Start the Kamailio SIP
>> proxy server.
>>
>> plz help
>> thank you
>>
>> --
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio stop registering agents

2019-08-27 Thread Gaurav Bmotra
hi
i m using kamailio 5.1,,, on ubuntu 18.4
installed form source 

after few days it stop registering client to kamailio it resolved after
restart service ... same after few day

loges 
-
 kamailio.service - LSB: Start the Kamailio SIP proxy server
   Loaded: loaded (/etc/init.d/kamailio; generated)
   Active: active (exited) since Wed 2019-08-21 08:07:44 UTC; 5 days ago
 Docs: man:systemd-sysv-generator(8)
  Process: 1936 ExecStart=/etc/init.d/kamailio start (code=exited,
status=0/SUCCESS)

Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
[core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been
changed to
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
[main.c:2636]: main(): processes (at least): 27 - shm size: 67108864 - pkg
size: 838
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: ERROR: dispatcher
[dispatcher.c:813]: ds_warn_fixup(): failover functions used, but required
AVP
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
[core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially
212992
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
[core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally
425984
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: ERROR: 
[core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7fbabac2c1f4, 16) on
172.31.35.49:509
Aug 21 08:07:44 talk /usr/local/sbin/kamailio[1969]: INFO: 
[core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Aug 21 08:07:44 talk kamailio[1936]:  *  already running
Aug 21 08:07:44 talk kamailio[1936]:...done.
Aug 21 08:07:44 talk systemd[1]: Started LSB: Start the Kamailio SIP proxy
server.

plz help
thank you

-- 



*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] IM Chat facility in Kamailio

2019-07-19 Thread Gaurav Bmotra
hi
i m using kamailio 5.1.2 , on Ubuntu 18. LTS
existing setup is working fine with audio and video call ,,,  ut now i wan
to add chat feature in it ... so plz help me how can i implement chat IM in
to it
thanks

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] I need to hold Leg A of a call for a random amount of time

2019-07-15 Thread Gaurav Bmotra
hi i m using kamailio
where i m tring to hold the call bitween switch A and Switch B
PSTN -> Switch A -> SWITCHB -> SwitchC -> DESTINATION

When PSTN hangs up, I need the call to stay up between SwitchA and B for an
arbitrary number of seconds or minute
plz help
thank you
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] call stuck and disconnect in kamailio

2019-07-12 Thread Gaurav Bmotra
no it just stuck and disconnected at client end
in SIP logs it show the bye 200 after about 1 min after stuck

On Sat, Jul 13, 2019 at 10:54 AM Brandon Armstead  wrote:

> Are there any errors, is it an issue with signaling?  Is it a normal
> disconnect?  Ie bye 200 etc or?
>
> On Fri, Jul 12, 2019 at 10:14 PM Gaurav Bmotra 
> wrote:
>
>> hi
>> i m using kamailio 5.1.2 with ubuntu 18.4 LTS , and rtpproxy (Basic
>> version: 20040107
>> )
>> we are using it for video calling everything  is working fine but call
>> get stuck after about 2 min and disconnect
>> plz help
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] call stuck and disconnect in kamailio

2019-07-12 Thread Gaurav Bmotra
hi
i m using kamailio 5.1.2 with ubuntu 18.4 LTS , and rtpproxy (Basic
version: 20040107
)
we are using it for video calling everything  is working fine but call get
stuck after about 2 min and disconnect
plz help
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] install mongoDB module with kamailio-cli doker image

2019-07-01 Thread Gaurav Bmotra
hi did you update kamailio-cli image for mongoDB

thank you

On Fri, Jun 28, 2019 at 7:09 PM Gaurav Bmotra 
wrote:

> thanks for reply
> i have create feature
> https://github.com/kamailio/kamailio/issues/1995
>
> On Fri, Jun 28, 2019 at 6:31 PM Sergey Safarov 
> wrote:
>
>> Could you open feature request here
>> <https://github.com/kamailio/kamailio/issues> and I try update image
>>
>> On Fri, Jun 28, 2019 at 3:40 PM Gaurav Bmotra 
>> wrote:
>>
>>> hi
>>> i wan to install mongodb module in kamailio/kamailio-ci image
>>>
>>> pl help me
>>> thnaks
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
>

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio wiht PJSIP IOS client

2019-06-30 Thread Gaurav Bmotra
hi
i na using kamailio 5.1.2 and i m developing  ios client with PJSIP
audio is working fine ..but on video it work one side but not showing other
side
it is working fine on other client like zoiper for audio/video both
can anyone help me

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] install mongoDB module with kamailio-cli doker image

2019-06-28 Thread Gaurav Bmotra
thanks for reply
i have create feature
https://github.com/kamailio/kamailio/issues/1995

On Fri, Jun 28, 2019 at 6:31 PM Sergey Safarov  wrote:

> Could you open feature request here
> <https://github.com/kamailio/kamailio/issues> and I try update image
>
> On Fri, Jun 28, 2019 at 3:40 PM Gaurav Bmotra 
> wrote:
>
>> hi
>> i wan to install mongodb module in kamailio/kamailio-ci image
>>
>> pl help me
>> thnaks
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] install mongoDB module with kamailio-cli doker image

2019-06-28 Thread Gaurav Bmotra
hi
i wan to install mongodb module in kamailio/kamailio-ci image

pl help me
thnaks
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] MongoDB for Kamailio

2019-06-26 Thread Gaurav Bmotra
hi
i m using kamailio 5.1 , on Ubuntu 18.4
and right now i m using Maria DB for kamailio , but i want to migrate my
Maria data to MingoDB ,,  plz help me how can i use MOngoDB with kamailio

thanks

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] does kamailio support graph database ??

2019-06-25 Thread Gaurav Bmotra
hi i m using kamailio 5.1 ,
does kamailio support graph database ??

thank you
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio config file flow chart

2019-06-22 Thread Gaurav Bmotra
hi
i m looking for kamailio config file flow chart ,,, if any one have plz
provide
thanks

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] restrict calls to only registered users

2019-06-17 Thread Gaurav Bmotra
hi
i m using kamailio 5.1  , with UBUNTU 18.1
i want to restrict call to only registered user ,,, plz help me
thank you
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio Load Balancing

2019-05-30 Thread Gaurav Bmotra
thanks Karsten

On Thu, May 30, 2019 at 3:03 PM Karsten Horsmann 
wrote:

> Hi,
>
> You should try to understand the kamailio.cfg with the help of the xlog
> module you can send informations where you are in the config at which
> point. The debug option in the default config helps also to understand more
> what's going on.
> The wiki and the module documents helps a lot.
>
> The howtos for (most Asterisk) dispatcher setups would work also with
> freeswitch.
>
> https://www.kamailio.org/docs/modules/5.1.x/modules/xlog.html
>
> Cheers
> Karsten Horsmann
>
> Gaurav Bmotra  schrieb am Do., 30. Mai 2019,
> 08:11:
>
>> Hi
>> I m going to doing like that
>> kamailio :192.168.XX.X1 (register server )
>> Freeswitch :192.168.XX.X2 (Media sever)
>> Freeswitch :192.168.XX.X3 (Media sever)
>>
>> i want to use kamailio as load balance also ,it will send the call to one
>> of the FS which is free from congestion
>> plz help me how can i implement load balance on kamailio for two FS's
>>
>> thank you
>>
>> Gaurav
>>
>>
>> On Thu, May 30, 2019 at 1:06 AM Gaurav Bmotra 
>> wrote:
>>
>>> thank you so much for your reply .
>>>
>>> On Thu, May 30, 2019 at 1:04 AM Karsten Horsmann 
>>> wrote:
>>>
>>>> Hi Gaurav,
>>>>
>>>> If you describe more what you want to do then it's easier to understand
>>>> and help.
>>>>
>>>> The default shipped kamailio.cfg is a good starting point for you.
>>>>
>>>> You can load balance (I assume calls) with the dispatcher module for
>>>> example
>>>>
>>>> For example this older howto
>>>>
>>>>
>>>> https://www.kamailio.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha
>>>>
>>>> And the matching module docu.
>>>> https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html
>>>>
>>>> Cheers
>>>> Karsten Horsmann
>>>>
>>>> Gaurav Bmotra  schrieb am Mi., 29. Mai
>>>> 2019, 18:58:
>>>>
>>>>> i m working on Voip  app so it will register on kamailio
>>>>> and i want that is case of congestion  kamailio  will balance the load
>>>>> so for that i need help
>>>>>
>>>>> On Wed, May 29, 2019 at 9:44 PM David Villasmil <
>>>>> david.villasmil.w...@gmail.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> What have you tried?
>>>>>>
>>>>>> On Wed, 29 May 2019 at 16:56, Gaurav Bmotra <
>>>>>> saigauravmehr...@gmail.com> wrote:
>>>>>>
>>>>>>> HI
>>>>>>> i am using kamailio 5.1.2 With Ubuntu 18.04.2 LTS
>>>>>>> and using Freeswitch as Media server and kamailio as  Register
>>>>>>> server
>>>>>>> i wan to implement  load balance on this
>>>>>>> plz help
>>>>>>>
>>>>>>> thank you
>>>>>>> Gaurav
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *Regards:*
>>>>>>> Gaurav Kumar
>>>>>>>
>>>>>>> ___
>>>>>>> Kamailio (SER) - Users Mailing List
>>>>>>> sr-users@lists.kamailio.org
>>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> David Villasmil
>>>>>> email: david.villasmil.w...@gmail.com
>>>>>> phone: +34669448337
>>>>>> ___
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users@lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Regards:*
>>>>> Gaurav Kumar
>>>>>
>>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio Load Balancing

2019-05-29 Thread Gaurav Bmotra
thank you so much for your reply .

On Thu, May 30, 2019 at 1:04 AM Karsten Horsmann 
wrote:

> Hi Gaurav,
>
> If you describe more what you want to do then it's easier to understand
> and help.
>
> The default shipped kamailio.cfg is a good starting point for you.
>
> You can load balance (I assume calls) with the dispatcher module for
> example
>
> For example this older howto
>
> https://www.kamailio.org/dokuwiki/doku.php/asterisk:load-balancing-and-ha
>
> And the matching module docu.
> https://kamailio.org/docs/modules/5.1.x/modules/dispatcher.html
>
> Cheers
> Karsten Horsmann
>
> Gaurav Bmotra  schrieb am Mi., 29. Mai 2019,
> 18:58:
>
>> i m working on Voip  app so it will register on kamailio
>> and i want that is case of congestion  kamailio  will balance the load so
>> for that i need help
>>
>> On Wed, May 29, 2019 at 9:44 PM David Villasmil <
>> david.villasmil.w...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> What have you tried?
>>>
>>> On Wed, 29 May 2019 at 16:56, Gaurav Bmotra 
>>> wrote:
>>>
>>>> HI
>>>> i am using kamailio 5.1.2 With Ubuntu 18.04.2 LTS
>>>> and using Freeswitch as Media server and kamailio as  Register server
>>>> i wan to implement  load balance on this
>>>> plz help
>>>>
>>>> thank you
>>>> Gaurav
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Regards:*
>>>> Gaurav Kumar
>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> --
>>> Regards,
>>>
>>> David Villasmil
>>> email: david.villasmil.w...@gmail.com
>>> phone: +34669448337
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio Lord Balance

2019-05-29 Thread Gaurav Bmotra
guys by mistake that massage was sent LOL
but i have sent the new for the same let me know it you can help

thanks

On Wed, May 29, 2019 at 11:13 PM Charles Sharp 
wrote:

> ...and also with you. Let us pray to Alice and Bob.
> On 5/29/19 12:11 PM, Sergiu Pojoga wrote:
>
> Lord is upon you, lol
>
> On Wed, May 29, 2019, 11:52 AM Gaurav Bmotra, 
> wrote:
>
>> hi
>> i m using kamailio 5.1 with Ubuntu 18.04.2 LTS
>> and freeswitch as Media server
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio Load Balancing

2019-05-29 Thread Gaurav Bmotra
HI
i am using kamailio 5.1.2 With Ubuntu 18.04.2 LTS
and using Freeswitch as Media server and kamailio as  Register server
i wan to implement  load balance on this
plz help

thank you
Gaurav

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio Lord Balance

2019-05-29 Thread Gaurav Bmotra
hi
i m using kamailio 5.1 with Ubuntu 18.04.2 LTS
and freeswitch as Media server


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RE-invite in case of SIP is Active

2019-05-09 Thread Gaurav Bmotra
OK THANKS (Alex)  "for you r quick reply "

On Thu, May 9, 2019 at 12:48 PM Alex Balashov 
wrote:

> Hi Gaurav,
>
> Re-invites are generated by user agents/endpoints and Kamailio simply
> relays them as in-dialog requests. So, from a Kamailio point of view,
> there’s nothing to be done.
>
> —
> Sent from mobile, with due apologies for brevity and errors.
>
> On May 9, 2019, at 9:05 AM, Gaurav Bmotra 
> wrote:
>
> HI
> i m gaurav
> i have installed kamailio 5.1.x on Ubuntu server 18.4
>
> How can i use Re-invite in kamailio if SIP is active
> so that call can reconnect in case of network loss
>
> plz help
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] RE-invite in case of SIP is Active

2019-05-09 Thread Gaurav Bmotra
HI
i m gaurav
i have installed kamailio 5.1.x on Ubuntu server 18.4

How can i use Re-invite in kamailio if SIP is active
so that call can reconnect in case of network loss

plz help

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Call reconnect in case of loss network

2019-05-09 Thread Gaurav Bmotra
HI
i m gaurav
i have installed kamailio 5.1.x on Ubuntu server 18.4

when i call from one to another extension , in case of loss network it
disconnect the call or stuck there , how can i make it as re-connection
when network loss  , and it will try to reconnect for some seconds like 30
sec
"Example for callingn skype it reconnectcall in case of lossnetwork "
plz help

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Vide SIP conferencing kamailio with freeswitch

2019-04-28 Thread Gaurav Bmotra
HI
i m gaurav
i have installed kamailio 5.1.x on Ubuntu server 18.4
i want a solution for video conferencing with kamailio as i am using
freeswitch with it
is there reference guide for that
plz help
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Best tutorial for beginners kamailio

2019-04-22 Thread Gaurav Bmotra
Hi
Plz sujjest best kamailio tutorial or any source where a beginner can start
kamailio..

Thanks
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio, TLS, and LetsEncrypt

2019-04-19 Thread Gaurav Bmotra
thank you for reply
i use following link to install
"
https://computingforgeeks.com/how-to-install-latest-kamailio-sip-server-on-ubuntu-18-04-ubuntu-16-04/
"

On Fri, Apr 19, 2019 at 7:22 PM Giovanni Maruzzelli 
wrote:

> Kamailio is crashing, I doubt that is related with the kind of
> certificates.
>
> How do you installed Kamailio?
>
> -giovanni
>
>
> On Fri, Apr 19, 2019 at 3:27 PM Gaurav Bmotra 
> wrote:
>
>> thanks for reply
>> it " LetsEncrypt  "creates the certs
>> /etc/letsencrypt/csr/_csr-certbot.pem
>>  /etc/letsencrypt/keys/_key-certbot.pem
>>
>>
>> On Fri, Apr 19, 2019 at 6:45 PM David Villasmil <
>> david.villasmil.w...@gmail.com> wrote:
>>
>>> How did you create the certs? In terms of kamailio.
>>>
>>> On Fri, 19 Apr 2019 at 14:12, Gaurav Bmotra 
>>> wrote:
>>>
>>>> HI
>>>> this is Gaurav
>>>> im using kamailio 5.1.2 on ubuntu 18.4
>>>>
>>>> i am trying to configure LetsEncrypt (tls) for kamailio sing following
>>>> link
>>>> https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/
>>>>
>>>> but unable to start kamailio ,i m getting these error
>>>>
>>>> --->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>> Apr 19 11:23:57 ubuntufresh systemd[1]: Starting Kamailio (OpenSER) -
>>>> the Open Source SIP Server...
>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
>>>> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if
>>>> you want to use it, load sctp module
>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
>>>> [core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method
>>>> (auto detected)
>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Listening on
>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Aliases:
>>>> Apr 19 11:23:58 ubuntufresh kernel: kamailio[5378]: segfault at 0 ip
>>>> 7f8d6fdac646 sp 7ffe8e2337f8 error 4 in libc-2.27.so
>>>> [7f8d6fcfb000+1e7000]
>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: ERROR: 
>>>> [core/daemonize.c:303]: daemonize(): Main process exited before writing to
>>>> pipe
>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Control
>>>> process exited, code=exited status=255
>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Failed with
>>>> result 'exit-code'.
>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: Failed to start Kamailio
>>>> (OpenSER) - the Open Source SIP Server.
>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>
>>>> plz help
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *Regards:*
>>>> Gaurav Kumar
>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> --
>>> Regards,
>>>
>>> David Villasmil
>>> email: david.villasmil.w...@gmail.com
>>> phone: +34669448337
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> OpenTelecom.IT
> cell: +39 347 266 56 18
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio, TLS, and LetsEncrypt

2019-04-19 Thread Gaurav Bmotra
thanks for reply
it " LetsEncrypt  "creates the certs
/etc/letsencrypt/csr/_csr-certbot.pem
 /etc/letsencrypt/keys/_key-certbot.pem


On Fri, Apr 19, 2019 at 6:45 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> How did you create the certs? In terms of kamailio.
>
> On Fri, 19 Apr 2019 at 14:12, Gaurav Bmotra 
> wrote:
>
>> HI
>> this is Gaurav
>> im using kamailio 5.1.2 on ubuntu 18.4
>>
>> i am trying to configure LetsEncrypt (tls) for kamailio sing following
>> link
>> https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/
>>
>> but unable to start kamailio ,i m getting these error
>>
>> --->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> Apr 19 11:23:57 ubuntufresh systemd[1]: Starting Kamailio (OpenSER) - the
>> Open Source SIP Server...
>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
>> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if
>> you want to use it, load sctp module
>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
>> [core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method
>> (auto detected)
>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Listening on
>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Aliases:
>> Apr 19 11:23:58 ubuntufresh kernel: kamailio[5378]: segfault at 0 ip
>> 7f8d6fdac646 sp 7ffe8e2337f8 error 4 in libc-2.27.so
>> [7f8d6fcfb000+1e7000]
>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: ERROR: 
>> [core/daemonize.c:303]: daemonize(): Main process exited before writing to
>> pipe
>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Control process
>> exited, code=exited status=255
>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Failed with
>> result 'exit-code'.
>> Apr 19 11:23:58 ubuntufresh systemd[1]: Failed to start Kamailio
>> (OpenSER) - the Open Source SIP Server.
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>
>> plz help
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio, TLS, and LetsEncrypt

2019-04-19 Thread Gaurav Bmotra
HI
this is Gaurav
im using kamailio 5.1.2 on ubuntu 18.4

i am trying to configure LetsEncrypt (tls) for kamailio sing following link
https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/

but unable to start kamailio ,i m getting these error

--->>>
Apr 19 11:23:57 ubuntufresh systemd[1]: Starting Kamailio (OpenSER) - the
Open Source SIP Server...
Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
[core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if
you want to use it, load sctp module
Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: 
[core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method
(auto detected)
Apr 19 11:23:58 ubuntufresh kamailio[5365]: Listening on
Apr 19 11:23:58 ubuntufresh kamailio[5365]: Aliases:
Apr 19 11:23:58 ubuntufresh kernel: kamailio[5378]: segfault at 0 ip
7f8d6fdac646 sp 7ffe8e2337f8 error 4 in libc-2.27.so
[7f8d6fcfb000+1e7000]
Apr 19 11:23:58 ubuntufresh kamailio[5365]: ERROR: 
[core/daemonize.c:303]: daemonize(): Main process exited before writing to
pipe
Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Control process
exited, code=exited status=255
Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Failed with
result 'exit-code'.
Apr 19 11:23:58 ubuntufresh systemd[1]: Failed to start Kamailio (OpenSER)
- the Open Source SIP Server.
<<

plz help



-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] TLS implementation for kamailio

2019-04-18 Thread Gaurav Bmotra
HI
this is Gaurav
im using kamailio 5.1.2 on ubuntu 18.4

i want to implement TLs for kamailio
plz help
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Does Kamailio provide any API for other program to create sip account

2019-04-18 Thread Gaurav Bmotra
Hi i am Gaurav
I am developing a sip VoIP app in Android, which want to provide the
feature of allowing user to create sip account from client side. I use
Kamailio as sip server.
My thought is when user register to the the user account system, the user
account system can communicate with Kamailio, create a sip account
associated with the user and pass the sip account to the client, the client
then can configure itself using the sip account.
Does Kamailio provide any API or module for me to do this?
Thanks!

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] video chat with kamailio

2019-04-18 Thread Gaurav Bmotra
HI
this is Gaurav
im using kamailio 5.1.2 on ubuntu 18.4

i m working on video chat app
so how can i use kamailio for video chat
OR i need to use other integration like freeSwitch with kamailio ?

Plz help

-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Use domain instead of IP in kamailio for register user

2019-04-18 Thread Gaurav Bmotra
thank  you  Vishal   for your reply
yes its working but i need to put port separately like "sip.domain.com:5070"
as i have change the port

On Thu, Apr 18, 2019 at 12:40 PM Vishal Pai  wrote:

> Hi Gaurav
>
> In cfg file you have to enable following thing
>
> /* add local domain aliases */
> alias="sip.mydomain.com"
>
> If required point that domain with IP address in A records of DNS manager,
>
> Thanks
>
> On Thu, Apr 18, 2019 at 12:34 PM Gaurav Bmotra 
> wrote:
>
>> HI
>> this is Gaurav
>> im using kamailio 5.1.2 on ubuntu 18.4
>>
>> i wan to to use domain instead of IP for registration in kamailio
>> Plz help
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Use domain instead of IP in kamailio for register user

2019-04-18 Thread Gaurav Bmotra
HI
this is Gaurav
im using kamailio 5.1.2 on ubuntu 18.4

i wan to to use domain instead of IP for registration in kamailio
Plz help
-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] How can i change kamailio SIP port form 5060 to any other

2019-04-17 Thread Gaurav Bmotra
thank you Bonjour
its working with new port

On Wed, Apr 17, 2019 at 11:27 AM Bonjour Madame 
wrote:

> Edit the kamailio.cfg file
> # vim /usr/local/etc/kamailio/kamailio.cfg
>
> Then change the port number where it says "listen=IP_ADDRESS:PORT"
> Or where it says "port"
>
> On Wed, Apr 17, 2019, 12:44 AM Gaurav Bmotra 
> wrote:
>
>> HI
>> this is Gaurav
>> im using kamailio 5.1.2 on ubuntu 18.4
>> i want to change kamailio SIP port 5060 to other port for security
>> purpose
>> plz help me
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>> *Regards:*
>> Gaurav Kumar
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] one way Audio issue

2019-04-12 Thread Gaurav Bmotra
i have installed kamailio 5.1.x on Ubuntu server 18.4
issue is i am able to connect the call but there is one way audio not both
way


as i have install rtpproxy also with following config
/etc/default/rtpproxy
EXTRA_OPTS="-F -s udp:127.0.0.1:7722 -l PUBLIC_IP -d DBUG:LOG_LOCAL0"

/etc/kamailio/kamailio.cnf
modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")


after restart kamailio i got this  logs

dev /usr/sbin/kamailio[6926]: INFO: rtpproxy [rtpproxy.c:1559]: rtpp_test():
rtp proxy  found, support for it enabled

during calling i got this logs

Apr 12 16:05:42 ip-172-31-38-198 /usr/sbin/kamailio[13477]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: rtpproxy
[rtpproxy.c:2588]: force_rtp_proxy(): incorre
Apr 12 16:05:42 ip-172-31-38-198 /usr/sbin/kamailio[13477]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} NOTICE: acc [acc.c:279]:
acc_log_request(): ACC: transaction
Apr 12 16:05:42 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: db_mysql
[km_dbase.c:127]: db_mysql_submit_query(): dr
Apr 12 16:05:42 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: 
[db_query.c:235]: db_do_insert_cmd(): error whi
Apr 12 16:05:42 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: acc [acc.c:477]:
acc_db_request(): failed to insert in
Apr 12 16:05:43 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13475]: {2 2 INVITE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: rtpproxy
[rtpproxy.c:2588]: force_rtp_proxy(): incorre
Apr 12 16:05:55 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 BYE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} NOTICE: acc [acc.c:279]:
acc_log_request(): ACC: transaction ans
Apr 12 16:05:55 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 BYE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: db_mysql
[km_dbase.c:127]: db_mysql_submit_query(): drive
Apr 12 16:05:55 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 BYE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: 
[db_query.c:235]: db_do_insert_cmd(): error while
Apr 12 16:05:55 ip-xxx-31-xxx-198 /usr/sbin/kamailio[13477]: {2 2 BYE
ZTRiYzM4ODMwZTEwMDY3YTE2ZWRlMWRiZDM1NmViNDM.} ERROR: acc [acc.c:477]: acc_db




Thanks
Gaurav





*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] [sr-dev] Audio missing during call

2019-04-12 Thread Gaurav Bmotra
thank you  Mikko for reply

1) i have just did the basic mofication in it
 *adding belloin lines in  top of configuration *
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_USRLOCDB
#!define WITH_ACCDB

and mention the Listning POSTs with public ip
listen=udp:Local_IP:5060 advertise Public_IP:5060

**No changes in Routing**
2)NO truble shutting done yet
3)I am using rtpproxy


On Fri, Apr 12, 2019 at 12:30 PM Mikko Lehto  wrote:

> Gaurav Bmotra  wrote:
>
> > HI i have install Kamailio 5.1.2 on Ubuntu 18.4
> > there is a audio issue , when we call call from one extension to another
> ,,
> > in bigning call goes good  , after 9-10 sec it miss audio for one side
> (one
> > side can hear other side can't hear )
>
> Hi, mailing list sr-dev is for Kamailio development related topics,
> please subscribe to sr-users for more general queries.
>
> Before posting, make sure you have described in detail your environment
> and also troubleshooting steps you have done so far:
> - what modifications you made to default configuration
> - what happens during SIP transactions in fail scenario
> - are you using RTP relay or not (rtpproxy/rtpengine)
> - what have you observed from packet captures
>
> Good luck
>
> --
> Mikko
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 








*Regards:*
Gaurav Kumar
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users