Re: [SR-Users] Kamailio/Asterisk combination + hashed passwords?

2013-06-11 Thread Daniel Pocock
On 10/06/13 09:32, Daniel-Constantin Mierla wrote: > Hello, > > On 6/7/13 11:33 AM, Daniel Pocock wrote: >> On 06/06/13 16:35, Daniel-Constantin Mierla wrote: >>> Hello, >>> >>> On 6/6/13 11:05 AM, Daniel Pocock wrote: I was just looking over: http://kb.asipto.com/asterisk:realtime:k

Re: [SR-Users] Need help in setting up Presence

2013-06-11 Thread Daniel-Constantin Mierla
Hello, On 6/11/13 7:33 AM, SamyGo wrote: Hi again, So I've conducted test with Yealink IP Phone and the results are the same, please see the attached trace and suggest what should I do to have a working presence model. if your phone does not implement SIMPLE presence, you should just relay t

Re: [SR-Users] Kamailio/Asterisk combination + hashed passwords?

2013-06-11 Thread Daniel Pocock
On 10/06/13 13:05, Klaus Darilion wrote: > > > On 06.06.2013 16:35, Daniel-Constantin Mierla wrote: >> Hello, >> >> On 6/6/13 11:05 AM, Daniel Pocock wrote: >>> I was just looking over: >>> >>> http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb >>> >>> >>> >>> A couple of t

Re: [SR-Users] Kamailio/Asterisk combination + hashed passwords?

2013-06-11 Thread Daniel-Constantin Mierla
On 6/11/13 10:10 AM, Daniel Pocock wrote: On 10/06/13 09:32, Daniel-Constantin Mierla wrote: [...] I also posted a query on the asterisk-users list about support for ha1b - would you know if that is something that still comes up in practice? It is in the Kamailio schema, but I have not encount

Re: [SR-Users] Missed calls notification supporting

2013-06-11 Thread sipatse
Dear Daniel, I have added the below configuration lines and I got a parsing error. if(!lookup("location")) && if(is_method("INVITE")) {$uac_req(method)="INVITE";  $uac_req(ruri) = "sip:$r...@sip.test.com:5062";  $uac_req(furi) = "sip:$f...@sip.test.com";  $uac_req(turi) = "sip:$t...@sip.t

[SR-Users] Kamailio 4.0.1 presence support

2013-06-11 Thread Rupayan Dutta
Hello, I've been trying to make the Presence thing work with kamailio 4.0.1 and SipML5 browser client .I have loaded only the modules which are already in the Kamailio.cfg file loadmodule "presence.so" loadmodule "presence_xml.so" Is it necessary to load other modules as well?At the same

Re: [SR-Users] how to obtain $xavp(ulrcd=>ruid) value

2013-06-11 Thread Iwan Budi Kusnanto
On Mon, Jun 10, 2013 at 5:20 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 6/10/13 11:37 AM, Iwan Budi Kusnanto wrote: >> >> I tried to get ruid by using this feature. >> http://kamailio.org/docs/modules/stable/modules/registrar.html#idp1752184. >> >> I use source code from git repo from J

[SR-Users] How to iterate comma separated string

2013-06-11 Thread Mino Haluz
Hi, I have to iterate string like 1,2,3,4 in kamailio. How could you do this? I know we have s.select,index,separator but I dont know how to go through all elements. Thanks, Mino ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing lis

Re: [SR-Users] How to iterate comma separated string

2013-06-11 Thread Alex Balashov
Mino, Something like this should probably work: $var(x) = "1,2,3,4"; $var(i) = 0; while(defined $(var(x){s.select,$var(i),,})) { ... $var(i) = $var(i) + 1; } If the 'defined' operator always results 'true' on the results of this transformation, then alternately this:

Re: [SR-Users] How to iterate comma separated string

2013-06-11 Thread Daniel-Constantin Mierla
On 6/11/13 3:54 PM, Alex Balashov wrote: Mino, Something like this should probably work: $var(x) = "1,2,3,4"; $var(i) = 0; while(defined $(var(x){s.select,$var(i),,})) { ... $var(i) = $var(i) + 1; } If the 'defined' operator always results 'true' on the results of t

Re: [SR-Users] Missed calls notification supporting

2013-06-11 Thread Daniel Tryba
On Tuesday 11 June 2013 11:51:23 sipa...@in.gr wrote: > I have added the below configuration lines and I got a parsing error. > > if(!lookup("location")) && if(is_method("INVITE")) > {$uac_req(method)="INVITE"; > $uac_req(ruri) = "sip:$r...@sip.test.com:5062"; > $uac_req(furi) = "sip:$f...@

Re: [SR-Users] Missed calls notification supporting

2013-06-11 Thread Carlos Ruiz Díaz
Whenever I get a missed call I store it in a database table of my own logic (maybe you could use the built-in table for that), later, when the user appears online again after a registration, I read the records belonging to him and I send him a SIP MESSAGE containing his missed calls. Needless to s

Re: [SR-Users] [PATCH] pv: make set_var_value handle overlapping memory

2013-06-11 Thread Martin Mikkelsen
On Thu, May 16, 2013 at 10:06:00AM +0200, Daniel-Constantin Mierla wrote: > I pushed a patch for fixing this issue on master branch -- can you > test and report if works fine for you now? (Sorry for the late reply) I'm still on 3.4, but i tested the fe7e4a5152674aa9c81c09dd2fc9938d9e9e762e commit

Re: [SR-Users] Need help in setting up Presence

2013-06-11 Thread Skyler
My 0.2 cents. Very odd that you have so many REGISTER > 401's and also SUBSCRIBE > 407's on that single device. Like the initial 200 OK is actually in accidental response . Maybe like ... pike would do, if you had it that way. What does your kamailio.cfg look like? (offlist is fine if you d

Re: [SR-Users] Missed calls notification supporting

2013-06-11 Thread sipatse
Dear Daniel, Initially I would like to thank you for your response. Actually  $uac_req(method)="INVITE"; it was a typo the right is $uac_req(method)="MESSAGE";. What I would like to do is : 1)An invite comes Towards a local subscriber 2)Perform a location lookup 3)this sub is not registered

Re: [SR-Users] Need help in setting up Presence

2013-06-11 Thread SamyGo
Dear Daniel, I'm trying to send the Subscribes to end points directly after lookup("location") but I think it isn't giving me the same behavior as that of MESSAGE. These messages reach successfully from one end to another but SUBSCRIBE don't work like that. Thank you Skyler for your concern and I

[SR-Users] To simply run a route from externally

2013-06-11 Thread Mino Haluz
Hi, I need to update some hash tables inside kamailio, but this update should be triggered externally. I know there is xmlrpc or xhttp, but I am just curious if there is some easier way how to run this route. I have to run it instantly, so setting some shv and run this route if new invite comes i

Re: [SR-Users] [sr-dev] Register VoIP phones with Kamailio server

2013-06-11 Thread Ravindra Gowda
Dear Daniel, Thank you for your previous reply. I am working on Kamailio (V 4.0) server to bring up VoIP features (Voice call, SMS) on my Hand-held, Wi-Fi enabled devices (Which are not GSM supportable). 1) I would like you to confirm that, is this Kamailio architecture supports SMSing feature f

Re: [SR-Users] Need help in setting up Presence

2013-06-11 Thread Skyler
Hi, On 6/11/2013 11:09 PM, SamyGo wrote: Dear Daniel, I'm trying to send the Subscribes to end points directly after lookup("location") but I think it isn't giving me the same behavior as that of MESSAGE. These messages reach successfully from one end to another but SUBSCRIBE don't work like th