Re: [SR-Users] siptrace + flatstore

2013-04-29 Thread Daniel-Constantin Mierla
Hello, set debug=3 in you configuration file and look at the logs to see if you spot any hint in the messages. Cheers, Daniel On 4/25/13 4:31 PM, Victor V. Kustov wrote: Hi all loadmodule siptrace.so modparam(siptrace, db_url, flatstore:/var/log/siptrace) call sip_trace(); nothing in

Re: [SR-Users] kamaillio as SBC

2013-04-29 Thread Daniel-Constantin Mierla
Hello, On 4/23/13 8:35 AM, Vu Ngo thanh wrote: I am interested in testing Kamaillio acting as an SBC. The SBC as Outbound proxy server, the IPPhone can register to SIP Server via SBC and make a call via SBC. the topology is bellow The IP Phone A, The IP Phone B - register ---

Re: [SR-Users] kamaillio as SBC

2013-04-29 Thread Alex Balashov
And if you're interested in learning more about the idea of Kamailio's suitability for an SBC role, see my blog post at Likewise.am: http://www.likewise.am/2013/03/kamailio-as-an-sbc-session-border-controller/ -- Alex On 04/29/2013 03:54 AM, Daniel-Constantin Mierla wrote: Hello, On 4/23/13

Re: [SR-Users] siptrace source ip causes martians

2013-04-29 Thread Thilo Bangert
On Monday, April 22, 2013 10:14:39 AM you wrote: Hi, i have a kamailio instance, which is connected to two subnets (A and B) and exchanges sip messages between them. I have setup the siptrace module to send hep tracing messages of all sip messages to a host in subnet B. This works really

[SR-Users] Fwd:

2013-04-29 Thread Charles Chance
http://www.toyosoken.co.jp/ivtduw.php ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Rewrite RURI

2013-04-29 Thread Grant Bagdasarian
Hello, Is it possible to have Kamailio rewrite the Request URI of the INVITE message but sent the INVITE to another address first? For example - Kamailio (10.0.0.1) receives an INVITE - Kamailio rewrites the RURI to 10.0.0.3 - Kamailio sends the INVITE to 10.0.0.2

Re: [SR-Users] Rewrite RURI

2013-04-29 Thread Alex Balashov
Yes, this is achieved by changing the destination set ($du), or direct arguments to t_relay(): http://kamailio.org/docs/modules/4.0.x/modules/tm.html#t_relay This has the effect of saying, set the Request URI to X, but on the network (IP) and transport (UDP, TCP, etc.) level, send the

[SR-Users] !!! about private emails

2013-04-29 Thread Daniel-Constantin Mierla
Hello, I would like to remind that, at least in my case, writing emails directly without cc-ing the mailing list is not recommended. The rule is also suggested in the mailing lists presentation page: - http://www.kamailio.org/w/mailing-lists/ Unless I asked explicitly for a private email

Re: [SR-Users] Rewrite RURI

2013-04-29 Thread Carsten Bock
Hi Grant, that's easy: $ru = sip:$rU@10.0.0.3; $du = sip:10.0.0.2; Done. Carsten 2013/4/29 Grant Bagdasarian g...@cm.nl: Hello, Is it possible to have Kamailio rewrite the Request URI of the INVITE message but sent the INVITE to another address first? For example - Kamailio

[SR-Users] Rewrite RURI

2013-04-29 Thread Juha Heinanen
Grant Bagdasarian writes: Is it possible to have Kamailio rewrite the Request URI of the INVITE message but sent the INVITE to another address first? yes, you can set $du and t_relay() sends the request accordingly no matter what r-uri is. -- juha

Re: [SR-Users] Fwd:

2013-04-29 Thread Charles Chance
Hi, Sincere apologies, not sure how this happened - please ignore, it was not me who sent it :/ Regards, Charles On 2 April 2013 08:21, Charles Chance charles.cha...@sipcentric.com wrote: http://www.toyosoken.co.jp/ivtduw.php ___ SIP Express

Re: [SR-Users] Rewrite RURI

2013-04-29 Thread Grant Bagdasarian
Cool. Thanks! -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Monday, April 29, 2013 10:37 AM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Rewrite RURI Yes, this is achieved by

Re: [SR-Users] Rewrite RURI

2013-04-29 Thread Olle E. Johansson
29 apr 2013 kl. 10:32 skrev Grant Bagdasarian g...@cm.nl: Hello, Is it possible to have Kamailio rewrite the Request URI of the INVITE message but sent the INVITE to another address first? For example - Kamailio (10.0.0.1) receives an INVITE - Kamailio rewrites the

Re: [SR-Users] !!! about private emails

2013-04-29 Thread Olle E. Johansson
29 apr 2013 kl. 10:37 skrev Daniel-Constantin Mierla mico...@gmail.com: Hello, I would like to remind that, at least in my case, writing emails directly without cc-ing the mailing list is not recommended. The rule is also suggested in the mailing lists presentation page: -

[SR-Users] rfc: accounting records time details

2013-04-29 Thread Daniel-Constantin Mierla
Hello, there were old and recent discussions about the representation of time in accounting records. At this moment the acc module stores the unix timestamp as datetime value. In some countries is required to store more accuracy, beyond the seconds. Also, the datetime gives some troubles

Re: [SR-Users] BUG? - Dialog module timeout BYE is not ok.

2013-04-29 Thread Julia
Thank you, The patch solves the problem with dlgtimeout BYE (also for chain of proxy servers), but causes a new one. Now, OPTIONs from dispatcher module sent with angle brackets, but 200 OK (received with same format) are ignored by kamailio. ERROR: dispatcher [dispatch.c:2373]:

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Thilo Bangert
More suggestions? Pro or cons opinions? I'd just save one timestamp, ie TAI64 or as java does miliseconds since epoch, in a single, new field. saving the timestamp in two fields seems messy. miliseconds since epoch is probably preferable, since it can be converted to human readable dates

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Alex Hermann
On Monday 29 April 2013 11:05:36 Daniel-Constantin Mierla wrote: Here are some suggestions presented so far. 1) store seconds.miliseconds as double - there is a patch (which Please do not use floating point respresentations for values that will be used in accounting. Floating point is

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Andreas Granig
Hi, On 04/29/2013 01:42 PM, Alex Hermann wrote: On Monday 29 April 2013 11:05:36 Daniel-Constantin Mierla wrote: 1) store seconds.miliseconds as double - there is a patch (which Please do not use floating point respresentations for values that will be used in accounting. Floating point is

Re: [SR-Users] BUG? - Dialog module timeout BYE is not ok.

2013-04-29 Thread Daniel-Constantin Mierla
Hello, there are few follow up patches that you need to get, here are the commits id: 57ed79b9d45c29d37c405c3fa582c1d1011a2315 f22dcd559c739dd99275cd2444cf481d458d2fab ff890a4eee1888ed3e1e080a18bd72124ab99690 aefea5477dc7878d5e818628e04ddcb088fd2858 Cheers, Daniel On 4/29/13 11:31 AM,

Re: [SR-Users] rfc: accounting records time details

2013-04-29 Thread Andreas Granig
Hi, On 04/29/2013 11:47 AM, Thilo Bangert wrote: I'd just save one timestamp, ie TAI64 or as java does miliseconds since epoch, in a single, new field. saving the timestamp in two fields seems messy. Agreed. miliseconds since epoch is probably preferable, since it can be converted to human

Re: [SR-Users] var vs avp...

2013-04-29 Thread Victor V. Kustov
В Fri, 19 Apr 2013 14:46:00 +0200 Olle E. Johansson o...@edvina.net пишет: We will certainly look into this. There are trainings, but no books and very few guides on the web. Please feel free to contribute, after all it is Open Source and we depend on community contributions in order to get

Re: [SR-Users] var vs avp...

2013-04-29 Thread Juha Heinanen
Victor V. Kustov writes: radius_load_callee_avps(callee) I see in doc: radius_load_callee_avps($rU@$rd); # take callee from Request-URI I call this function, but where are results? How can i check errors, where i must look results? In which avps? as the name of the function

Re: [SR-Users] var vs avp...

2013-04-29 Thread Olle E. Johansson
29 apr 2013 kl. 14:29 skrev Victor V. Kustov coy...@bks.tv: В Fri, 19 Apr 2013 14:46:00 +0200 Olle E. Johansson o...@edvina.net пишет: We will certainly look into this. There are trainings, but no books and very few guides on the web. Please feel free to contribute, after all it is Open

Re: [SR-Users] var vs avp...

2013-04-29 Thread Victor V. Kustov
В Mon, 29 Apr 2013 15:34:11 +0300 Juha Heinanen j...@tutpro.com пишет: as the name of the function indicates, the result is in the avps. if the function call fails, result value will be -1 as usual and you get error message to syslog. in which avps? kk, radius answer: Session-Timeout

Re: [SR-Users] var vs avp...

2013-04-29 Thread Olle E. Johansson
29 apr 2013 kl. 14:44 skrev Victor V. Kustov coy...@bks.tv: В Mon, 29 Apr 2013 15:34:11 +0300 Juha Heinanen j...@tutpro.com пишет: as the name of the function indicates, the result is in the avps. if the function call fails, result value will be -1 as usual and you get error message to

Re: [SR-Users] var vs avp...

2013-04-29 Thread Victor V. Kustov
В Mon, 29 Apr 2013 14:46:34 +0200 Olle E. Johansson o...@edvina.net пишет: All functions of this module load AVPs from SIP-AVP reply items received from RADIUS upon a successful request. Value of the SIP-AVP reply item must be a string of form: • value = SIP_AVP_NAME SIP_AVP_VALUE

Re: [SR-Users] BUG? - Dialog module timeout BYE is not ok.

2013-04-29 Thread Julia
Now it works, Thank you! Julia. _ From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Monday, April 29, 2013 3:11 PM To: Julia; 'Kamailio (SER) - Users Mailing List' Cc: 'Uri Shacked' Subject: Re: [SR-Users] BUG? - Dialog module timeout BYE is not ok. Hello,

[SR-Users] Kamailio 3.x and Asterisk Realtime Integration plus Dispatcher module

2013-04-29 Thread Aldo Antignano
I have read and applied the excellent guide found on: http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb Now I have added to Kamailio the HA/Load Balancer support, with the dispatcher module. This way I have 1 Kamailio and 2 Asterisk machines. How can I change the

[SR-Users] riud access from route block

2013-04-29 Thread Juha Heinanen
when i call t_relay() on a tcp contact, branch route is executed. in that branch route i call t_on_branch_failure. now if the tcp connection to the contact is broken, for example, due to uas crash, the branch failure route is never executed and thus i cannot get access to $T_reply_ruid. there