Using latest master, I'm getting error
Sep 16 20:16:36 lohi /usr/bin/pres-serv[1744]: ERROR: presence
[presentity.c:319]: parse_dialog_state_from_body(): failed to parse xml
document 'Messages-Waiting: no#015#012Message-Account:
sip:j...@vm.test.tutpro.com#015#012Voice-Message: 0/0 (0/0)#015#01
Juha Heinanen writes:
> I don't remember making any changes to the pua_publish request since
> 4.5, where it works.
Typo: 4.5 -> 4.4.
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailm
Enclosed is pcapng of the publish request that presence server calls
handle_publish() on and produces "failed to parse xml document" error
message.
-- Juha
publish.pcapng
Description: publish
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://
I added syslog message to handle_publish():
/* search event in the list */
event= search_event((event_t*)msg->event->parsed);
if(event== NULL)
{
goto unsupported_event;
}
LM_INFO("* event name/content_type/type '%.*s'/'%.*s'/%d\n"
Juha Heinanen writes:
> Sep 16 21:43:09 lohi /usr/bin/pres-serv[29250]: INFO: presence
> [publish.c:305]: handle_publish(): * event name/content_type/type
> 'message-summary'/'application/simple-message-summary'/2
>
> Otherwise OK, but type does
Juha Heinanen writes:
> Still have not figured out why xml document parsing.
"failed to parse xml document" error comes from this call in handle_publish:
/* querry the database and update or insert */
if(update_presentity(msg, presentity, &body, etag_gen, &am
Module: kamailio
Branch: 4.4
Commit: ce3d1dd8360567fdf2c8e36fbb4a4238dab8f036
URL:
https://github.com/kamailio/kamailio/commit/ce3d1dd8360567fdf2c8e36fbb4a4238dab8f036
Author: Daniel-Constantin Mierla
Committer: Juha Heinanen
Date: 2016-09-17T09:30:30+03:00
presence: test if event is dialog
Daniel-Constantin Mierla writes:
> I pushed a patch to master, can you try to see if works? If all ok, you
> can backport to 4.4 branch as well.
Thanks, the error message is now gone. Backport done.
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-ro
There is tcp_enable_closed_event([conid]) function and the example shows
how it is called upon registration. How about tcp_disable_closed_event?
Would it be useful upon un-registration?
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http:/
Brandon Armstead writes:
> +1 - I'm all for cleaning up any technical debt and moving on with more
> normalized concept.
I'm also in favor of getting rid on MI interface. I'm myself relying
only on one MI command (pua_publish) for which an RPC command does not
exist (or did not exist last time wh
Daniel-Constantin Mierla writes:
> Can you find that discussion in the archive? Open an item on bug tracker
> and add the link to the discussion there, so we don't forget about it.
Done, Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://l
Daniel-Constantin Mierla writes:
> The result will look like:
>
> /Makefile (only-forwarding make commands to various subdirs)
> /README|INSTAL|LICENSE|...
> /src/Makefile* (build makefiles)
> /src/main.c (main c file to generate the binary)
Why not also place main.c in core/?
-- Juha
stupid question: how to compile a module? this used to work earlier
when issued at root:
$ make modules=modules/ modules
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Daniel-Constantin Mierla writes:
> > $ make modules=modules/ modules
> >
> This should still work, either executed in root folder or in src/. Most
> of commands should just work as in the past. I tried on Debian and MacOS
> during the restructuring and worked for me.
OK, works from src, not root.
Daniel-Constantin Mierla writes:
> What's the error you get?
No error. Make from root claims that modules is up to date (see below).
-- Juha
/usr/src/orig/kamailio$ ls src/modules/lcr/
doc/hash.h lcr_mod.h lcr_rpc.hMakefile utils/
hash.c lcr_mod.c lcr_rpc.c makecfg.lst README
Daniel-Constantin Mierla writes:
> It seems that it matches 'modules' as filename (dir). I pushed a small
> change to not enclose the target in quotes when forwarding. Can you try
> again?
>
> If it still fails, then tell the version of make you have as well as the
> operating system.
Still the
Mikko Lehto writes:
> > Why does modules dir also exist at root?
>
> Try running "git clean --dry-run".
> You will propably get some hints of undeleted files.
'git clean -d' deleted modules and lib dirs at root. after that 'make
modules=modules/ modules' worked from root. wonder why the dirs
th
Module: kamailio
Branch: master
Commit: 4360021cced3d81ab6588c5cecc17ff39063819e
URL:
https://github.com/kamailio/kamailio/commit/4360021cced3d81ab6588c5cecc17ff39063819e
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2016-12-09T09:50:42+02:00
modules/pua_rpc: added pua_rpc module
i tried to build latest master and make appears to be in infinite loop
of rm commands (example below).
-- juha
...
Package json-c was not found in the pkg-config search path.
Perhaps you should add the directory containing `json-c.pc'
to the PKG_CONFIG_PATH environment variable
No package 'json-c
Daniel-Constantin Mierla writes:
> If you don't give the exact command you run and where, it's hard to
> guess and impossible to help.
The command I run at root is
dpkg-buildpackage -rfakeroot -b -us -uc
i.e., I try to build debian package. It produces
/usr/bin/make maintainer-clean
make[1]:
Daniel-Constantin Mierla writes:
>
> Anyhow, it guess you try to build deb packages. In this case the rules
> are from the debian specs, not from kamailio Makefiles, and they were
> not updated, hopefully Victor Seva (or someone else with deb packaging
> experience) will get the time to work on th
Found the reason for the cleaning loop. It was caused by local renaming
of kamcmd command. I need to do the rename, since I can have several
kamailios running on the same host and each needs its own kamcmd
command. It would be nice if $(MAIN_NAME) would also have effect on the
name of kamcmd com
why utils dir is not in src dir? utils certainly contains important
source code.
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Module: kamailio
Branch: master
Commit: 07310c634d322f137cff0103f776f0e397f963bb
URL:
https://github.com/kamailio/kamailio/commit/07310c634d322f137cff0103f776f0e397f963bb
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2016-12-12T11:28:11+02:00
modules/pua_rpc: return result as struct
Daniel-Constantin Mierla writes:
> I pushed a small patch that allows specifying the name from command
> line, like:
>
> cd utils/kamcmd/
>
> make NAME=mykamcmd ...
Looks like that make is called from for loop in src/Makefile and it is
not that easy to add the param. Perhaps easier solution wo
Daniel-Constantin Mierla writes:
> You can change even now the line NAME?=kamcmd in the IFEQ blovk if you
> want to edit the makefile for your local build system.
That is exactly what I have done.
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-route
Module: kamailio
Branch: master
Commit: 5429d68eaa6ad54586d428f34ec31c674cf8c060
URL:
https://github.com/kamailio/kamailio/commit/5429d68eaa6ad54586d428f34ec31c674cf8c060
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2016-12-13T02:12:26+02:00
modules/pua_rpc: no need to include status
Module: kamailio
Branch: master
Commit: 18631d093c9f189ea35db118db80ee954637d3ed
URL:
https://github.com/kamailio/kamailio/commit/18631d093c9f189ea35db118db80ee954637d3ed
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2016-12-13T10:01:51+02:00
modules/pua_rpc: added doc directory
CC (gcc) [M mtree.so] mtree_mod.o
mtree_mod.c: In function 'rpc_mtree_print_node':
mtree_mod.c:1046:18: warning: unused variable 'attr' [-Wunused-variable]
struct mi_attr* attr= NULL;
^
mtree_mod.c:1045:18: warning: unused variable 'node' [-Wunused-variable]
struct m
CC (gcc) [M websocket.so] ws_frame.o
ws_frame.c:131:12: warning: 'str_status_empty_param' defined but not used
[-Wunused-variable]
static str str_status_empty_param = str_init("Empty connection ID parameter");
^
ws_frame.c:132:12: warning: 'str_status_too_many_params' de
What to do with mi field in struct module_exports? Should it be
removed too?
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
CC (gcc) [M tm.so] rpc_uac.o
rpc_uac.c: In function 't_uac_send':
rpc_uac.c:679:7: warning: unused variable 'err_buf' [-Wunused-variable]
char err_buf[MAX_REASON_LEN];
^
rpc_uac.c:678:22: warning: unused variable 'err_ret' [-Wunused-variable]
int ret, sip_error, err_ret, fro
CC (gcc) [M rtpengine.so] rtpengine.o
rtpengine.c:1024:12: warning: 'rtpp_test_ping' defined but not used
[-Wunused-function]
static int rtpp_test_ping(struct rtpp_node *node)
^
___
sr-dev mailing list
sr-dev@lists.sip-router.
while testing latest master, my sip proxy didn't start and produced
these errors to syslog:
Jan 19 21:32:18 lohi /usr/bin/sip-proxy[5382]: BUG: [core/select.c:376]:
resolve_select(): final node has SEL_PARAM_EXPECTED set (no more parameters
available)
Jan 19 21:32:18 lohi /usr/bin/sip-proxy[538
Daniel-Constantin Mierla writes:
> I just pushed a patch that should print cfg line and column in such
> case. Can you test and see if works ok?
The commit didn't change the syslog output. The commit checks if
fix_rval returns negative result:
case RVE_RVAL_OP:
Daniel-Constantin Mierla writes:
> I pushed another commit for it.
Thanks, now I got the line number:
Jan 24 06:45:39 lohi /usr/bin/sip-proxy[8809]: BUG: [core/select.c:376]:
resolve_select(): final node has SEL_PARAM_EXPECTED set (no more parameters
available)
Jan 24 06:45:39 lohi /usr/bin/s
Daniel-Constantin Mierla writes:
> the GIT branch 5.0 has just been created, it will host the release
> series 5.0.x. To get this branch from GIT, you can use:
>
> git clone https://github.com/kamailio/kamailio.git kamailio
> cd kamailio
> git checkout -b 5.0 origin/5.0
>
> Hopefully before the
LD_EXTRA_OPTS="$(LD_EXTRA_OPTS)" \
group_include="opensipg"
>
> Cheers,
> Daniel
>
> On 09/02/2017 22:48, Juha Heinanen wrote:
> > Daniel-Constantin Mierla writes:
> >
> >> the GIT branch 5.0 has just been created, it will ho
Daniel-Constantin Mierla writes:
> They were reported in the past, iirc, but apparently only by a specific
> version of compiler, or maybe some specific flags to gcc.
I set QUIET=verbose and got the exact command (below).
-- Juha
gcc -funroll-loops -Wcast-align -m64 -minline-all-stringops -fali
Daniel-Constantin Mierla writes:
> Where do you set the QUIET? When building the usual source code or when
> building the debs?
When building the debs. I added to debian/rules:
# Uncomment this to turn on verbose mode.
# export QUIET=verbose
Might be a good idea to add those lines to official
I would need larger dialplan table repl_exp field. Its size is currently 64
chars:
repl_exp
string
64
Replacement expresion (sed like).
Would it be OK to increase its size to 256 chars? If so, should table
version number be also increased?
-- Juha
__
Module: kamailio
Branch: master
Commit: fc358c8dabc227e86e4299d54ef6d3d29a46b096
URL:
https://github.com/kamailio/kamailio/commit/fc358c8dabc227e86e4299d54ef6d3d29a46b096
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-02-16T10:25:30+02:00
lib/srdb1: increased size of dialplan table
Module: kamailio
Branch: 5.0
Commit: 5a9716f9f4426375b0f99f499ade4d1785e0b600
URL:
https://github.com/kamailio/kamailio/commit/5a9716f9f4426375b0f99f499ade4d1785e0b600
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-02-16T10:28:45+02:00
lib/srdb1: increased size of dialplan table
Daniel-Constantin Mierla writes:
> I am fine to increase the size. The version number should not be
> increased, it is not a change that breaks any query and c code should
> have checks/or allocations based on the size. Should be also ok to
> backport.
OK, done, Juha
Michael Ricordeau writes:
> New feature to get the real source IP when kamailio websocket is
> behind a load balancer transmitting X-Forwarded-For and/or X-Real-IP
> headers:
I have used $hdr(X-Forwarded-For) to get the source address. What
benefit does a pv have over that?
-- Juha
___
Daniel-Constantin Mierla writes:
> I pushed a patch to attempt to print the line for string transformation
> errors, as they are commonly used. However, this can be also accomplished for
> all error logs by setting config parameters:
>
> ```
> log_prefix_mode=1
> log_prefix="(cfg line: $cfg(lin
Module: kamailio
Branch: master
Commit: b2e8a193d086df58437c5b4d4df5dce684d88c61
URL:
https://github.com/kamailio/kamailio/commit/b2e8a193d086df58437c5b4d4df5dce684d88c61
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-03-18T11:40:56+02:00
modules/lcr: added lcr.load_gws rpc
CC (gcc) [M pv.so] pv_core.o
pv_core.c: In function 'pv_get_hdrc':
pv_core.c:1811:9: warning: unused variable 'p_size' [-Wunused-variable]
int n, p_size;
^
pv_core.c:1811:6: warning: unused variable 'n' [-Wunused-variable]
int n, p_size;
^
pv_core.c:1810:12: warning:
if registrar method_filtering param is set, lookup produces -2 and $du
is not set if method is not listed in allow header of register request.
this is fine with initial requests, but in case of an invite dialog,
initial invite may list another set of methods that the ua supports in
in-dialog reque
k 5.1 crashes when executing this:
$var(test_uri) = "tel:+358447058060";
xlog("L_INFO", "** extracting domain from <$var(test_uri)>\n");
$rd = $(var(test_uri){uri.host});
xlog("L_INFO", "** request uri is <$ru>\n");
Apr 7 15:15:17 lohi /usr/bin/sip-proxy[14477]: INFO: ***
Daniel-Constantin Mierla writes:
> Is it latest master? The line is matching an LM_ERR() with only static
> string.
master as it was on april 3.
> You should list the code, in gdb:
>
> frame 0
>
> list
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x7f9d268703e0 in pv_se
Daniel-Constantin Mierla writes:
> What OS do you have and which version of gdb? The list command should
> list the code around the line where the crash happens, but it doesn't do
> it for you.
this is debian jessie with GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1.
> Anyhow, you can extract the code aro
Daniel-Constantin Mierla writes:
> Thanks, I just pushed a patch, can you try it?
Unfortunately still the same crash with this placed as the first thing
in main routing block:
$var(test_uri) = "tel:+358447058060";
xlog("L_INFO", "** extracting domain from <$var(test_uri)>\n");
$r
Daniel-Constantin Mierla writes:
> It was the parser setting the value of host part to "", not the
> transformation, so the change had to be done in other file. Can you try
> again with latest master?
thanks for the fix. now the crash is gone. statements:
$var(test_uri) = "tel:+358447058060";
Daniel-Constantin Mierla writes:
> A quicker solution will be to disable method matching based on presence
> of To-tag, because this is anyhow part of an established dialog and this
> can be end-to-end without involving the proxy/registrar.
Sounds good to me, although in case of gruu, registrar (
Module: kamailio
Branch: 5.0
Commit: f9fbd7a97cae4431a64ab350c2eed7bbc0586049
URL:
https://github.com/kamailio/kamailio/commit/f9fbd7a97cae4431a64ab350c2eed7bbc0586049
Author: Daniel-Constantin Mierla
Committer: Juha Heinanen
Date: 2017-04-08T09:02:39+03:00
pv: renamed empty buf variable
Module: kamailio
Branch: 5.0
Commit: dccca1959b6f96bb508baa9dab0eacba7c69f20c
URL:
https://github.com/kamailio/kamailio/commit/dccca1959b6f96bb508baa9dab0eacba7c69f20c
Author: Daniel-Constantin Mierla
Committer: Juha Heinanen
Date: 2017-04-08T09:02:38+03:00
pv: declare the pv_empty as buffer
Module: kamailio
Branch: 5.0
Commit: 2705a9d36481d66ea86f79b574760f3009118775
URL:
https://github.com/kamailio/kamailio/commit/2705a9d36481d66ea86f79b574760f3009118775
Author: Daniel-Constantin Mierla
Committer: Juha Heinanen
Date: 2017-04-08T09:02:39+03:00
core: use buffers instead of static
Module: kamailio
Branch: master
Commit: 8e037f623ae6daf58e092d8a41430fd13d1d38ec
URL:
https://github.com/kamailio/kamailio/commit/8e037f623ae6daf58e092d8a41430fd13d1d38ec
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-04-08T10:31:23+03:00
modules/siputils: made tel2sip to return 2
Daniel-Constantin Mierla writes:
> Indeed, patches will be backported -- I see you did it for 5.0,
> thanks!
I tried also to cherry-pick to 4.4, but it failed. Would need manual
backport.
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
ht
I noticed that function result cannot be directly tested in
if-statement:
if (func_x() == y) ...
Why is that? Should I open a feature request or is it a no-go?
-- Juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/
Module: kamailio
Branch: master
Commit: ac2572b880c5373864a55ebe1b9e538dd9337e63
URL:
https://github.com/kamailio/kamailio/commit/ac2572b880c5373864a55ebe1b9e538dd9337e63
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-04-08T15:22:54+03:00
modules/registrar: apply method_filtering
Module: kamailio
Branch: master
Commit: e36f607d44a53969c4dc469f7c940ed861419ca1
URL:
https://github.com/kamailio/kamailio/commit/e36f607d44a53969c4dc469f7c940ed861419ca1
Author: Juha Heinanen
Committer: Juha Heinanen
Date: 2017-04-08T15:25:07+03:00
modules/registrar: removed extra empty line
Daniel-Constantin Mierla writes:
> I think I looked at it several years ago and the situation is a bit
> complex given the way the config script interpreter is doing the
> evaluation -- there are the rules that return 0 means exit, negative
> values are evaluated to false and positive to true. Bec
I built latest master on Debian stretch and got the compiler warnings
below.
-- Juha
---
CC (gcc) [M ipops.so] ip_parser.o
ip_parser.c:18:18: warning: 'ip_parser_en_main' defined but not used
[-Wunused-const-varia
Module: sip-router
Branch: master
Commit: 998ae20b26360383386d5f677ec87301e6b3ba23
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=998ae20b26360383386d5f677ec87301e6b3ba23
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Tue Mar 8 09:42:18 2011 +0200
Module: sip-router
Branch: 3.1
Commit: 971cfda1012516f446d990e335b5edf6959e065c
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=971cfda1012516f446d990e335b5edf6959e065c
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Tue Mar 8 09:42:18 2011 +0200
Module: sip-router
Branch: master
Commit: 959ab319903b9625ead7292cc9638a20146e1cca
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=959ab319903b9625ead7292cc9638a20146e1cca
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Mar 18 07:51:55 2011 +0200
$ eg push
x...@git.sip-router.org's password:
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 811 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
error: file write error (No space left on device)
fatal: unab
Module: sip-router
Branch: master
Commit: 59cfef003b0314f802123c42238737c1b281b42e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=59cfef003b0314f802123c42238737c1b281b42e
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Mar 18 08:08:23 2011 +0200
modules
Module: sip-router
Branch: 3.1
Commit: 63e528a36299eca625e204a1834ab8502aa1cf27
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63e528a36299eca625e204a1834ab8502aa1cf27
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Mar 18 15:06:16 2011 +0200
modules
Henning Westerholt writes:
> i just did a quick check, there is now enough space left on the respective
> partition on the server. Could you please try again?
seems to work now,
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists
today i compiled sip router from master and got this:
CC (cc) [M sqlops.so] sqlops.o
sqlops.c: In function ‘sql_xquery’:
sqlops.c:201: warning: passing argument 3 of ‘sql_do_xquery’ from incompatible
pointer type
sql_api.h:77: note: expected ‘struct pv_elem_t *’ but argument is of type
Daniel-Constantin Mierla writes:
> for the second year, Kamailio is participating in GSoC program. For
> 2011, the proposal is to implement a signaling gateway between SIP and
> JINGLE to enable voice calls between the two networks:
i read somewhere that googletalk now supports sip, but don't k
Iñaki Baz Castillo writes:
> I don't think so. GoogleTalk is XMPP and uses Jingle for voice.
> Maybe you meant GoogleVoice (https://www.google.com/voice/) which is a
> PSTN service in which Google uses SIP internally.
yes, sorry, i meant googlevoice. so i read somewhere that now
googlevoice users
Olle E. Johansson writes:
> - In SIP you can send a Subscribe with Expires:0 to "query" the server
> - about the current state of a URI.
> - In XMPP, the server doesn't have a state for anything. It's just a
> - message router.
that is one example of how information will get lost in the transla
Daniel-Constantin Mierla writes:
> core: added function to search a str inside a str
>
> - str_search(text, needle) added to return the position of str needle
> when it is found inside str text
> (cherry picked from commit 8c2a2826f5f6954b4a38405fd04f128078e98e0f)
daniel,
this does not look l
Module: sip-router
Branch: master
Commit: df7f3bc62783672eff39748450e8845187efb74a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=df7f3bc62783672eff39748450e8845187efb74a
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Thu Mar 31 16:18:45 2011 +0300
modules
Module: sip-router
Branch: 3.1
Commit: a62ce2a6b8d90f7d45e62da92f665d4e1ea141b2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a62ce2a6b8d90f7d45e62da92f665d4e1ea141b2
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Thu Mar 31 16:18:45 2011 +0300
modules
Timo Reimann writes:
> Feeling hard to make up my mind on this one. Let's hear what others have
> to say.
i would use sr 3.x for any new work. for example, sr 3.1 has turned out
to be able to handle message storms much better than 1.5.
-- juha
___
sr
Peter Dunkley writes:
> nat_uac_test() doesn't seem to work for requests that arrive over UDP.
i don't know which param you tried, but nat_uac_test("2") and
nat_uac_test("1") works for me.
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
ht
Module: sip-router
Branch: master
Commit: 73815122531ebcc26953c784c3d66624a4154cb4
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=73815122531ebcc26953c784c3d66624a4154cb4
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Sat Apr 9 19:17:52 2011 +0300
Peter Dunkley writes:
> if (nat_uac_test(flags))
> xlog("NAT'd\n");
put xlog call printing contact header before the if, replace flags with
"1", and add also else part. then make the udp test and send result to
the list.
-- juha
_
Andrei Pelinescu-Onciul writes:
> core: pkg mem size configurable form the cmd line
>
> The pkg mem size used can be configured by using the "-M"
> parameter on the command line, e.g.:
> ser -M 8 -f test.cfg # start ser with 8mb of pkg memory
> The default remains 4Mb.
-M 4 worked fine, but -M
looks like xlog module is not supported by lua. so i tried to use
sr.log function.
when i make in lua script call
sr.log(2, "Executing lua script\n");
i get to syslog
Apr 14 20:39:17 sip /usr/sbin/sip-proxy[23495]: ERROR: app_lua
[app_lua_sr.c:92]: Executing lua script
why ERROR level, since
Andrei Pelinescu-Onciul writes:
> You cannot use fixup_pvar_pvar for more then 2 parameters. A lot of the
> fixup functions check the number of parameters and return error for
> more then 2.
> However in the case of fixup_pvar_pvar(), you can replace it with
> fixup_pvar_all() (and fixup_free_p
Module: sip-router
Branch: master
Commit: 5ad55516eb434a24d1dbd5225029c9b254ca5235
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5ad55516eb434a24d1dbd5225029c9b254ca5235
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Apr 22 12:18:09 2011 +0300
Module: sip-router
Branch: master
Commit: b56094a42d010e1ead64195e3db0c855e49f1cde
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b56094a42d010e1ead64195e3db0c855e49f1cde
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Apr 22 12:25:26 2011 +0300
Juha Heinanen writes:
> the problem is that fixup_pvar_all has only been defined in mod_fix.c,
> not in mod_fix.h. can i just go and add it in mod_fix.h?
never mind, i didn't need to use that fixup.
-- juha
___
sr-dev mailing list
sr-de
Alex Hermann writes:
> > modules_k/siputils: allow tel2sip call also in failure route.
>
> This description does not seem to match the code changes. Did you commit the
> wrong patch or did you use a wrong description?
>
> > {"decode_contact_header", (cmd_function)decode_contact_header, 0,
Module: sip-router
Branch: master
Commit: 69aed0615f5e846203acd4809d1f7fdfd67acb8a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=69aed0615f5e846203acd4809d1f7fdfd67acb8a
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Apr 22 13:09:44 2011 +0300
> Tha description mentions 'tel2sip' but the code change is for
> 'decode_contact_header'
should have been for tel2sip.
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Module: sip-router
Branch: master
Commit: 90c3fc80b5307584e2bc31b5d81b937200a3a54b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90c3fc80b5307584e2bc31b5d81b937200a3a54b
Author: Juha Heinanen
Committer: Juha Heinanen
Date: Fri Apr 22 13:59:09 2011 +0300
i tried to give xlog an expression param and got segfault at startup:
Apr 22 14:29:41 sip kernel: [53028.559446] sip-proxy[8339]: segfault at
f30cbd8b ip 080c7616 sp bfa74da0 error 5 in sip-proxy[8048000+18e000]
Not starting sip-proxy: invalid configuration file!
0(8339) INFO: pv [pv_shv.c:61]:
laura testi writes:
> Is it a PC client's problem or Kamailio's problem?
>
> The error in the kamailio site is:
> /usr/sbin/kamailio[4483]: ERROR: tls [tls_server.c:1174]: TLS
> connect:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
> handshake failure
> /usr/sbin/kamailio[4483]:
i simplified the tutorial by removing the option of NOT re-using tcp/tls
connections:
http://sip-router.org/wiki/tutorials/alias-example
-- juha
___
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr
Juha Heinanen writes:
> domain module sets $td.did at lookup_domain call. $td.did seems to be a
> normal avp, because i can print its value with xlog by referring to it
> as $avp(td.did). however, its value is gone at failure route, which
> makes me suspect that $td.did is not rea
i compiled today sr from master and got warning:
CC (cc) [M kex.so] core_stats.o
core_stats.c: In function ‘mi_reset_and_add_stat’:
core_stats.c:342: warning: implicit declaration of function ‘get_stat_val_long’
-- juha
___
sr-dev mailing
Juha Heinanen writes:
> i compiled today sr from master and got warning:
>
> CC (cc) [M kex.so]core_stats.o
> core_stats.c: In function ‘mi_reset_and_add_stat’:
> core_stats.c:342: warning: implicit declaration of function
> ‘get_stat_val_long’
it was not just
i renamed get_stat_val_long call to get_stat_val in order to get a
version of sr that starts up. because of a copy/paste accident, a
non-ascii char went into the commit message and i guess because of that
reason, email of the commit didn't show up.
-- juha
___
1 - 100 of 2207 matches
Mail list logo