Re: [SR-Users] LCR module dont_strip_or_tag_flag -> dont_strip_or_prefix_flag

2017-01-16 Thread Mikko Lehto
Annus Fictus : > modparam("lcr", "dont_strip_or_tag_flag", 10) > > and then restart kamailio, i receive this error: > > ERROR: [modparam.c:141]: set_mod_param_regex(): parameter > of type <2> not found in module Hi Looks like that parameter is now¹ called

Re: [SR-Users] Local messages are malformed in Kamailio 4.4.X

2016-12-01 Thread Mikko Lehto
Daniel-Constantin Mierla : > The specs require to be \r\n. Accepting only \n is and > SER-time-propagated extension in Kamailio from the early days of the > project when a lot of tests during the development was done by building > messages inside a text file and injecting it

Re: [SR-Users] RTP Pyload

2016-12-01 Thread Mikko Lehto
ssages? > > Following example with 14 byte payload. > > The query is regarding, while using "Payload type: DynamicRTP-Type-111 > (111)" Hi Please explain how this relates to Kamailio, hopefully after that there is less guesswo

Re: [SR-Users] Local messages are malformed in Kamailio 4.4.X

2016-11-30 Thread Mikko Lehto
Same thing with Kamailio version 4.4.4 (c5d3bd) $ sipsak -H localhost -s sip:127.0.0.1:5060 -v -f test/unit/60-message-sdp4.sip --no-crlf # tcpdump -i lo0 -s 0 -n -v -X port 5060 03:14:09.247227 IP 127.0.0.1.10564 > 127.0.0.1.5060: SIP: MESSAGE sip:bob@example.invalid SIP/2.0

Re: [SR-Users] Local messages are malformed in Kamailio 4.4.X

2016-11-30 Thread Mikko Lehto
0,"OK"); exit; } --- $ sipsak -H localhost -s sip:127.0.0.1:5060 -v -f test/unit/60-message-sdp9.sip --no-crlf tcpdump shows following headers and line terminators: --- 200 OKCRLF Via...CRLF From...LF To...LF Call-ID...LF CSeq...LF Content-Type...CRLF Server...CRLF Content-Length...C

[SR-Users] Wiki update notice

2016-05-12 Thread Mikko Lehto
Hello Some wiki work: 1. "What's new in 4.4" -content is no more present in devel version wiki page 2. based on recent mailing list discussion, I added note about github pull requests I think these make sense, please yell if not :) [1] http://kamailio.org/wiki/features/new-in-devel [2]

Re: [SR-Users] sdp_remove_line_by_prefix

2016-05-09 Thread Mikko Lehto
nk your example should now work as well as some other short comings: https://github.com/kamailio/kamailio/commit/5db4cec2c9e8ab62c711738eae181afa69c1724d Best regards -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing lis

Re: [SR-Users] timeout function

2016-03-31 Thread Mikko Lehto
s/4.4.x/modules/dispatcher.html#dispatcher.ex.config Regards -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] [sr-dev] GCC version in use

2016-02-08 Thread Mikko Lehto
Daniel-Constantin Mierla : > Anyone with openbsd around? Sure! $ uname -srvm OpenBSD 5.8 GENERIC.MP#1236 amd64 $ gcc -v Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd5.8/4.2.1/specs Target: amd64-unknown-openbsd5.8 Configured with: OpenBSD/amd64 system compiler

Re: [SR-Users] [sr-dev] GCC version in use

2016-02-08 Thread Mikko Lehto
Daniel-Constantin Mierla : > > OpenBSD 5.8 GENERIC.MP#1236 amd64 > > Thanks! Is this the last version of openbsd? Yes, 5.8 was released 2015-10-18 Looks like 4.2.1 was introduced in version 4.8 (2010-11-01): "Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)"

Re: [SR-Users] Media address family

2015-11-27 Thread Mikko Lehto
ne)\n"); } I did not test, just copy-pasted from documentation: http://kamailio.org/docs/modules/devel/modules/sdpops.html#sdpops.f.sdp_get_line_startswith Be aware that SDP can have multiple c-lines, so you propably want to scan SDP more extensively. Best regards -- Mikko Lehto _

Re: [SR-Users] Need to add extra header in 200 OK message by using kamailio.cfg file

2015-06-06 Thread Mikko Lehto
function append_to_reply() ? http://www.kamailio.org/docs/modules/4.3.x/modules/textops.html#textops.f.append_to_reply -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

Re: [SR-Users] Need to add extra header in 200 OK message by using kamailio.cfg file

2015-06-06 Thread Mikko Lehto
. -- Mikko Lehto ___ 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] Strange core.tcp_list / tls.list output

2015-06-03 Thread Mikko Lehto
Daniel-Constantin Mierla mico...@gmail.com: quickly checking the code it seems that the dst_ip is holding the local address always, even for outbound connection. Not being the author of the code, my guess is that the lookup of connection is done always on src_ip matching the remote peer

[SR-Users] Strange core.tcp_list / tls.list output

2015-06-03 Thread Mikko Lehto
:5061 server=192.168.47.132:5061 ip=10.10.235.9 Are tcp endpoint values really wrong way around or did I undertand something wrong about their meaning? I am running Kamailio 4.2.5 (x86_64/linux) 61d84c-dirty from git. -- Mikko Lehto ___ SIP Express

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-13 Thread Mikko Lehto
Makes sense, I can live with this. Thanks for clarfication. -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] TLS capture with sip_trace()

2015-01-12 Thread Mikko Lehto
Hi I am getting incorrect source port to Homer web while tracking outgoing request from my proxy to remote SIP server. Juha Heinanen j...@tutpro.com wrote in another thread: in case of tcp (and tls) the source port is always a random one. only the destination port can be predetermined.

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-12 Thread Mikko Lehto
Juha Heinanen j...@tutpro.com: in case of tcp (and tls) the source port is always a random one. only the destination port can be predetermined. OK, thanks. I'll go with that then. Actually I can see non-random port with TLS... ...but that's with Homer + sip_trace() captured traffic. I'll

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-09 Thread Mikko Lehto
Some additional information: OS is Linux Debian Wheezy 7.6 on amd64 pua_subscribe is launched like this: kamcmd mi pua_subscribe sip:+35812345789@A.B.C.D:5041 sip:myproxy.fqdn.invalid presence 3600 -- Mikko ___ SIP Express Router (SER) and Kamailio

[SR-Users] pua_subscribe and force_send_socket trouble

2015-01-09 Thread Mikko Lehto
dbd8ea9b1fa216e59d4c36e2eb4b671202824259 http://lists.sip-router.org/pipermail/sr-dev/2014-September/024984.html e404d123610b63ddd1c75d39667b373c40071eab http://lists.sip-router.org/pipermail/sr-dev/2014-September/024977.html -- Mikko Lehto ___ SIP

Re: [SR-Users] Non standard TLS port

2014-11-11 Thread Mikko Lehto
, try _sips._tcp.domain.com instead. RFC 3263 gives guidance, also with NAPTR records. -- Mikko Lehto ___ 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

Re: [SR-Users] channel parameter on SDP

2014-10-03 Thread Mikko Lehto
Kelvin Chua kel...@gmail.com wrote: my provider is being a dick. they do not accept doubango's a=rtpmap:0 PCMU/8000/1 what they wanted was a=rtpmap:0 PCMU/8000 is there a way of changing this on kamailio? Maybe it could work if you remove static RTP attribute completely: ---

Re: [SR-Users] Realtime integration: Unregistered clients showing as registered?

2014-04-22 Thread Mikko Lehto
is not in Kamailio or SIP message flow. At least I can't spot any problems from registration dance or usrloc sample. -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

[SR-Users] Record routing transport=tcp and examples/websocket.cfg

2013-09-24 Thread Mikko Lehto
Hi websocketeers, examples/websocket.cfg starts with this check: --- request_route { if ((($Rp == MY_WS_PORT || $Rp == MY_WSS_PORT) !(proto == WS || proto == WSS)) || $Rp == MY_MSRP_PORT) { xlog(L_WARN, SIP request received on $Rp\n);

[SR-Users] [sr-dev] [sr-users] Problem accessing git repository

2013-04-19 Thread Mikko Lehto
2013-04-15 (Mon) 23:45 UTC +0200 Daniel-Constantin Mierla mico...@gmail.com: try with a new clone and see if it works to pull afterwards. Otherwise I cannot think of anything else than looking at network traffic to see if something is wrong there. New clone seem to pull fine. Maybe we

[SR-Users] [sr-dev] Problem accessing git repository

2013-04-14 Thread Mikko Lehto
2013-04-12 (Fri) 16:49 UTC +0200 Henning Westerholt h...@kamailio.org: sip-router.org is up again, all services should be available. Thanks, unfortunately still the same: --- $ git pull fatal: read error: Connection reset by peer $ --- I noticed Juha Heinänen also reported same on sr-dev.

[SR-Users] Problem accessing git repository

2013-04-12 Thread Mikko Lehto
Hi Yesterday I got fatal: read error: Connection reset by peer to my git pull command. I thought it was only temporary network error, but same problem still exist today. I can however access other remote git repositories succesfully from the same host. --- #sip-router 10.58 mslehto hmm... I

Re: [SR-Users] documentation update for 3.2.0 and wiki system

2011-09-28 Thread Mikko Lehto
, but nothing for newer versions and nothing in the SIP Router wiki. If those indexes are easy to create again, it would benefit our purposes. [1] http://www.kamailio.org/dokuwiki/doku.php/modules:1.5.x:index-functions -- Mikko Lehto ___ SIP Express Router (SER

Re: [SR-Users] How to test xhttp with wget or curl

2011-01-13 Thread Mikko Lehto
Hi I think you are not succeeding because of missing Content-Length header. Try to add Content-Length to your HTTP request or you can use tcp_accept_no_cl=no in sip-router.cfg. -- Mikko ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] Bug in LDAP module?

2011-01-13 Thread Mikko Lehto
On Tue, Dec 28, 2010 at 11:50:22AM +0100, Daniel-Constantin Mierla wrote: Seemed to be a feature -- ldap module had it this way from its beginning. I committed the update that should create connection to Ldap server from timer processes, so the functions should work now in failure route

Re: [SR-Users] CANCEL with Totag

2010-12-01 Thread Mikko Lehto
Supported: replaces User-Agent: Samsung OfficeServ Content-Length: 0 -- Mikko Lehto ___ 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] Error in syslog: BUG tm [t_msgbuilder.c:351]: unhandled reason cause -18344

2010-10-22 Thread Mikko Lehto
Daniel-Constantin Mierla wrote: Can you try with master or cherry pick the next commit? http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7faa58b0264cb77c991a21bd3b7e3d660596ad85 I couldn't figure out cherry picking quickly so I tested with master. Reported log message

[SR-Users] Error in syslog: BUG tm [t_msgbuilder.c:351]: unhandled reason cause -18344

2010-10-18 Thread Mikko Lehto
Mikko Lehto wrote: The above error message is found in t_msgbuilder.c on #ifdef CANCEL_REASON_SUPPORT -block. Looks like I do not have compiled in support for that new feature as I get error when uncommenting local_cancel_reason tm parameter: ERROR: core [modparam.c:150]: set_mod_param_regex

[SR-Users] Error in syslog: BUG tm [t_msgbuilder.c:351]: unhandled reason cause -18344

2010-10-15 Thread Mikko Lehto
message suggests? -- Mikko Lehto Setera ___ 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] pdb and carrier id zero in finnish LNP

2010-09-13 Thread Mikko Lehto
that, I'll rather mess with the not found case for now. Country prefix could actually be useful if one file has carrier names from multiple countries. Great, thank you! I'll add it to the repository, and also fix the german one (some changes in URL) Nice, I see you like wget more :) -- Mikko

[SR-Users] pdb and carrier id zero in finnish LNP

2010-09-12 Thread Mikko Lehto
/nure_numbering.asp?nums=totlang=en; | awk '/tbody/, /\/tbody/' | awk -F/td -v RS=/tr '{ gsub(/.*/,,$1) gsub(/.*/,,$2); gsub(/auml;/,ä,$2); gsub(/Aring;/,Å,$2); gsub(/ouml;/,ö,$2); if ( $2 != ) { printf D%.3d %s\n,$1,$2 } }' -- Mikko Lehto ___ SIP Express

Re: [SR-Users] Unable to load IPv6 locations

2010-09-03 Thread Mikko Lehto
there are square brackets in DB socket column. No problem with deleting, it was just few records. -- Mikko Lehto ___ 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

[SR-Users] Unable to load IPv6 locations

2010-09-02 Thread Mikko Lehto
=udp:[2a00:17b8::67]:5060 listen=udp:89.18.243.167:5060 --- DB is MySQL 5.1, OS is Debian Squeeze. Kamailio version is 3.0.3 and it is from kamailio.org APT repository. At least I just found a typo (sipping), but did I also found a bug? -- Mikko Lehto