[SR-Users] Operations With Variables $var- does it need to load a module

2011-06-12 Thread Omar
In Kamailio 1.4.3 I have the following scenario: $var(a) = 0 $var(b) = 0 $var(a) = $(tU{s.len}); $var(b) = $var(a) - 5; xlog(" $var(b)"); the result $var(b) is always the same as $var(a) should i check if some specific module is loaded? the debugs does not show any error, and $var(a) and $v

Re: [SR-Users] Kamailio dispatcher

2011-06-12 Thread Spinov Evgeniy
Hello. DCM> Hello, DCM> to understand the scenario: DCM> - first branch has destination uri ($du) set Exactly. DCM> - it failed and gets to failure route where you call ds_next_domain() DCM> and $du s still the one from first branch? Exactly. $du is being set by ds_select_dst() before t_rela

Re: [SR-Users] Double tuple in notify

2011-06-12 Thread Iñaki Baz Castillo
The id of both tuples are different so the server must keep both. However the client sholud use if-match header on the second PUBLISH to ensure it will replace the existing one. El 10/06/2011 21:32, "Eugen Dedu" escribió: Hi again, Then it is the time for Eugen to add it in his sip client and

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Robert Jongbloed
On 11/06/2011, at 2:54 PM, Iñaki Baz Castillo wrote: >> I based my assumption that the sip/simple presence server should not >> generate itself a presence/pidf document with status closed/offline since >> the pidf has a node that is generated by presentity device. > > Right. The presence server

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Craig Southeren
On 10/06/2011 9:55 PM, Iñaki Baz Castillo wrote: 2011/6/10 Daniel-Constantin Mierla: Specifically, the RFC says: "During composition, a presence agent (PA) may encounter a stored element that covers the present time. The PA MAY either discard that element or MAY convert it to a regular

Re: [SR-Users] Meaning of empty body in NOTIFY

2011-06-12 Thread Craig Southeren
On 10/06/2011 1:22 PM, Daniel-Constantin Mierla wrote: On 6/10/11 10:07 PM, Craig Southeren wrote: On 10/06/2011 1:01 PM, Daniel-Constantin Mierla wrote:..deleted So, if a client uploads a presence document that contains a element, that element could be sent by the PA when the client goes