Re: [SR-Users] lcr from_uri not matching

2012-02-28 Thread Juha Heinanen
Ben WIlliams writes: > Its 3.2.2 from > http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_CentOS-6/ can you post dump of your lcr tables and i'll give a try with them? -- juha ___ SIP Express Router (SER) and Kamailio (OpenSE

Re: [SR-Users] CallControl and MediaProxy

2012-02-28 Thread Daniel-Constantin Mierla
That should be. Try changing one of them to (1<<29) and see if all works fine. On another hand, defining and using core msg flags in a module is a risk, a different solution has to be done, a simple one is to move the definition of these flags in the core, so there will be no overlap in the f

Re: [SR-Users] sr-users Digest, Vol 81, Issue 95

2012-02-28 Thread Yufei Tao
Hi Thanks for your reply! I already set the accounting flag like you say. And all normal BYEs are inserted into the acc table fine. Just internally generated BYEs don't get inserted in acc table. I've done a bit googling and added event_route: event_route[tm:local-request] { if (is_method("BY

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Asgaroth
Thanks Alex, I'll go and do some reading up on avp's :) On 28/02/12 16:25, Alex Balashov wrote: I would just throw a serialised string into the hash table as a scalar entry, the components of which are separated by some delimiter, e.g. REGISTER-1;INVITE-2;3 Then, I'd deserialise it by iter

[SR-Users] CRLF Error with tcp_crlf_ping

2012-02-28 Thread Jijo
Hi All. As per the tcp_crlf_ping description, kamailio shall reply CRLF only when it receives "CRLF CRLF". But In the 3.1.0 version, if kamailio recieves "CRLF", it respond back CRLF. Is this an expected behavior or an error? Thanks Jijo ___ SIP Expre

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Alex Balashov
I would just throw a serialised string into the hash table as a scalar entry, the components of which are separated by some delimiter, e.g. REGISTER-1;INVITE-2;3 Then, I'd deserialise it by iterating through it with the {s.select} transform and throw it into an AVP array, e.g. $(avp(s:

Re: [SR-Users] Presence between different domains

2012-02-28 Thread Klaus Darilion
NOTIFYs are in-dialog and should be loose-routed. Verify that loose-routing works fine. If the clients are behind NAT also verify that Contact headers are rewritten during subscription. regards Klaus On 28.02.2012 16:08, Manuel Perez wrote: Hello, I've used kamailio 3.2.2, i have rls, simp

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Asgaroth
I was looking to implement a hash table to select a particular dispatcher destination set based on the sip request method. I was hoping to achieve it by using an array in the hash table for a particular domain. so for example have a htable as follows: domain[0]:: REGISTER-1 domain[1]:: INVITE-

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Alex Balashov
I guess the first question would be: why would you want to? Constructs like hash tables and other data structures are usually meant to be used in a high-level way, their inner workings opaque from the user. That tends to be true in general-purpose programming runtimes, as well. What are you t

[SR-Users] Presence between different domains

2012-02-28 Thread Manuel Perez
Hello, I've used kamailio 3.2.2, i have rls, simple presence and xcap support working. I've replicated this server into another one in a different domain, but presence between domains is not working. I'm using for presence presence.so, presence_xml.so and presence_mwi.so. In route[WITHINDLG] i hav

[SR-Users] obtaining htable array index

2012-02-28 Thread Asgaroth
Hi All, Is it possible to asertain the array index of an htable entry based on its value? For example, say I have an htable called foo with the following entries: Entry:: 11 testing[0]:: hello-2 testing[1]:: 1 testing::size:: 2 is it possible to: [a] extract the array index base