Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
Dear Uriel, I found it...The problem was in the makefile of carrierroute module...I did Chged the following: DEFS+=$(CONFUSEDEFS) LIBS=$(CONFUSELIBS) TO: DEFS+=-I$(LOCALBASE)/include LIBS=-L$(LOCALBASE)/lib -lconfuse It seems that carrierroute needs that in order to be compiled on Solaris Th

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
Dear Uriel, It worked fine as you mentionned below and Y.Y.Y.Y is used when I changed the domain to 1 on X.X.X.X Regards On Thu, Jul 30, 2009 at 9:16 PM, Uriel Rozenbaum wrote: > It's really weird. Try changing the domain on the X.X.X.X host to 1, so you > only have Y.Y.Y.Y host available as fi

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread Uriel Rozenbaum
It's really weird. Try changing the domain on the X.X.X.X host to 1, so you only have Y.Y.Y.Y host available as first option. On Thu, Jul 30, 2009 at 3:07 PM, michel freiha wrote: > Dear Sir, > > I did 2 calls from the same endpoint to the same number and get 2 different > IDs but still forwardi

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
Dear Sir, I did 2 calls from the same endpoint to the same number and get 2 different IDs but still forwarding the calls to X.X.X.X as follow: Call1: call-id for this call 56549e09d94c1430Jul 30 17:00:32 [10607] DBG:carrierroute:get_route_tree_by_id: searching in carrier default, id 5 Jul 30 17:

Re: [Kamailio-Users] About dlg_isflagset in onreply_route

2009-07-30 Thread basis kamailio
Hi Browsed the code very briefly, the function for dlg_isflagset is traced back to: w_dlg_setflag()--> dlg_get_dlg_ctx() --> _dlg_ctx is _dlg_ctx set in anywhere for onreply_route? Kind regards Min Wang On Wed, Jul 29, 2009 at 12:09 PM, Min Wang wrote: > > Hi all > > In kamailio

[Kamailio-Users] $hdr error if used with an avp

2009-07-30 Thread catalina oancea
Hello I need to get the value of a header using a dynamic variable. I have the name of the header in an avp and I get the value using $hdr($avp(s:headername))). This worked in kamailio 1.4.0, I am sure of it because I tried it now on 1.4.0. But now in kamailio 1.5.1 I get an error when trying to r

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread Uriel Rozenbaum
The random value is based on the Call-ID, use debug=4 and add an XLOG as follows before every call to cr_route: xlog("L_ERR", "call-id for this call $ci"); Check the call-id is different every time and the CRC32 algorithm to calculate the hash values gives a different answer. On Thu, Jul 30, 200

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
When restarting kamailio I found out that it reads both routes Jul 30 11:46:40 [9165] INFO:carrierroute:rule_fixup_recursor: hashless rule with host Y.Y.Y.Y hash hash_index 1 Jul 30 11:46:40 [9165] INFO:carrierroute:rule_fixup_recursor: hashless rule with host X.X.X.X hash hash_index 2 I jjst do

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
Dear Sir, Please find below carrierroute table... ++-++-+---+--+--+---+--+++-+ | id | carrier | domain | scan_prefix | flags | mask | prob | strip | rewrite_host | rewrite_prefix | rewrite_suffi

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread Uriel Rozenbaum
I'm really not sure how it works when you use a 0 prob. Try something like 50/50 and check if the requests go to both servers. Also, some extract from /var/log/messages will help. On Thu, Jul 30, 2009 at 4:38 AM, michel freiha wrote: > Dear Sir, > > My tables are defined as below: > > *carrier

Re: [Kamailio-Users] Parallel forking problem

2009-07-30 Thread Dubravko Caric
Hi Daniel, it works. Thanks /dubravko - Original Message From: Daniel-Constantin Mierla To: Dubravko Caric Cc: kamailio users Sent: Thursday, July 30, 2009 11:42:26 AM Subject: Re: [Kamailio-Users] Parallel forking problem Hello, On 30.07.2009 10:27 Uhr, Dubravko Caric wrote:

Re: [Kamailio-Users] Parallel forking problem

2009-07-30 Thread Daniel-Constantin Mierla
Hello, On 30.07.2009 10:27 Uhr, Dubravko Caric wrote: Hi all, could you please give me suggestions how to simultaneously send call to PSTN destination for UAC that is logged in. So, when call comes for sip:b...@example.com it must also go to its PSTN destination 1...@10.0.0.2 (avp in mysql) and

Re: [Kamailio-Users] [ANN] Ruby XCAPClient 1.0 released

2009-07-30 Thread Iñaki Baz Castillo
2009/7/30 Daniel-Constantin Mierla : > Hello, > > nice! Is there a sip library for ruby that can handle presence extensions as > well? I've a paused project for it. However there is one: http://sipper-wiki.agnity.com/pmwiki.php?n=SipperWiki.GettingStarted It looks very well but I haven't tryed i

Re: [Kamailio-Users] [ANN] Ruby XCAPClient 1.0 released

2009-07-30 Thread Daniel-Constantin Mierla
Hello, nice! Is there a sip library for ruby that can handle presence extensions as well? Thanks, Daniel On 30.07.2009 2:53 Uhr, Iñaki Baz Castillo wrote: For those interested in building SIP and SIMPLE rich presence applications in Ruby language: http://xcapclient.rubyforge.org/ http://

Re: [Kamailio-Users] [ANN] Ruby XCAPClient 1.0 released

2009-07-30 Thread Iñaki Baz Castillo
2009/7/30 Klaus Darilion : > great. > > btw: is there somewhere a C/C++ XCAP library/client? Ruby is written in C (joking) -- Iñaki Baz Castillo ___ Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/m

Re: [Kamailio-Users] [ANN] Ruby XCAPClient 1.0 released

2009-07-30 Thread Daniel-Constantin Mierla
Hello, On 30.07.2009 11:18 Uhr, Klaus Darilion wrote: great. btw: is there somewhere a C/C++ XCAP library/client? there is one is sip-router, in lib directory, do not know if it is finished or up to date with specs. Probably can be easily taken out being designed as lib. http://git.sip-rou

Re: [Kamailio-Users] [ANN] Ruby XCAPClient 1.0 released

2009-07-30 Thread Klaus Darilion
great. btw: is there somewhere a C/C++ XCAP library/client? regards klaus Iñaki Baz Castillo schrieb: For those interested in building SIP and SIMPLE rich presence applications in Ruby language: http://xcapclient.rubyforge.org/ http://dev.sipdoc.net/projects/ruby-xcapclient/wiki/ Ruby XCA

[Kamailio-Users] Parallel forking problem

2009-07-30 Thread Dubravko Caric
Hi all, could you please give me suggestions how to simultaneously send call to PSTN destination for UAC that is logged in. So, when call comes for sip:b...@example.com it must also go to its PSTN destination 1...@10.0.0.2 (avp in mysql) and ring both destinations simultaneously. Example below d

Re: [Kamailio-Users] Carrierroute issue

2009-07-30 Thread michel freiha
Dear Sir, My tables are defined as below: *carrierroute table:* id carrier domain scan_prefix flags maskprob striprewrite_host 19 5 1 00 0 0 0 0 IP_address1 19 5 1