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 dont_strip_or_prefix_flag but modul

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 into the network. When

Re: [SR-Users] RTP Pyload

2016-12-01 Thread Mikko Lehto
g 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 guesswork for potential advice. Best regards -- Mikko Lehto __

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 0x:

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

2016-11-30 Thread Mikko Lehto
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...CRLF CR

[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] http://k

Re: [SR-Users] sdp_remove_line_by_prefix

2016-05-09 Thread Mikko Lehto
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 list sr-users@lists.sip-router.org http:/

Re: [SR-Users] timeout function

2016-03-31 Thread Mikko Lehto
cher.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 : > > 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)" Support for 2.95.3 w

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 Thread model: posix gcc

Re: [SR-Users] Media address family

2015-11-27 Thread Mikko Lehto
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
_to_reply() before setting onreply_route with t_on_reply() ? > ERROR: bad config file (1 errors) > 0(3002) WARNING: [ppcfg.c:219]: pp_ifdef_level_check(): different > number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1 I don't know about this, propably unre

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

2015-06-05 Thread Mikko Lehto
_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-router.or

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

2015-06-03 Thread Mikko Lehto
Daniel-Constantin Mierla : > 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 address. > Also,

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

2015-06-03 Thread Mikko Lehto
[tcp_main.c:1227]: tcp_do_connect(): before return my_name=192.168.47.132: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

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 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. Interface capture

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-12 Thread Mikko Lehto
Juha Heinanen : > 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 write another thre

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
org/tracker/index.php?do=details&task_id=462 http://lists.sip-router.org/pipermail/sr-users/2014-August/084459.html dbd8ea9b1fa216e59d4c36e2eb4b671202824259 http://lists.sip-router.org/pipermail/sr-dev/2014-September/024984.html e404d123610b63ddd1c75d39667b373c40

Re: [SR-Users] Non standard TLS port

2014-11-11 Thread Mikko Lehto
com port 5065 Hi, 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.or

Re: [SR-Users] channel parameter on SDP

2014-10-03 Thread Mikko Lehto
Kelvin Chua 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: --- sdp_remove_li

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

2014-04-22 Thread Mikko Lehto
ailio 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-r

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

2014-04-20 Thread Mikko Lehto
: kamcmd ul.lookup location 6...@testers.com kamcmd ul.lookup location 6...@testers.com kamcmd ul.dump ngrep -d any -W byline -q port 5060 or port 5070 Regards -- Mikko Lehto ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-us

[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 : > 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 troubleshoot more

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

2013-04-14 Thread Mikko Lehto
2013-04-12 (Fri) 16:49 UTC +0200 Henning Westerholt : > 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. Anything else I ca

Re: [SR-Users] Problem accessing git repository

2013-04-12 Thread Mikko Lehto
2013-04-12 (Fri) 13:00 UTC +0200 Henning Westerholt : > I just had a look to the server. It works ok, but has a bit high load from > the > git web access application. I'll configure this a bit more restrictive, that > it > not cause this high load spikes. Thanks. It does not work for me yet.

[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

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

2011-09-28 Thread Mikko Lehto
n, 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

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 > ro

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 m

Re: [SR-Users] CANCEL with Totag

2010-12-01 Thread Mikko Lehto
Iñaki Baz Castillo wrote: > This is the Samsung model in which I've detected the bug: > > OfficeServ 7200 with firmware 4.40. OK, thanks. I am not sure if we need to fiddle with that, but I hope 4.48e helps you. -- Mikko Lehto _

Re: [SR-Users] CANCEL with Totag

2010-12-01 Thread Mikko Lehto
b446d-13c4-50017-4cf664e7-12afeb6a-4cf664e7 To: Call-ID: 13a9ff0-26fb446d-13c4-50017-4cf664e7-288b990c-4cf664e7 CSeq: 1 CANCEL Via: SIP/2.0/UDP 89.18.XXX.XXX:5060;rport;branch=z9hG4bK-4cf664e7-a27a29d2-2d80c774 Max-Forwards: 70 Supported: replaces User-Agent: Samsung OfficeServ Content-Length: 0

Re: [SR-Users] CANCEL with Totag

2010-12-01 Thread Mikko Lehto
least during the initial tests before green light for deployment ;) -- 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 disap

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

2010-10-17 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: [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
new feature as I get error when uncommenting local_cancel_reason tm parameter: ERROR: [modparam.c:150]: set_mod_param_regex: parameter not found in module Is this bug as log 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

[SR-Users] limiting the number of channels for the users

2010-10-06 Thread Mikko Lehto
Hi! Shrouk Khan wrote: > Also i would like to limit the number of channels (simultaneous calls) > that each user can make . I think this blog post will help you forward: http://by-miconda.blogspot.com/2010/01/best-of-new-in-kamailio-300-19-htable.html There are also other approaches. You ca

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

2010-09-13 Thread Mikko Lehto
it to the repository, and also fix the german one > (some changes in URL) Nice, I see you like wget more :) -- 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] pdb and carrier id zero in finnish LNP

2010-09-12 Thread Mikko Lehto
ra.fi/numerointi/nure_numbering.asp?nums=tot&lang=en"; | awk '//, /<\/tbody>/' | awk -F"/,"",$1) gsub(/.*>/,"",$2); gsub(/ä/,"ä",$2); gsub(/Å/,"Å",$2); gsub(/ö/,"ö",$2); if ( $2 != "") { printf "D%.

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

2010-09-03 Thread Mikko Lehto
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: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 ___ SIP Express Router (SER)