Re: [SR-Users] uac module configuration

2016-02-15 Thread Daniel-Constantin Mierla
Hello, can you set the debug=4 and then also use debugger module with cfg trace enabled (see the readme of the debugger module), then run a test, look at syslog messages to see what happens. Log emssages should be in /var/log/syslog or /var/log/messages. Cheers, Daniel On 12/02/16 10:20, Andrew

Re: [SR-Users] UAC Module

2015-05-02 Thread Yuriy Gorlichenko
e header again after the changes it still shows me the old values. >> >> >> >> From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of SamyGo >> Sent: Thursday, April 30, 2015 6:50 PM >> >> >> To: Kamailio (SER) - Users Mailing L

Re: [SR-Users] UAC Module

2015-04-30 Thread SamyGo
. When I > log the header again after the changes it still shows me the old values. > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *SamyGo > *Sent:* Thursday, April 30, 2015 6:50 PM > > *To:* Kamailio (SER) - Users Mailing Li

Re: [SR-Users] UAC Module

2015-04-30 Thread Ali Jibran
:50 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] UAC Module t_on_failure("F_VOIP") to be used before t_relay(); That will arm the call to go to F_VOIP on failure responses. On Thu, Apr 30, 2015 at 9:33 AM, Ali Jibran mailto:alijib...@vividtech.io> > w

Re: [SR-Users] UAC Module

2015-04-30 Thread SamyGo
kes it to the failure branch. Im a newbie to > kamailio and still working around the scripting. Can you please help me out > here to where I am making the mistake? > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *SamyGo > *Sent:* Thursd

Re: [SR-Users] UAC Module

2015-04-30 Thread Ali Jibran
I am making the mistake? From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of SamyGo Sent: Thursday, April 30, 2015 9:18 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] UAC Module Hi Jibran, Here is an old thread as reference: http://lists.sip-r

Re: [SR-Users] UAC Module

2015-04-30 Thread Ali Jibran
Thanks for the awesome detailed explanation :) I talked to Voipfone(trunk) and they only allow registered endpoints to make/receive calls. So I can't do IP Auth as of now. I'll try the other method by rewriting $fu and $du. Hopefully that'll work. Thanks for the help again. AJ > On 30-Apr-2

Re: [SR-Users] UAC Module

2015-04-29 Thread SamyGo
Hi Jibran, Here is an old thread as reference: http://lists.sip-router.org/pipermail/sr-users/2013-August/079336.html I wouldn't want to do the whole handshake of INVITE,PROXY-AUTH,INVITE with username/password on a Provider for huge number of calls..imagine sending thousands of call to that pro

Re: [SR-Users] UAC Module

2015-04-21 Thread Dragos Oancea
Hi Are you behind NAT ?Do you see the INVITE on the bad trunk reaching the routing script ? Dragos From: Ali Jibran To: sr-users@lists.sip-router.org Sent: Tuesday, April 21, 2015 3:19 PM Subject: [SR-Users] UAC Module Hi all. I am using UAC module to establish two trunks to my pro

Re: [SR-Users] UAC module

2014-09-11 Thread Daniel-Constantin Mierla
Hello, On 11/09/14 10:03, Yuriy Gorlichenko wrote: Hello. I tried to use UAC module at my system for registration multiple providers, and call through it. When I implementing this at my cfg file I had some troubles: -- with Authentification at INVITE (using UAC_AUTH). IT does not send second

Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-29 Thread mailwew
I've met a question like this, did you find any ways to reuse the call id and from tag? -- View this message in context: http://sip-router.1086192.n5.nabble.com/UAC-module-refresh-registration-could-not-reuse-callid-fromtag-tp128595p128690.html Sent from the Users mailing list archive at Nabble

Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-23 Thread nevious
Thank Godness for your reply!!! In RFC3261, section 10.2.4 Refreshing Bindings. I've checked the packages of X-lite and Linphone, they act just like what the RFC says. the registration procedure of them like : R+401+R(auth)+200+R(auth)+200+R(auth)+200+.. During registration, call id and from t

Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-23 Thread Daniel-Constantin Mierla
On 21/06/14 13:22, nevious wrote: Hello all! I make kamailio1 remotely register to kamailio2. Here I set K1 modparam("uac", "reg_timer_interval", 15), and expires in uacreg as 30s. Then K1 should refresh registration after 15s. However the callid and from tag of every registration are differe

Re: [SR-Users] UAC module refresh registration, could not reuse callid/fromtag !!!

2014-06-21 Thread Alex Balashov
On 06/21/2014 07:22 AM, nevious wrote: Hello all! I make kamailio1 remotely register to kamailio2. Here I set K1 modparam("uac", "reg_timer_interval", 15), and expires in uacreg as 30s. Then K1 should refresh registration after 15s. However the callid and from tag of every registration are diffe

Re: [SR-Users] UAC Module fail to refresh REGISTER

2013-10-11 Thread Rene Montilva
Isaac i did it from here http://sip-router.org/tracker/ El 11/10/2013 17:28, "Isaac McDonald" escribió: > I've opened a bug on the bug tracker on Source Forge. I'm not sure if it's > the current tracker in use but it's all I could find. Here's the report: > > https://sourceforge.net/p/**openser/b

Re: [SR-Users] UAC Module fail to refresh REGISTER

2013-10-11 Thread Isaac McDonald
I've opened a bug on the bug tracker on Source Forge. I'm not sure if it's the current tracker in use but it's all I could find. Here's the report: https://sourceforge.net/p/openser/bugs/604/ Thanks, -- Isaac McDonald ___ SIP Express Router (SER)

Re: [SR-Users] UAC Module fail to refresh REGISTER

2013-10-11 Thread Rene Montilva
Thanks Issac and Thanks Daniel, i'll do it On Fri, Oct 11, 2013 at 3:50 PM, Daniel-Constantin Mierla wrote: > Hello, > > Can you open an issue on the tracker? Not to forget about it, i'll check > once i get back from Astricon. > > Cheers, > Daniel > > Daniel-Constantin Mierla > http://www.asip

Re: [SR-Users] UAC Module fail to refresh REGISTER

2013-10-11 Thread Daniel-Constantin Mierla
Hello, Can you open an issue on the tracker? Not to forget about it, i'll check once i get back from Astricon. Cheers, Daniel Daniel-Constantin Mierla http://www.asipto.com On 11 Oct 2013, at 22:05, Isaac McDonald wrote: > I've brought this issue up before and haven't found a solution yet. I

Re: [SR-Users] UAC Module fail to refresh REGISTER

2013-10-11 Thread Isaac McDonald
I've brought this issue up before and haven't found a solution yet. I'm not sure if it's a bug or something we've configured incorrectly, Here's the original thread: http://lists.sip-router.org/pipermail/sr-users/2013-July/078946.html -- Isaac McDonald __

Re: [SR-Users] UAC module fails to refresh registrations

2013-07-26 Thread Isaac McDonald
Thanks for your help with this Daniel. I've attached a SIP trace along with debugging information from Kamailio. On 7/25/2013 1:47 AM, Daniel-Constantin Mierla wrote: Hello, the log message shows that authentication failed. Use debug=3 for more details. Also, grab the sip traffic with ngrep.

Re: [SR-Users] UAC module fails to refresh registrations

2013-07-25 Thread Daniel-Constantin Mierla
Hello, the log message shows that authentication failed. Use debug=3 for more details. Also, grab the sip traffic with ngrep. Cheers, Daniel On 7/25/13 9:50 AM, Isaac McDonald wrote: Hello Daniel, Thanks for your help on this. I set the registration to expire after 10 seconds and restarted

Re: [SR-Users] UAC module fails to refresh registrations

2013-07-25 Thread Isaac McDonald
Hello Daniel, Thanks for your help on this. I set the registration to expire after 10 seconds and restarted Kamailio with debug level 1. Here's the output: Jul 25 02:43:41 Kamailio-DEV /usr/sbin/kamailio[30148]: ERROR: uac [uac_reg.c:537]: uac_reg_tm_callback(): authentication failed for <25

Re: [SR-Users] UAC module fails to refresh registrations

2013-07-22 Thread Daniel-Constantin Mierla
Hello, can you send the log messages with debug=1 when the re-registration 401 is processed? Cheers, Daniel On 7/21/13 1:35 AM, Isaac McDonald wrote: Hello, I'm using the UAC module to register to remote sip proxies. When starting Kamailio, the UAC module successfully registers with the rem

Re: [SR-Users] uac module strange problem

2013-06-19 Thread Alex Balashov
Hello, On 06/19/2013 07:44 PM, אורן אברהם wrote: I am using uac module for generating some request (even only some simple OPTIONS request) and after i send it using uac_req_send() the new request is processed as a REPLY (in onreply_route) instead of a new request (in request_route) does anyone

Re: [SR-Users] UAC module and SRV records

2013-03-15 Thread Daniel-Constantin Mierla
On 3/13/13 10:00 AM, Olle E. Johansson wrote: 13 mar 2013 kl. 09:35 skrev Daniel-Constantin Mierla : On 3/13/13 9:25 AM, Olle E. Johansson wrote: 13 mar 2013 kl. 09:08 skrev Daniel-Constantin Mierla : Hello, do you set the port in r-uri/dst-uri? No. That would invalidate SRV record lookup

Re: [SR-Users] UAC module and SRV records

2013-03-13 Thread Olle E. Johansson
13 mar 2013 kl. 09:35 skrev Daniel-Constantin Mierla : > > On 3/13/13 9:25 AM, Olle E. Johansson wrote: >> 13 mar 2013 kl. 09:08 skrev Daniel-Constantin Mierla : >> >>> Hello, >>> >>> do you set the port in r-uri/dst-uri? >> No. That would invalidate SRV record lookup, right? > > yes. > > Ha

Re: [SR-Users] UAC module and SRV records

2013-03-13 Thread Daniel-Constantin Mierla
On 3/13/13 9:25 AM, Olle E. Johansson wrote: 13 mar 2013 kl. 09:08 skrev Daniel-Constantin Mierla : Hello, do you set the port in r-uri/dst-uri? No. That would invalidate SRV record lookup, right? yes. Have you watched the dns traffic? Is directly A/ query? Afaik, this function shoul

Re: [SR-Users] UAC module and SRV records

2013-03-13 Thread Olle E. Johansson
13 mar 2013 kl. 09:08 skrev Daniel-Constantin Mierla : > Hello, > > do you set the port in r-uri/dst-uri? No. That would invalidate SRV record lookup, right? /O > > Cheers, > Daniel > > On 3/12/13 1:27 PM, Olle E. Johansson wrote: >> Hi! >> >> When using the UAC module to send a request to a

Re: [SR-Users] UAC module and SRV records

2013-03-13 Thread Daniel-Constantin Mierla
Hello, do you set the port in r-uri/dst-uri? Cheers, Daniel On 3/12/13 1:27 PM, Olle E. Johansson wrote: Hi! When using the UAC module to send a request to a domain that only exists in SRV records, I get an error message that no A or records can be found for the domain. Is this by des

Re: [SR-Users] UAC module

2012-08-20 Thread Ron Hopson
Daniel, Adding double quotes around the second parameter of uac_reg_request_to does not help. route{ if (method=="REGISTER") { $rU = "daniel123"; if(uac_reg_request_to("$rU", "0")){ xlog("uac_reg_request_to remote user [$rU] on [$rd] via [$du]\n");

Re: [SR-Users] UAC module

2012-08-20 Thread Daniel-Constantin Mierla
Hello, On 8/20/12 1:19 AM, Ron Hopson wrote: Daniel, Thank you for your response. I was away the remainder of the past week. Calls to uac_reg_lookup() and uac_reg_request_to(), with prior assignment or no assignment, yield "fixing failed (code=-1)". For example, if(uac_reg_request_

Re: [SR-Users] UAC module

2012-08-19 Thread Ron Hopson
Daniel, Thank you for your response. I was away the remainder of the past week. Calls to uac_reg_lookup() and uac_reg_request_to(), with prior assignment or no assignment, yield "fixing failed (code=-1)". For example, if(uac_reg_request_to("$rU", 0)){#line 76 0(16293) DEBUG:

Re: [SR-Users] UAC module

2012-08-19 Thread Ron Byer Jr
How to subscribe On 08/19/2012 07:19 PM, Ron Hopson wrote: Daniel, Thank you for your response. I was away the remainder of the past week. Calls to uac_reg_lookup() and uac_reg_request_to(), with prior assignment or no assignme

Re: [SR-Users] UAC module

2012-08-14 Thread Daniel-Constantin Mierla
Hello, the parameters are expected to be variables, but looking at the log messages it seems that config optimization replace them with the string values, at you have the assignment just above the function, the parameters will be those string values always at runtime. Can you remove the assi

Re: [SR-Users] uac module From header rewriting problems

2012-07-19 Thread Timo Teras
On Thu, 19 Jul 2012 18:00:24 +0300 Anca Vamanu wrote: > You might be interested in checking out the commit > > 0f702f6e236eb0cbb238bf83a0c4ae94d7b3cad8 . > > It adds an alternative implementation to the AUTO mode for > uac_replace_from/to() by using the dialog module to store the URIs. Thanks

Re: [SR-Users] uac module From header rewriting problems

2012-07-19 Thread Anca Vamanu
Hi Timo, You might be interested in checking out the commit 0f702f6e236eb0cbb238bf83a0c4ae94d7b3cad8 . It adds an alternative implementation to the AUTO mode for uac_replace_from/to() by using the dialog module to store the URIs. Here is the excerpt from the README file explaining this:

Re: [SR-Users] uac module From header rewriting problems

2012-07-04 Thread Daniel-Constantin Mierla
On 7/3/12 5:16 PM, Timo Teras wrote: On Tue, 03 Jul 2012 16:23:45 +0200 Daniel-Constantin Mierla wrote: On 7/3/12 3:49 PM, Timo Teras wrote: On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla wrote: Hello, On 7/3/12 8:02 AM, Timo Teras wrote: Hi, I fixed some uac From rewritin

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Timo Teras
On Tue, 03 Jul 2012 16:23:45 +0200 Daniel-Constantin Mierla wrote: > > On 7/3/12 3:49 PM, Timo Teras wrote: > > On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla > > wrote: > > > >> Hello, > >> > >> On 7/3/12 8:02 AM, Timo Teras wrote: > >>> Hi, > >>> > >>> I fixed some uac From rewri

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Daniel-Constantin Mierla
On 7/3/12 3:49 PM, Timo Teras wrote: On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla wrote: Hello, On 7/3/12 8:02 AM, Timo Teras wrote: Hi, I fixed some uac From rewriting issues in commit e1d1c774c9ac0b4d, however even with the latest versions I'm still seeing corruption in

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Timo Teras
On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla wrote: > Hello, > > On 7/3/12 8:02 AM, Timo Teras wrote: > > Hi, > > > > I fixed some uac From rewriting issues in commit e1d1c774c9ac0b4d, > > however even with the latest versions I'm still seeing corruption in > > From headers when

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Daniel-Constantin Mierla
Hello, On 7/3/12 8:02 AM, Timo Teras wrote: Hi, I fixed some uac From rewriting issues in commit e1d1c774c9ac0b4d, however even with the latest versions I'm still seeing corruption in From headers when they are rewritten for the whole dialogue (from_restore_mode=auto, the default). I spent so

Re: [SR-Users] uac module incoming INVITE become wrong dst_ip address

2012-04-19 Thread Daniel-Constantin Mierla
Hello, On 4/18/12 10:15 AM, Karsten Horsmann wrote: Hello Daniel, this was an linux routing issue. Cos all things routed outbound via private ipaddressed gateway the kernel still used the private ip address. I solved that with default gw public ip address. ok, good it was fixed and thanks for

Re: [SR-Users] uac module incoming INVITE become wrong dst_ip address

2012-04-18 Thread Karsten Horsmann
Hello Daniel, this was an linux routing issue. Cos all things routed outbound via private ipaddressed gateway the kernel still used the private ip address. I solved that with default gw public ip address. -- Mit freundlichen Grüßen *Karsten Horsmann* _

Re: [SR-Users] uac module incoming INVITE become wrong dst_ip address

2012-04-18 Thread Daniel-Constantin Mierla
Hello, On 4/17/12 11:44 AM, Karsten Horsmann wrote: Hello List, i am nearly finishing my multihomed config (public ip/internal ip) with kamailio. For incoming calls i want to use the uac module too. Then i want to locate an permanet entry and dispatch it to ivr system behind kamailio. i tried

Re: [SR-Users] UAC module + customize user_agent

2012-01-25 Thread Daniel-Constantin Mierla
Hello, try to set user_agent_header global parameter: http://www.kamailio.org/wiki/cookbooks/3.2.x/core#user_agent_header Cheers, Daniel On 1/16/12 11:48 PM, Douglas Adami wrote: Hello everyone, I'm new here and I go to test my settings, but I need to authenticate a remote server, I was readi

Re: [SR-Users] uac module - error searching pvar "uac_req"

2011-10-31 Thread Daniel-Constantin Mierla
On 10/31/11 2:09 PM, Vladimir Broz wrote: ah, that was the problem :( ok. Don't forget to keep the mailing list always cc-ed, so people reading the archive for similar issues will find the conclusion, whether the hints were solving or not the problem. Cheers, Daniel Thanks Daniel! -Vlada

Re: [SR-Users] uac module - error searching pvar "uac_req"

2011-10-31 Thread Daniel-Constantin Mierla
Hello, be sure you load uac module from modules_k, not from modules_s. Cheers, Daniel On 10/31/11 12:36 PM, Vladimir Broz wrote: ignore the "sip:b@@test.com" -> same result with the correct (only one "@") value Thanks, -Vlada On 10/31/2011 12:21 PM, Vladimir Broz wrote: Hi, I compiled 3.

Re: [SR-Users] uac module - error searching pvar "uac_req"

2011-10-31 Thread Vladimir Broz
ignore the "sip:b@@test.com" -> same result with the correct (only one "@") value Thanks, -Vlada On 10/31/2011 12:21 PM, Vladimir Broz wrote: Hi, I compiled 3.2 (master) with FLAVOUR=ser and I'm trying to use "uac" module. my config looks like: ... $uac_req(method)="NOTIFY"; $uac_req(ruri)="

Re: [SR-Users] UAC Module: test registration to a Voip provider

2011-02-22 Thread Daniel-Constantin Mierla
Hello, On 2/21/11 1:10 PM, Matteo Campana wrote: Hi all, we are using the UAC module (http://www.kamailio.org/docs/modules/stable/modules_k/uac.html#id2910015) to register the proxy to an external DID provider. I know that the module takes care of sending REGISTER on the basis of credentials