Re: [OpenSER-Devel] Sip long session problem

2008-05-29 Thread Daniel-Constantin Mierla
Hello, you do something explicitly in the config file that results into the 404 reply. There is no such default behavior. Check the cases when the 404 is sent by your script and see if the PRACK is getting in one of them. Cheers, Daniel On 05/30/08 04:57, Steven Wu wrote: > Hi all, > Does open

[OpenSER-Devel] Sip long session problem

2008-05-29 Thread Steven Wu
Hi all, Does openser support long session (183 - PRACK)? Currently the openser reply my ua with 404 when ua set PRACK to it. The flowing of SIP message like this Aopenser B |INVITE (with 100rel) -> |INVI

Re: [OpenSER-Devel] dialog module global vars

2008-05-29 Thread Ovidiu Sas
On Thu, May 29, 2008 at 3:40 PM, Dan Pascu <[EMAIL PROTECTED]> wrote: > On Thursday 29 May 2008, Ovidiu Sas wrote: >> Hello Dan, >> >> Are you refering to: >> static struct dlg_cb_params params = {NULL, DLG_DIR_NONE, NULL, NULL}; >> ? > > Yes, that's the one. > >> >> It was modeled after: >> static

Re: [OpenSER-Devel] dialog module global vars

2008-05-29 Thread Dan Pascu
On Thursday 29 May 2008, Ovidiu Sas wrote: > Hello Dan, > > Are you refering to: > static struct dlg_cb_params params = {NULL, DLG_DIR_NONE, NULL, NULL}; > ? Yes, that's the one. > > It was modeled after: > static struct tmcb_params params = {0,0,0,0,0,0}; > from t_hooks.c. The fact that TM does

Re: [OpenSER-Devel] dialog module global vars

2008-05-29 Thread Ovidiu Sas
Hello Dan, Are you refering to: static struct dlg_cb_params params = {NULL, DLG_DIR_NONE, NULL, NULL}; ? It was modeled after: static struct tmcb_params params = {0,0,0,0,0,0}; from t_hooks.c. Ovidiu On Thu, May 29, 2008 at 3:03 PM, Dan Pascu <[EMAIL PROTECTED]> wrote: > > Ovidiu, I think you

Re: [OpenSER-Devel] dialog module global vars

2008-05-29 Thread Dan Pascu
Ovidiu, I think you made these changes. Can you clarify why a global variable is used? On Tuesday 20 May 2008, Dan Pascu wrote: > Why is params in dlg_cb.c a global variable? I see no reason for it not > to be a local variable on the stack. -- Dan _

[OpenSER-Devel] SF.net SVN: openser: [4269] trunk/modules/tm

2008-05-29 Thread Ovidiu Sas
Revision: 4269 http://openser.svn.sourceforge.net/openser/?rev=4269&view=rev Author: osas Date: 2008-05-29 11:32:43 -0700 (Thu, 29 May 2008) Log Message: --- Update doc for flag 0x2 for t_relay Modified Paths: -- trunk/modules/tm/README trunk/modules/tm

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Juha Heinanen
Bogdan-Andrei Iancu writes: > my bad - I have to admit sometime I "forget" about the documentation > after writing the code - I will take care of this and see if the > docs needs to be updated. bogdan, i added Core MI Functions section into core cookbook and but "debug" there. -- juha

[OpenSER-Devel] [ openser-Feature Requests-1977936 ] Allow pseudo-variables in "t_reply()"

2008-05-29 Thread SourceForge.net
Feature Requests item #1977936, was opened at 2008-05-29 17:07 Message generated for change (Settings changed) made by ibc_sf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1977936&group_id=139143 Please note that this message will contain a full copy of

Re: [OpenSER-Devel] Why "sl_send_reply()" allow psudo-variables and "t_relay()" doesn't?

2008-05-29 Thread Iñaki Baz Castillo
El Thursday 29 May 2008 16:58:09 Bogdan-Andrei Iancu escribió: > :) - if you need this, add a feature request and assigned it to me - it > > is a simple change for it... Thanks a lot Bogdan, request done: https://sourceforge.net/tracker/index.php?func=detail&aid=1977936&group_id=139143&atid=743

[OpenSER-Devel] [ openser-Feature Requests-1977936 ] Allow pseudo-variables in "t_reply()"

2008-05-29 Thread SourceForge.net
Feature Requests item #1977936, was opened at 2008-05-29 17:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=743023&aid=1977936&group_id=139143 Please note that this message will contain

Re: [OpenSER-Devel] extra_headers missing from pua_mi pua_publish

2008-05-29 Thread Bogdan-Andrei Iancu
Hi Juha, Most probably this functionality will become obsolete in a matter of days :( right now I'm working (and I hope I will finish it by the release) to a new type of route that will be triggered when a new request is internally generated. And there you can do changes on the request (li

Re: [OpenSER-Devel] Minor misspelling in a comment in Makefile.defs

2008-05-29 Thread Bogdan-Andrei Iancu
Hi Anatoly, Thanks for the report - I made the fix on the SVN ;) Regards, Bogdan Anatoly Pidruchny wrote: > In the Makefile.defs (trunk and 1.3.x branch) there is the following > comment: > > # WARNING: do not add mode=debug or mode=release anymore in the Makefile, > # use make mode=debug all i

[OpenSER-Devel] SF.net SVN: openser: [4268] branches/1.2/Makefile.defs

2008-05-29 Thread Bogdan-Andrei Iancu
Revision: 4268 http://openser.svn.sourceforge.net/openser/?rev=4268&view=rev Author: bogdan_iancu Date: 2008-05-29 08:02:08 -0700 (Thu, 29 May 2008) Log Message: --- -backport from trunk (rev #4266): - fixed minor misspelling (no -> now) Reported by Anatoly Pidruchny. Re

[OpenSER-Devel] SF.net SVN: openser: [4267] branches/1.3/Makefile.defs

2008-05-29 Thread Bogdan-Andrei Iancu
Revision: 4267 http://openser.svn.sourceforge.net/openser/?rev=4267&view=rev Author: bogdan_iancu Date: 2008-05-29 08:01:06 -0700 (Thu, 29 May 2008) Log Message: --- -backport from trunk (rev #4266): - fixed minor misspelling (no -> now) Reported by Anatoly Pidruchny. Re

[OpenSER-Devel] SF.net SVN: openser: [4266] trunk/Makefile.defs

2008-05-29 Thread Bogdan-Andrei Iancu
Revision: 4266 http://openser.svn.sourceforge.net/openser/?rev=4266&view=rev Author: bogdan_iancu Date: 2008-05-29 07:59:45 -0700 (Thu, 29 May 2008) Log Message: --- - fixed minor misspelling (no -> now) Reported by Anatoly Pidruchny. Modified Paths: -- t

Re: [OpenSER-Devel] Why "sl_send_reply()" allow psudo-variables and "t_relay()" doesn't?

2008-05-29 Thread Bogdan-Andrei Iancu
:) - if you need this, add a feature request and assigned it to me - it is a simple change for it... Regards, Bogdan Iñaki Baz Castillo wrote: > El Thursday 29 May 2008 16:53:18 Bogdan-Andrei Iancu escribió: > >> Hi Inaki, >> >> There is no special reason for this - probably nobody had any ne

Re: [OpenSER-Devel] Why "sl_send_reply()" allow psudo-variables and "t_relay()" doesn't?

2008-05-29 Thread Iñaki Baz Castillo
El Thursday 29 May 2008 16:53:18 Bogdan-Andrei Iancu escribió: > Hi Inaki, > > There is no special reason for this - probably nobody had any need for > PVs in t_reply() - I guess you are referring at t_reply() and not at > t_relay() as in your text :) Yes, sure, I meant "t_reply" XD -- Iñaki Baz

Re: [OpenSER-Devel] Why "sl_send_reply()" allow psudo-variables and "t_relay()" doesn't?

2008-05-29 Thread Bogdan-Andrei Iancu
Hi Inaki, There is no special reason for this - probably nobody had any need for PVs in t_reply() - I guess you are referring at t_reply() and not at t_relay() as in your text :) Regards, Bogdan Iñaki Baz Castillo wrote: > Just it. "sl_send_reply()" allows any psudo-variable as code and reason

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Bogdan-Andrei Iancu
Hi Anatoly, my bad - I have to admit sometime I "forget" about the documentation after writing the code - I will take care of this and see if the docs needs to be updated. Regards, Bogdan Anatoly Pidruchny wrote: > Juha, > > you can also change the debug level temporarily per process for a

[OpenSER-Devel] SF.net SVN: openser: [4265] branches/1.3/modules/presence/notify.c

2008-05-29 Thread Anca Vamanu
Revision: 4265 http://openser.svn.sourceforge.net/openser/?rev=4265&view=rev Author: anca_vamanu Date: 2008-05-29 07:37:10 -0700 (Thu, 29 May 2008) Log Message: --- - fixed sending Notify to watchers when status is polite-block (reported by Sigrid Thijs <[EMAIL PROTECTED]>

[OpenSER-Devel] SF.net SVN: openser: [4264] trunk/modules/presence/notify.c

2008-05-29 Thread Anca Vamanu
Revision: 4264 http://openser.svn.sourceforge.net/openser/?rev=4264&view=rev Author: anca_vamanu Date: 2008-05-29 07:27:10 -0700 (Thu, 29 May 2008) Log Message: --- - fixed not sending Notify to watchers when status is polite-block (reported by Sigrid Thijs <[EMAIL PROTECT

[OpenSER-Devel] SF.net SVN: openser: [4263] trunk/modules/pua_mi/mi_func.c

2008-05-29 Thread Anca Vamanu
Revision: 4263 http://openser.svn.sourceforge.net/openser/?rev=4263&view=rev Author: anca_vamanu Date: 2008-05-29 07:13:48 -0700 (Thu, 29 May 2008) Log Message: --- - fixed wrong lengths for strings used in reply Modified Paths: -- trunk/modules/pua_mi/mi_f

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Edson
Hey, this are good news... I'll give it a try... ;) Edson >-Original Message- >From: [EMAIL PROTECTED] [mailto:devel- >[EMAIL PROTECTED] On Behalf Of Anatoly Pidruchny >Sent: quinta-feira, 29 de maio de 2008 09:35 >To: Juha Heinanen; devel@lists.openser.org >Subject: Re: [OpenSER-Devel] c

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Anatoly Pidruchny
Juha, you can also change the debug level temporarily per process for a script section using the script function setdebug. Below is some information from the ChangeLog for 1.3.x release. This function is still not documented in the core cookbook. 2007-07-19 08:23 Bogdan-Andrei Iancu, *

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Henning Westerholt
On Thu, May 29, 2008 12:53 pm, Juha Heinanen wrote: > > This is already possible using the MI debug function. > > > node04:~# openserctl fifo debug 7 > > DEBUG:: 7 > > node04:~# openserctl fifo debug 3 > > DEBUG:: 3 > > node04:~# > > thanks dan. any idea where this fifo command is documented

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Juha Heinanen
Dan Pascu writes: > I don't know if it's documented or where, but is implemented in MI core > mi/mi_core.c ok, i'll add a note about it to core cookbook. -- juha ___ Devel mailing list Devel@lists.openser.org http://lists.openser.org/cgi-bin/mailma

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Dan Pascu
On Thursday 29 May 2008, Juha Heinanen wrote: > Dan Pascu writes: > > This is already possible using the MI debug function. > > > > node04:~# openserctl fifo debug 7 > > DEBUG:: 7 > > node04:~# openserctl fifo debug 3 > > DEBUG:: 3 > > node04:~# > > thanks dan. any idea where this fifo comm

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Juha Heinanen
Dan Pascu writes: > This is already possible using the MI debug function. > node04:~# openserctl fifo debug 7 > DEBUG:: 7 > node04:~# openserctl fifo debug 3 > DEBUG:: 3 > node04:~# thanks dan. any idea where this fifo command is documented or by which module it is implemented? -- juha

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Dan Pascu
On Thursday 29 May 2008, Juha Heinanen wrote: > Edson writes: > > It would be even better if this control could be done not only > > through MI commands, but also through script commands/variable. It > > would permit increase and decrease debug level based on script logic > > given a more granu

Re: [OpenSER-Devel] changing debug level on the fly

2008-05-29 Thread Dan Pascu
On Thursday 29 May 2008, Juha Heinanen wrote: > while doing performance tests, i tried to look for a way to change > debug level on the fly using a mi function, but didn't find any. did i > somehow managed to miss such a mi function? description on debug > keyword in core cookbook does not mentio

[OpenSER-Devel] Why "sl_send_reply()" allow psudo-variables and "t_relay()" doesn't?

2008-05-29 Thread Iñaki Baz Castillo
Just it. "sl_send_reply()" allows any psudo-variable as code and reason phrase while "t_relay()" requires a fixed string: http://www.openser.org/docs/modules/1.3.x/sl.html#AEN90 http://www.openser.org/docs/modules/1.3.x/tm.html#AEN389 Any reason for this? -- Iñaki Baz Castillo [EMAIL PROTECT