[SR-Users] Dialplan question

2011-07-07 Thread alex pappas
Dear all, I have these 3 entries in the dialplan: dpid pr match_exp attr 2 50 ^38.+ porvider_A 2 50 ^3802.+ porvider_B 2 50 ^3806.+ porvider_C with the fifo command : *kamctl fifo dp_translate 2 3806328881* Output:: ATTRIBUTES::*

Re: [SR-Users] Manipulate From header

2011-05-25 Thread alex pappas
On Friday 20 May 2011, alex pappas wrote: > > I'm trying to change the From uri and Dsplay but without sucess. > > > > My config is as follow: > > > > if(dp_translate("", > > "$avp(s:frm_user_name)/$avp(s:test_frm_user_name)&quo

[SR-Users] Manipulate From header

2011-05-20 Thread alex pappas
Dear all, I'm trying to change the From uri and Dsplay but without sucess. My config is as follow: if(dp_translate("", "$avp(s:frm_user_name)/$avp(s:test_frm_user_name)")) --> i'm sending 2112202701 and I get back corectly 701 { $avp(s:display) = $avp

Re: [SR-Users] redirect implementation with dispatcher

2011-05-18 Thread alex pappas
some xlog messages with the uri after ds_select_domain() > execution? Do several tests to see what destination address is selected. > > Also, put here the content of the records for the dispatcher groups in use. > > Cheers, > Daniel > > > On 5/11/11 11:12 AM, alex papp

[SR-Users] redirect implementation with dispatcher

2011-05-11 Thread alex pappas
Dear all, I'm trying to create a service which when a call reach Kamailio, this call get's a number of gateways in round robin mode and from them I create uri and append_branches. The all scenario works fine except that I don't get from Dispatcher the round robin mode. Is is the way I ask Dispatc

Re: [SR-Users] rewriteuri and append_branch with variables

2011-05-07 Thread alex pappas
After that, reset the RURI to it's original value: revert_uri(). > > Regards, > Ovidiu Sas > > On Sat, May 7, 2011 at 12:37 PM, alex pappas > wrote: > > Hi, > > Thanks for the replay. > > I already tried the $ru with $var and it works fine but the main

Re: [SR-Users] rewriteuri and append_branch with variables

2011-05-07 Thread alex pappas
i Baz Castillo wrote: > 2011/5/6 alex pappas : > > I'm trying the following and i get error: > > > > $var(new_uri) = "sip:" +$avp(s:term_prefix) +$rU +"@" > +$avp(s:gw_address); > > > > rewriteuri=($var(new_uri)); OR append_branch($var(new_u

[SR-Users] rewriteuri and append_branch with variables

2011-05-06 Thread alex pappas
Dear All, I'm trying the following and i get error: $var(new_uri) = "sip:" +$avp(s:term_prefix) +$rU +"@" +$avp(s:gw_address); rewriteuri=($var(new_uri)); OR append_branch($var(new_uri)); But it seems that it does not like the variable. The documentation says that rewriteuri get a string so i

Re: [SR-Users] Kamailio with RTPoxy

2011-04-29 Thread alex pappas
> body at all. You could use has_body from textops module to extend the > check, e.g: > > if (has_body("application/sdp") && nat_uac_test("8")) { > ... > > > regards > klaus > > > > Am 28.04.2011 18:25, schrieb alex pappas: >

Re: [SR-Users] Kamailio with RTPoxy

2011-04-28 Thread alex pappas
s 3.1.3 and the config file is plain , from installation. Any ideas? Thank you Alex On Sun, Apr 17, 2011 at 2:20 PM, alex pappas wrote: > Dear Alex, > > The configuration is the default with WITH_NAT defined. > I have some extra logs (xlog("RTPPROXY started..")) enabled i

Re: [SR-Users] Kamailio with RTPoxy

2011-04-17 Thread alex pappas
traces. Do you have any idea on how can I keep the RTP? Thanks Alex Pappas On Fri, Apr 15, 2011 at 6:43 PM, Alex Balashov wrote: > On 04/15/2011 09:58 AM, alex pappas wrote: > > I have a Kamailio with RTPoxy configured. The purpose is to pass the >> RTP from this server. >&

[SR-Users] Kamailio with RTPoxy

2011-04-15 Thread alex pappas
Dear all, I have a Kamailio with RTPoxy configured. The purpose is to pass the RTP from this server. When I make calls behind NAT the RTProxy seems to be engaged but in traces I don't see any RTP. Is there anything wrong with the idea or I'm missing something in the configuration ? Thank you A

[SR-Users] ACC error | failed to insert into database

2011-01-27 Thread alex pappas
Hi all, Hve anyone seen before the following error? *Kamailio acc [acc.c:398]: failed to insert into database* After a Kamailio restart it is ok but it start again afetr x time. Thank you Alex ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr

Re: [SR-Users] Dispatcher Attributes field

2011-01-07 Thread alex pappas
thank you Daniel, That it will be perfect! Cheers Alex On Fri, Jan 7, 2011 at 3:17 PM, Daniel-Constantin Mierla wrote: > Hi Alex, > > > On 1/7/11 11:18 AM, alex pappas wrote: > > Daniel hi, > > The attribute field I use to add an extra prefix to the destination GW.

Re: [SR-Users] Dispatcher Attributes field

2011-01-07 Thread alex pappas
On 1/4/11 5:13 PM, alex pappas wrote: > > Hi all, > > The $avp(dsattrs) it works fine. It was a misconfiguration. > > thanks for reporting back. > > > Does anyone knows if is possible to retrieve from Dispatcher the > description field from each GW and add that to an a

Re: [SR-Users] Dispatcher Attributes field

2011-01-04 Thread alex pappas
Hi all, The $avp(dsattrs) it works fine. It was a misconfiguration. Does anyone knows if is possible to retrieve from Dispatcher the description field from each GW and add that to an avp pair? Thanks Alex On Mon, Jan 3, 2011 at 6:13 PM, alex pappas wrote: > Dear all, > > I'

[SR-Users] Dispatcher Attributes field

2011-01-03 Thread alex pappas
Dear all, I'm trying with the Dispatcher module to terminate a call to three different gateways serially. For each gw I use the attribute field to get the attribute and add it as a prefix to the RU. The problem is that the $avp(dsattrs) is returning always the first value of the first gw that is

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread alex pappas
Thank you Daniel, That works great. Cheers Alex On Wed, Dec 1, 2010 at 12:23 PM, Daniel-Constantin Mierla wrote: > Hello, > > > On 12/1/10 9:34 AM, Marius Zbihlei wrote: > >> Hello >> >> I think you should try: >> >> $sel(@via[1].params[x-route-tag]) >> > indeed, selects need a bit of care r

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread alex pappas
nced by \1. Keep in mind that Daniel's > solution is more elegant and should work for you. > > Marius > > > From: alex pappas [rebel.pap...@gmail.com] > Sent: Wednesday, December 01, 2010 9:15 AM > To: Marius Zbihlei > C

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread alex pappas
Marius hi, Thank you for your replay. With the regular expression you provided me I get "*SIP/2.0/UDP 172.16.0.13:5060;tgrp:TNDEM-ACR*" Can I isolate only *tgrp:TNDEM-ACR ? *Thank you Alex * * On Tue, Nov 30, 2010 at 5:07 PM, marius zbihlei wrote: > On 11/30/2010 01:58 PM, alex

Re: [SR-Users] VIA header x-route-tag

2010-12-01 Thread alex pappas
.@*via.params[x-route-tag]); xlog("- We have a x-route-tag in the SIP msg avp: $avp(s:xroutetag) -"); }; Thank you Alex On Tue, Nov 30, 2010 at 10:47 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > > > On 11/30/10 4:07 PM, marius zbihlei wr

[SR-Users] VIA header x-route-tag

2010-11-30 Thread alex pappas
Dear All, We have some cisco gw that they send to the Kamailio in the first invite and inside the VIA header an x-route-tag="The Gateway that the call entered". I'm trying to add this to the acc module in order to have it recorded but without sucess. My config is this: if (search("x-route-tag"))

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-18 Thread alex pappas
shhold" times in order to set the gateway to probing... > And please be aware of timeouts: If you have a Transaction-timeout of > e.g. 60 seconds, then the failure-route would be executed after 60 > seconds and for this time the gateway would stay "active". > > Carsten &

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-17 Thread alex pappas
to probing does only apply to > new requests (retransmits to the disabled destination will still occur > until the transaction does timeout). > > We have been using this functionality for several years now and we > never had problems > > Carsten > > 2010/11/16 alex pa

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-16 Thread alex pappas
ocs/modules/stable/modules_k/dispatcher.html#id2567110 > > Cheers, > Daniel > > > On 11/12/10 12:58 PM, alex pappas wrote: > > Dear all, > > Does anyone can explain how Dispatcher module is sending calls to the > gateways in the different states? > > I mean i

[SR-Users] Dispatcher is using gateways in Probing mode

2010-11-12 Thread alex pappas
Dear all, Does anyone can explain how Dispatcher module is sending calls to the gateways in the different states? I mean if I have 3 gateways and the one of them is in Probing mode why Dispatcher is continuing sending there calls? Why this gateway is not changing from Probing to Inactive since is

[SR-Users] sip trace not logging the first invite

2010-08-03 Thread alex pappas
Dear friends, I'm using the sip_trace module in order to log into a mysql DB all the SIP messages that are passing from my kamailio. I have the setflag(4) on the top of the route[0] and I have all the sip messages logged in the mysql Db. The problem is that I don't see the first INVITE of the call