Re: [SR-Users] location

2017-01-04 Thread Slava Bendersky
hone.ip ] What exactly do you need to achieve? Maybe there are other options that you can use. Cheers, Daniel On 02/01/2017 15:12, Slava Bendersky wrote: Hello Daniel, Meaning if(!save("location", "0x04", "$var(aor)")) ---> $var(aor) ignored. It use

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
ou can use. Cheers, Daniel On 02/01/2017 15:12, Slava Bendersky wrote: Hello Daniel, Meaning if(!save("location", "0x04", "$var(aor)")) ---> $var(aor) ignored. It use default Contact. Here are the log $var(aor) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) + ":" + $(avp(rcvcontact){uri.port}); INFO:

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Daniel, Meaning if(!save("location", "0x04", "$var(aor)")) ---> $var(aor) ignored. It use default Contact. Here are the log $var(aor) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) + ":" + $(avp(rcvcontact){uri.port}); INFO:

Re: [SR-Users] location

2017-01-02 Thread Slava Bendersky
Hello Everyone, Is possible get help on issue ? I asked on IRC channel and another person so same problem with location save ? Slava. From: "volga629" To: "sr-users" Sent: Monday, December 26, 2016 1:13:49 PM Subject: [SR-Users] location Hello Everyone, Why save location will ignore

[SR-Users] location

2016-12-26 Thread Slava Bendersky
Hello Everyone, Why save location will ignore on pv var when trying save on reply 200 OK. if(is_method("REGISTER") && fnmatch("$rs", "200")) { xlog("L_INFO", "OnReply: Registration is $rs OK saving --> $avp(rcvcontact) in db\n"); $var(oar) = "sip:" + $tU + "@" + $(avp(rcvcontact){uri.host}) +

[SR-Users] msilo timestamp

2016-12-09 Thread Slava Bendersky
Hello Everyone, What format stored inc_time in msilo module ? I am trying convert it to human readable format, but time looks UTC SELECT FROM_UNIXTIME($(xavp(dbquery[$var(i)]=>inc_time)), '%M %D %Y %h:%i:%s') Slava. ___ SIP Express Router (SER) an

Re: [SR-Users] msilo

2016-12-04 Thread Slava Bendersky
the expense of a more complex configuration file. On the other hand, probably adds some privacy to the local platform operators, which have access only to the mysql, because the key will be in kamailio.cfg. For full privacy, the endpoints should do the encryption/decryption with a key they agr

Re: [SR-Users] msilo

2016-12-03 Thread Slava Bendersky
Hello Everyone, I need help with while loop. Can't find why it try go over only first value from db search and not each value. https://paste.fedoraproject.org/497911/48081139/ Any help thank you. Slava. From: "volga629" To: "sr-users" Sent: Sunday, 27 November, 2016 02:12:21 Subjec

Re: [SR-Users] msilo

2016-11-26 Thread Slava Bendersky
Hello Daniel, I am trying more simple example of $dbr in REGISTER first. Insert into location temporary data. The problem is not looping though all entries in database only last one. Which compare same entry 100 times. if(is_method("REGISTER")) { add_path_received(); xlog("L_INFO", "MSILO:

Re: [SR-Users] msilo

2016-11-26 Thread Slava Bendersky
Ok lua works right now. I was need remove "" in the value. Slava From: "volga629" To: "sr-users" Sent: Sunday, 27 November, 2016 00:29:39 Subject: Re: [SR-Users] msilo Hello Everyone, I tried use sr.pv.sets, but not sure how to pass value to it. #!/usr/bin/lua math.randomseed(os.tim

Re: [SR-Users] msilo

2016-11-26 Thread Slava Bendersky
Hello Everyone, I tried use sr.pv.sets, but not sure how to pass value to it. #!/usr/bin/lua math.randomseed(os.time()) ruid = string.format("uloc-%08x-%03x-%x", math.random(0x), math.random(0xfff), math.random(0xf)) print(ruid) ---> Works sr.pv.sets("$var(ruid)", "ruid") ---> In ka

Re: [SR-Users] msilo

2016-11-26 Thread Slava Bendersky
Hello Everyone, Can't find how actually return actual value from lua script not 1. Because my setup is pass through REGISTER to B2BUA, I can't use registrar module. I though insert manually, but location table require ruid entry. I installed small lua script to generate it. Not sure if this goo

Re: [SR-Users] msilo

2016-11-24 Thread Slava Bendersky
Hello Everyone, I am trying run small lua script to generate random formatted string, but always get 1. Is script need be set in special way ? That related to MSILO setup which I am trying to do. xlog("L_INFO", "MSILO: New user request saving contact [$ct]\n"); $var(ruid) = lua_dofile("/usr/b

Re: [SR-Users] msilo

2016-11-24 Thread Slava Bendersky
kamailio config you can use crypto module to encrypt a text and store it in a variable: - https://www.kamailio.org/docs/modules/stable/modules/crypto.html Then you can use sqlops to insert into the database. The issue comes when dumping stored messages... probably you can just replace msilo

Re: [SR-Users] msilo

2016-11-24 Thread Slava Bendersky
On the other hand, probably adds some privacy to the local platform operators, which have access only to the mysql, because the key will be in kamailio.cfg. For full privacy, the endpoints should do the encryption/decryption with a key they agreed before, without being known by the server. Che

Re: [SR-Users] msilo

2016-11-23 Thread Slava Bendersky
sht(a=>to)\r\n", "To"); $du = $sht(a=>to); xlog("SMS from --> $fU domain $fd\n"); xlog("-\n"); xlog("L_INFO", "FROM --> $avp(from)\n"); xlog("L_INFO", "OLD_TO --> $sht(b=>oldto

Re: [SR-Users] msilo

2016-11-16 Thread Slava Bendersky
, Federico On 15 Nov 2016 3:47 pm, "Slava Bendersky" < volga...@skillsearch.ca > wrote: BQ_BEGIN Hello Daniel, I am not programmer, but I want place request if kaamilio devs can complete it . Thanks Slava. From: "Daniel-Constantin Mierla" < mico...

Re: [SR-Users] msilo

2016-11-15 Thread Slava Bendersky
$sht(a=>to) = $avp(new_to); remove_hf("To"); insert_hf("To: $sht(a=>to)\r\n", "To"); $du = $sht(a=>to); } } From: "Federico Cabiddu" To: "sr-users" Sent: Tuesday, 15 November, 2016 11:07:44 Subject: Re: [SR-Users] msilo Hi Slava

Re: [SR-Users] msilo

2016-11-15 Thread Slava Bendersky
add a new parameter to m_store() that takes the body content. Are you asking for more details of how can be done? Cheers, Daniel On 13/11/16 07:08, Slava Bendersky wrote: Hello Everyone, I asking question/request to add improvement for msilo module where will have ability set $avp(i

[SR-Users] msilo

2016-11-12 Thread Slava Bendersky
Hello Everyone, I asking question/request to add improvement for msilo module where will have ability set $avp(i:body) in mod params. That will allow use it in m_store() by specifying body message $avp. In my case registration is on B2BUA so kamailio pass through/proxy to destination. In order

Re: [SR-Users] BYE dispatcher

2016-11-12 Thread Slava Bendersky
log should be routed based on loose routing. Of course, one can think of exceptions, but then you should be fully aware of what kind of routing you do. Cheers, Daniel On 10/11/16 16:25, Slava Bendersky wrote: Hello Daniel, My setup is proxy all requests to freeswitch via dispatc

Re: [SR-Users] BYE dispatcher

2016-11-10 Thread Slava Bendersky
ions have little to do with calls in sip, unless there is gruu in use. Cheers, Daniel On 09/11/16 18:07, Slava Bendersky wrote: Hello Everyone, I cleared registrations and tried again and issue still present. Client reply with 481. IP (tos 0x0, ttl 52, id 7731, offset 0, flags [none],

Re: [SR-Users] BYE dispatcher

2016-11-10 Thread Slava Bendersky
the registrations have little to do with calls in sip, unless there is gruu in use. Cheers, Daniel On 09/11/16 18:07, Slava Bendersky wrote: Hello Everyone, I cleared registrations and tried again and issue still present. Client reply with 481. IP (tos 0x0, ttl 52, id 7731, offset

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
var(did)) { if (!t_relay()) { sl_reply_error(); } #forward(); } t_on_failure("DISPATCHER_FAIL_ROUTE"); exit; } Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
id)) { if (!t_relay()) { sl_reply_error(); } #forward(); } t_on_failure("DISPATCHER_FAIL_ROUTE"); exit; } Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher Hell

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
t_on_failure("DISPATCHER_FAIL_ROUTE"); exit; } Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher Hello, On 08/11/16 20:42, Slava Bendersky wrote: Hello Everyone, My

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
y()) { sl_reply_error(); } #forward(); } t_on_failure("DISPATCHER_FAIL_ROUTE"); exit; } Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher Hello, On 08/11/16

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
ror(); } #forward(); } t_on_failure("DISPATCHER_FAIL_ROUTE"); exit; } Slava. From: "Daniel-Constantin Mierla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher Hello, On 08/11/16 20:42, Slava Bendersky wro

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
rla" To: "sr-users" Sent: Wednesday, 9 November, 2016 04:33:33 Subject: Re: [SR-Users] BYE dispatcher Hello, On 08/11/16 20:42, Slava Bendersky wrote: Hello Everyone, My setup is kamailio as proxy with few boxes of freeswitch in the LAN. Having issue with BYE when exte

Re: [SR-Users] fnmatch

2016-11-08 Thread Slava Bendersky
ch Hello, this is rather confusing -- did you make some changes there to fix it or just suddenly works? Because the second sounds like random behaviour. Cheers, Daniel On 07/11/16 18:17, Slava Bendersky wrote: Hello Daniel, Yes, reply was 202 not 200. Right now it work as expec

[SR-Users] BYE dispatcher

2016-11-08 Thread Slava Bendersky
Hello Everyone, My setup is kamailio as proxy with few boxes of freeswitch in the LAN. Having issue with BYE when extensions register on different freeswitch boxes. Here are some trace of the call. Not sure if this tag= miss match or routing. Dispatcher use group 0 with option 4 (round robin)

Re: [SR-Users] fnmatch

2016-11-07 Thread Slava Bendersky
here? fnmatch("$rs", "200") is matching the 202? Cheers, Daniel On 07/11/16 08:52, Serge S. Yuriev wrote: Hello, In debug you can see 202 Accepted but match configured on 200. Not matched -- Wbr, Serge via mobile 07.11.2016, 01:08, "Slava Bendersky"

[SR-Users] fnmatch

2016-11-06 Thread Slava Bendersky
Hello Everyone, I trying fnmatch to find which sip status is returned by B2BUA. But some reason it doesn't work. Nov 6 17:02:15 cavprx00 kamailio: 2(3747) ERROR: *** cfgtrace:onreply_route=[MESSAGE_FORWARD] c=[/etc/kamailio/kamailio-asterisk.cfg] l=456 a=26 n=xlog Nov 6 17:02:15 cavprx00 ka

Re: [SR-Users] fetch contact

2016-10-28 Thread Slava Bendersky
-- see the wiki for pv cookbook for more details. Or are you looking for something else? Cheers, Daniel On 27/10/16 21:43, Slava Bendersky wrote: Hello Everyone, How to fetch contact from location table ? I tried look reg_fetch_contacts(), but I don't specific

[SR-Users] fetch contact

2016-10-27 Thread Slava Bendersky
Hello Everyone, How to fetch contact from location table ? I tried look reg_fetch_contacts(), but I don't specific $ulc for contact. Thanks ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org htt

Re: [SR-Users] help with NOTIFY

2016-10-20 Thread Slava Bendersky
Hello Everyone, This message as continue conversation from http://lists.sip-router.org/pipermail/sr-users/2015-March/087557.html. That my previous post about it. I never was be be able forward NOTIFY from asterisk to client through kamailio. Right now in use asterisk 14 pjsip. Any help thank

[SR-Users] help with NOTIFY

2016-10-19 Thread Slava Bendersky
Hello Everyone, I am trying forward NOTIFY to client. My setup is PBX Server local lan ---kamailio internet client The problem with whole setup that kamailio is not forwarding NOTIFY to client. Here are log. U 2016/10/19 14:23:29.581609 10.18.130.50:5160 -> 10.18.130.46:

[SR-Users] routing design

2015-12-07 Thread Slava Bendersky
Hello Everyone, Looking for some design suggestion. I am trying achieve routing based on domain.tld. I thought use drouting, but not sure if it suitable for this task. Example: Kamailio Server 1 | |__ PBX Group 1 domain1.tld | | PBX Server 1 | |PBX Server 2 |_

Re: [SR-Users] webrtc

2015-09-06 Thread Slava Bendersky
bject: Re: [SR-Users] webrtc First thing, check that you can have a webRTC call directly with FreeSWITCH, without passing by Kamailio. If that works, and it does not work through Kamailio, then provide kamailio config, freeswitch config, and debug log from both. On Sat, Sep 5, 2015 at 12:51

Re: [SR-Users] webrtc

2015-09-06 Thread Slava Bendersky
First thing, check that you can have a webRTC call directly with FreeSWITCH, without passing by Kamailio. If that works, and it does not work through Kamailio, then provide kamailio config, freeswitch config, and debug log from both. On Sat, Sep 5, 2015 at 12:51 AM, Slava Bendersky <

[SR-Users] webrtc

2015-09-05 Thread Slava Bendersky
Hello Everyone, I am trying setup webrtc call with freeswitch. [root@canlvprx01 kamailio]# rpm -qa | grep kamailio kamailio-4.3.1-4.4.fc21.x86_64 Case: INTERNET eth0 | eth1 LAN | Web Browser >webrtc > kamailio > freeswitch Getting this error Sep 4 00:22:06 canlvprx01 /us

Re: [SR-Users] dispather

2015-07-03 Thread Slava Bendersky
id)=2; break; } ds_select_dst($avp(dsdst_id),4); Slava. From: "Daniel Tryba" To: "sr-users" Sent: Friday, July 3, 2015 6:18:03 AM Subject: Re: [SR-Users] dispather On Thursday 02 July 2015 09:12:41 Slava Bendersky wrote: > Is dispatcher module can do call routin

[SR-Users] dispather

2015-07-03 Thread Slava Bendersky
Hello Everyone, Is dispatcher module can do call routing based on domain ? This only inbound traffic. So if call come from @domain1.tld -> asterisk box 1 @domain2.tld -> asterisk box 2. Or which way is better to achieve it ? Thank you. ___

Re: [SR-Users] issue with TLS and 2 NIC interfaces

2015-05-04 Thread Slava Bendersky
TLS and 2 NIC interfaces Are you having the same problem as myself? Thanks, V On Fri, May 1, 2015 at 8:20 PM, Slava Bendersky < volga...@networklab.ca > wrote: Hello Vik, I have similar setup, try define you server configuration in tls.cfg [server:ip address of alias interface:p

Re: [SR-Users] issue with TLS and 2 NIC interfaces

2015-05-01 Thread Slava Bendersky
Hello Vik, I have similar setup, try define you server configuration in tls.cfg [server:ip address of alias interface:port of alias interface] method = TLSv1 verify_certificate = no require_certificate = no private_key = certificate = ca_list = crl = Slava From: "Vik Killa" To: "s

Re: [SR-Users] NAT Contact:

2015-03-29 Thread Slava Bendersky
canlvprx01 kamailio: 11(31941) DEBUG: sl [sl_funcs.c:412]: sl_filter_ACK(): DEBUG : sl_filter_ACK: to late to be a local ACK! Slava. From: "Slava Bendersky" To: "sr-users" Sent: Sunday, March 29, 2015 11:56:58 AM Subject: Re: [SR-Users] NAT Contact: Hello Alex, I

Re: [SR-Users] NAT Contact:

2015-03-29 Thread Slava Bendersky
I save location I see in kamctl ul show more then 5 records for each AOR. Slava. From: "Slava Bendersky" To: "sr-users" Sent: Sunday, March 29, 2015 9:52:18 AM Subject: Re: [SR-Users] NAT Contact: Hello Alex, I switched to alias method, but there some CRITICAL

Re: [SR-Users] NAT Contact:

2015-03-28 Thread Slava Bendersky
03/28/2015 02:26 PM, Slava Bendersky wrote: > How is possible add to Contact: received=ip ? Is this should be > handled by fix_nated_contact() This is not the function of fix_nated_contact(). Have a look at a add_rcv_param(): http://kamailio.org/docs/modules/4.2.x/modules/nathelper.html

[SR-Users] NAT Contact:

2015-03-28 Thread Slava Bendersky
Hello Everyone, How is possible add to Contact: received=ip ? Is this should be handled by fix_nated_contact() ? I am using default NATDETECT route, but I see in debug fix_nated_contact() executed, but in SDP Contact: stay Contact: ;audio. >From public side client use TCP inbound to kamailio a

[SR-Users] DNS resolver.

2015-03-28 Thread Slava Bendersky
Hello Everyone, How I can disable DNS resolution ? Currently I have in configuration file, but I still see in log DNS SRV resolution and forward. dns_cache_init=off use_dns_cache=off use_dns_failover=off dns=no rev_dns=no Mar 28 13:30:29 canlvprx01 kamailio: 12(28631) DEBUG: [resolve.c:

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-23 Thread Slava Bendersky
Hello Everyone, In my case I am using Path and I asterisk generate NOTIFY with route based on path, then I see on kamailio side tries reach on client on public IP side and open new connection not follow ESTABLISHED/RELATED link then it times out. Log: Mar 23 11:00:17 canlvprx01 /usr/sbin/kam

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-23 Thread Slava Bendersky
102 NOTIFY Server: kamailio (4.2.3 (x86_64/linux)) Content-Length: 0 <-> Mar 23 08:45:47 canlvprx01 /usr/sbin/kamailio[20143]: ERROR: [tcp_main.c:4338]: tcpconn_main_timeout(): connect client_pub_ip:5063 failed (timeout) Slava. From: "Daniel-Constantin Mierla" T

Re: [SR-Users] remove_hf_value

2015-03-22 Thread Slava Bendersky
uot;:" + $sel(cfg_get.kamailio.bindip) + ":" + $sel(cfg_get.kamailio.bindport); } } } } And for initial SUBSCRIBE INVITE if (is_method("INVITE|SUBSCRIBE")) { remove_hf("Route"); insert_hf("Record-Route: <"sip" + ":" + $sel(cfg_get.kamailio.

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-22 Thread Slava Bendersky
----> Slava. From: "Daniel-Constantin Mierla" To: "Slava Bendersky" , "sr-users" Sent: Friday, March 13, 2015 1:28:33 PM Subject: Re: [SR-Users] kamailio asterisk NOTIFY Hello, that function might be in textopsx module. Cheers, Daniel On 13/03/15 14

Re: [SR-Users] remove_hf_value

2015-03-16 Thread Slava Bendersky
;rport=5062 Record-Route: On public side remote this Record-Route Record-Route: On private side remote this Record-Route From: "Slava Bendersky" ;tag=a185d974ec To: ;tag=as00757d3e Call-ID: b08adb1ad1804a83 CSeq: 236711034 SUBSCRIBE Server: FPBX-2.11.0(11.15.1) Allow: INVITE,

Re: [SR-Users] remove_hf_value

2015-03-13 Thread Slava Bendersky
Hello Everyone, Here updated version. Trying remove Record-Route after the coma. My log shows Mar 14 01:25:21 canlvprx01 /usr/sbin/kamailio[751]: INFO:

[SR-Users] remove_hf_value

2015-03-13 Thread Slava Bendersky
Hello Everyone, I am trying adjust Record-Route, but can't match headers value And I am call route(ROUTE_HDR_ORG); right after route(WITHINDLG); route[ROUTE_HDR_ORG] { # Getting record routes if(is_present_hf("Record-Route")) { if(is_method("SUBSCRIBE")) { xlog("$sel(@hf_value.Record_Route

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-13 Thread Slava Bendersky
Hello Daniel, Where possible find updated version of options for textops. [sr_module.c:701]: find_mod_export_record(): find_export_record: not found Specially Record-Route manipulation. Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Se

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-13 Thread Slava Bendersky
Hello Daniel, Here paste for first SUBSCRIBE. http://fpaste.org/197545/25118514/ Slava. From: "Daniel-Constantin Mierla" To: "Slava Bendersky" Cc: "sr-users" Sent: Thursday, March 12, 2015 5:09:17 AM Subject: Re: [SR-Users] kamailio asterisk NOTIFY

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-12 Thread Slava Bendersky
Hello Daniel, Is this matter that UDP and TCP transport in mix ? Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Sent: Wednesday, March 11, 2015 4:21:39 PM Subject: Re: [SR-Users] kamailio asterisk NOTIFY Hello Daniel, I have record route in

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-11 Thread Slava Bendersky
Hello Daniel, Here debug of the notify which failing. Look like transaction miss match http://fpaste.org/196896/61168591/ Slava. From: "Daniel-Constantin Mierla" To: "Slava Bendersky" , "sr-users" Sent: Wednesday, March 11, 2015 5:44:05 PM Subject: Re

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-11 Thread Slava Bendersky
Hello Daniel, I have record route in WITHINDLG for NOTIFY, but it not helped behaviour is the same it loosing route for NOTIFY. Slava. From: "Daniel-Constantin Mierla" To: "Slava Bendersky" , "sr-users" Sent: Wednesday, March 11, 2015 2:14:02 PM Su

Re: [SR-Users] kamailio asterisk NOTIFY

2015-03-11 Thread Slava Bendersky
ilio asterisk NOTIFY Hello, fpaste link doesn't show anything. Can you check if the NOTIFY coming to Kamailio has two Route headers? Cheers, Daniel On 10/03/15 18:44, Slava Bendersky wrote: Hello Everyone, Having issue with NOTIFY, is not forwarded to client properly. asterisk ---

[SR-Users] kamailio asterisk NOTIFY

2015-03-10 Thread Slava Bendersky
Hello Everyone, Having issue with NOTIFY, is not forwarded to client properly. asterisk ---> private kamailio public > soft client http://fpaste.org/196257/99948714/ I see kamailio trying connect always with private IP to the client when NOTIFY is come is in. Is this something to do wi

Re: [SR-Users] kamailio asterisk

2015-03-08 Thread Slava Bendersky
/ Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Sent: Tuesday, March 3, 2015 9:08:19 AM Subject: Re: [SR-Users] kamailio asterisk Hello Daniel, Is notify should follow subscribe routes ? Here SUBSCRIBE completely look normal to me. &l

Re: [SR-Users] kamailio asterisk

2015-03-03 Thread Slava Bendersky
;,algorithm=MD5 Contact: ;audio Event: message-summary Expires: 3600 Supported: eventlist, replaces, timer User-Agent: Media5-fone/4.1.6.3283 Android/4.1.2 Content-Length: 0 Path: P-hint: outbound Slava From: "Daniel-Constantin Mierla" To: "Slava Bendersky&qu

Re: [SR-Users] kamailio asterisk

2015-02-28 Thread Slava Bendersky
iled Feb 28 12:54:58 canlvprx01 /usr/sbin/kamailio[12838]: ERROR: sl [sl_funcs.c:387]: sl_reply_error(): ERROR: sl_reply_error used: Unfortunately error on sending to next hop occurred (477/SL) Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Sent: F

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
ip;branch=z9hG4bK0bbe1f7d27257bba9;rport=5062 Record-Route: Record-Route: From: "Slava Bendersky" ;tag=a185d974ec To: ;tag=as00757d3e Call-ID: b08adb1ad1804a83 CSeq: 236711034 SUBSCRIBE Server: FPBX-2.11.0(11.15.1) Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLIS

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
e typos are expected. From: Daniel-Constantin Mierla Sent: Feb 25, 2015 1:04 PM To: Slava Bendersky Cc: sr-users Subject: Re: [SR-Users] kamailio asterisk Hello, On 25/02/15 17:19, Slava Bendersky wrote: > Hello Daniel, > substr you suggested didn't worked. > See my previous emai

Re: [SR-Users] kamailio asterisk

2015-02-27 Thread Slava Bendersky
Hello Daniel, Here bt full from back trace. http://fpaste.org/191207/50064491/ Slava. From: "volga629" To: mico...@gmail.com, "Slava Bendersky" Cc: "sr-users" Sent: Thursday, February 26, 2015 9:56:48 PM Subject: Re: [SR-Users] kamailio asterisk Hel

Re: [SR-Users] kamailio asterisk

2015-02-26 Thread Slava Bendersky
ace. Slava. From: "Daniel-Constantin Mierla" To: "Slava Bendersky" Cc: "sr-users" Sent: Wednesday, February 25, 2015 12:04:28 PM Subject: Re: [SR-Users] kamailio asterisk Hello, On 25/02/15 17:19, Slava Bendersky wrote: Hello Daniel, substr

Re: [SR-Users] kamailio asterisk

2015-02-25 Thread Slava Bendersky
ot;Daniel-Constantin Mierla" To: "Slava Bendersky" , "sr-users" Sent: Wednesday, February 25, 2015 10:57:29 AM Subject: Re: [SR-Users] kamailio asterisk Hello, that's from 2007, closed as invalid -- that was v1.2. Again, as in my previous email, you haven'

Re: [SR-Users] kamailio asterisk

2015-02-25 Thread Slava Bendersky
Hello Daniel, I found this bug report http://sourceforge.net/p/openser/bugs/226/ Is this still valid ? Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Sent: Wednesday, February 25, 2015 9:11:54 AM Subject: Re: [SR-Users] kamailio aster

Re: [SR-Users] kamailio asterisk

2015-02-25 Thread Slava Bendersky
va From: "Daniel-Constantin Mierla" To: "Slava Bendersky" , "sr-users" Sent: Wednesday, February 25, 2015 5:44:53 AM Subject: Re: [SR-Users] kamailio asterisk Hello, change the r-uri to use sip instead of sips. You can try with: subst_uri('/^sips

Re: [SR-Users] kamailio asterisk

2015-02-24 Thread Slava Bendersky
Hello Everyone, I wonder in my case why kamailio is not bridging between TLS and UDP ? Is there additional configuration required ? Slava. From: "Slava Bendersky" To: mico...@gmail.com Cc: "sr-users" Sent: Tuesday, February 24, 2015 11:42:02 AM Subject: Re:

Re: [SR-Users] kamailio asterisk

2015-02-24 Thread Slava Bendersky
Hello Everyone, Here link to core dump bt full. http://fpaste.org/189799/79603014/ password the same Slava. From: "Daniel-Constantin Mierla" To: "volga629" , "Slava Bendersky" , "sr-users" Sent: Monday, February 23, 2015 3:56:48 AM Subject

Re: [SR-Users] kamailio asterisk

2015-02-22 Thread Slava Bendersky
From: Daniel-Constantin Mierla Sent: Feb 22, 2015 5:34 PM To: Slava Bendersky ;sr-users Subject: Re: [SR-Users] kamailio asterisk Hello, looking at the logs, the process routing the register is forwarding it, by opening a tls connection -- that is because the uri has sips as schema. The cr

Re: [SR-Users] kamailio asterisk

2015-02-20 Thread Slava Bendersky
eanwhile. If you preserve sips as uri schema, then you force tls further for forwarding. You should change that to sip:domain ... Cheers, Daniel On 18/02/15 00:37, Slava Bendersky wrote: BQ_BEGIN Hello Everyone, I have standard case where kamailio play role of proxy for asterisk servers. K

[SR-Users] kamailio asterisk

2015-02-18 Thread Slava Bendersky
Hello Everyone, I have standard case where kamailio play role of proxy for asterisk servers. Kamailio configured use TLS transport on public side and on private side UDP 5060. When client (SIP soft phone) connect to TLS socket everything goes well until kamailio trying forward request. Kamaili

Re: [SR-Users] remote mysql

2015-01-26 Thread Slava Bendersky
wrote: > > What's the content for kamctlrc and for kamailio.cfg ? > > Sample working config here for MySQL What's the content for kamctlrc and for kamailio.cfg ? Sample working config here for MySQL: https://github.com/spicyramen/llamato/tree/LlamatoReg On Sat, Jan 24, 2

Re: [SR-Users] remote mysql server

2015-01-25 Thread Slava Bendersky
l server Hi Slava, is most modules a default database connection is defined. Probably this is the case here. As this error is coming from the dialog module: Did you configure some sort of "db_mode"? e.g.: modparam("dialog", "db_mode", 1) Thanks, Carsten 201

[SR-Users] remote mysql server

2015-01-25 Thread Slava Bendersky
Hello Everyone, I am trying start kamailio 4.2 with remote mysql server and on debug I see DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://:@localhost/kamailio but in cfg defined actual mysql server ip and not localhost 0(28885) DEBUG: [sr_mo

[SR-Users] remote mysql

2015-01-24 Thread Slava Bendersky
Hello Everyone, I am trying start kamailio 4.2 with remote mysql server and on debug I see DEBUG: db_mysql [km_my_con.c:94]: db_mysql_new_connection(): opening connection: mysql://:@localhost/kamailio but in cfg defined actual mysql server ip and not localhost Any help thank you, Sl

Re: [SR-Users] mediaproxy

2014-06-03 Thread Slava Bendersky
starting mediaproxy-ng daemon. Rtpproxy-ng uses the ng protocol, rtpproxy uses the classic one. Regards, On Tue, Jun 3, 2014 at 11:56 AM, Slava Bendersky < volga...@networklab.ca > wrote: Hello Everyone, I am trying setup mediappoxy on the gateway and log get fill up with this

[SR-Users] mediaproxy

2014-06-03 Thread Slava Bendersky
Hello Everyone, I am trying setup mediappoxy on the gateway and log get fill up with this message. Jun 3 12:28:11 /usr/sbin/kamailio[3595]: ERROR: rtpproxy-ng [rtpproxy.c:1425]: rtpp_test(): proxy responded with invalid response Jun 3 12:28:11 /usr/sbin/kamailio[3597]: ERROR: rtpproxy-ng [rtp

Re: [SR-Users] client provisioning.

2014-04-15 Thread Slava Bendersky
ng List" Sent: Tuesday, April 15, 2014 3:24:15 PM Subject: Re: [SR-Users] client provisioning. On 15/04/14 21:15, Corey Edwards wrote: On Tue, Apr 15, 2014 at 9:47 AM, Slava Bendersky < volga...@networklab.ca > wrote: Hello Corey, Is there way publish address book through kamaili

Re: [SR-Users] client provisioning.

2014-04-15 Thread Slava Bendersky
Hello Corey, Is there way publish address book through kamailio ? Slava. - Original Message - From: "Slava Bendersky" To: "Kamailio (SER) - Users Mailing List" Sent: Tuesday, April 15, 2014 12:18:51 PM Subject: Re: [SR-Users] client provisioning. Hello C

Re: [SR-Users] client provisioning.

2014-04-15 Thread Slava Bendersky
Hello Corey, Thank you for answer, I'll read about it. Slava - Original Message - From: "Corey Edwards" To: "Kamailio (SER) - Users Mailing List" Sent: Tuesday, April 15, 2014 11:26:31 AM Subject: Re: [SR-Users] client provisioning. On Mon, Apr 14

[SR-Users] client provisioning.

2014-04-14 Thread Slava Bendersky
Hello Everyone, Is possible do phone provisioning with kamailio ? Slava. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] ldap SSL

2014-04-10 Thread Slava Bendersky
llo, the module in kamailio doesn't have an option for ca list. This should be a configuration option for ldap server to know which trusted CA to use. The ldap client library should have the option to set the certificate and key. Cheers, Daniel On 10/04/14 00:27, Slava Bendersky wrote:

Re: [SR-Users] ldap SSL

2014-04-09 Thread Slava Bendersky
Hello Everyone, Tried look through documentation and couldn't find anything about it ? Any suggestions ? Slava. - Original Message - From: "Slava Bendersky" To: sr-users@lists.sip-router.org Sent: Monday, April 7, 2014 1:57:53 PM Subject: [SR-Users] ldap SSL

Re: [SR-Users] message 484

2014-04-09 Thread Slava Bendersky
tting? El abr 7, 2014 1:21 PM, "Slava Bendersky" < volga...@networklab.ca > escribió: Hello Pedro, I just come back on line. If i remove this line I start getting From: "Pedro Niño" < nino.pe...@gmail.com > To: "Kamailio (SER) - Users Mailing List

[SR-Users] ldap SSL

2014-04-07 Thread Slava Bendersky
Hello Everyone, How I can specify ldap CA cert in ldap configuration ? The directive ca_list bellow is ignored. [07/Apr/2014:13:40:37 -0400] conn=20 op=-1 fd=70 closed - Peer does not recognize and trust the CA that issued your certificate. [07/Apr/2014:13:40:37 -0400] conn=22 op=-1 fd=64 c

Re: [SR-Users] message 484

2014-04-07 Thread Slava Bendersky
this issue? >From what I am seeing, asterisk is expecting for the password. Is the >voicemail configured ? Check username and password. Somewhere there it says that couldn't read username and password from the voicemail. Have the extensions.conf at asterisk dialplan configured prope

Re: [SR-Users] message 484

2014-04-07 Thread Slava Bendersky
password. Somewhere there it says that couldn't read username and password from the voicemail. Have the extensions.conf at asterisk dialplan configured properly? El mar 31, 2014 2:25 PM, "Slava Bendersky" < volga...@networklab.ca > escribió: Hello Pedro, Here SDP from

Re: [SR-Users] kamailio db

2014-04-01 Thread Slava Bendersky
Hello Daniel, I fixed config and right now it fully functional local calls. VM server still need see why asterisk not send correct direction rtp. Here config. http://sebsauvage.net/paste/?ffca000a32579ed0#JhOA+vZnTWFH05V2Ey7lL6u5Ntp95jyg84EpBxe0sa0= Slava. - Original Message -

Re: [SR-Users] message 484

2014-03-31 Thread Slava Bendersky
6.207:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 10.237.236.207;branch=z9hG4bKf682.cc9d98383fa97727d9968596f24c2c0a.0;received=10.237.236.207 Via: SIP/2.0/UDP 10.237.236.212:64609;branch=z9hG4bK-d8754z-f319541e694ad32f-1---d8754z- Record-Route: From: "Slava Ben

Re: [SR-Users] message 484

2014-03-31 Thread Slava Bendersky
k server? Or using a trunk outside? As a test, tried to register to the asterisk server directly and test the call? That's why I was asking to elaborate, and show a bit more about the call flow behavior... A small text diagram and desired behavior would be useful El mar 31, 2014

Re: [SR-Users] message 484

2014-03-31 Thread Slava Bendersky
with a bit more of detail? Also can use tools like sngrep, tcpdump (or wireshark) to have a better view of the complete call flow. Maybe that way we can help. El mar 29, 2014 1:59 AM, "Slava Bendersky" < volga...@networklab.ca > escribió: Hello Everyone, How to correct messa

Re: [SR-Users] message 484

2014-03-31 Thread Slava Bendersky
ut the address/request not containing all the necesary data to process the message Can you please elaborate with a bit more of detail? Also can use tools like sngrep, tcpdump (or wireshark) to have a better view of the complete call flow. Maybe that way we can help. El mar 29, 2014 1:59

  1   2   >