[SR-Users] RTP destination address uncorrect

2010-04-13 Thread xiangfeng_006
  Hi all: I am trying to setup follow IMS test environment:     || |   kamailo  |---SIP->SIP server (10.100.1.12) 8700  |   |    |  

[SR-Users] set kamailo with RTP proxy as redirect server

2010-04-13 Thread xiangfeng_006
Hi all: I am trying to setup follow IMS test environment:     || |   kamailo  |---SIP->SIP server (10.100.1.12) 8700  |   |    |  

[SR-Users] set kamailo with RTP proxy as redirect server

2010-04-13 Thread xiangfeng_006
Hi all: I am trying to setup follow IMS test environment:     || |   kamailo  |---SIP->SIP server (10.100.1.12) 8700  |   |    |  

[SR-Users] set kamailo with RTP proxy as redirect server

2010-04-13 Thread xiangfeng_006
Hi all: I am trying to setup follow IMS test environment: || | kamailo |---SIP->SIP server (10.100.1.12) 8700 | | | | 7700 UA1SIP/RTP> | | | |--SIP/RTP-->UA (10.100.1.51) 10.100.1.41 | | | | | RTP proxy |RTP--->Media Gatew

[SR-Users] set kamailo with RTP proxy as redirect server

2010-04-13 Thread xiangfeng_006
 Hi all:   I am trying to setup follow IMS test environment:     || |   kamailo  |---SIP->SIP server (10.100.1.12)    8700  |    |   |

[SR-Users] set kamailo with RTP proxy as redirect server

2010-04-13 Thread xiangfeng_006
 Hi all:   I am trying to setup follow IMS test environment:     || |   kamailo  |---SIP->SIP server (10.100.1.12)    8700  |    |   |

Re: [SR-Users] Hostname in VIA on Forward

2010-04-13 Thread Daniel-Constantin Mierla
On 4/13/10 11:23 PM, Eric Hiller wrote: I have a softswitch that is requiring me to do that unless I put a static ip in for the trunk group, If I have to do a static IP, thats not the end of the world, but I'd like to keep it hostname based. try playing with advertised address: http://www.kam

Re: [SR-Users] Hostname in VIA on Forward

2010-04-13 Thread Alex Balashov
Why does the switch require it? -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 On Apr 13, 2010, at 5:23 PM, Eric Hiller wrote: I have a softswitch that is requiring me to do that unless

Re: [SR-Users] Hostname in VIA on Forward

2010-04-13 Thread Eric Hiller
I have a softswitch that is requiring me to do that unless I put a static ip in for the trunk group, If I have to do a static IP, thats not the end of the world, but I'd like to keep it hostname based. From: abalas...@evaristesys.com To: mrrapto...@hotmail.com Date: Tue, 13 Apr 2010 17:16:25 -0

Re: [SR-Users] Hostname in VIA on Forward

2010-04-13 Thread Alex Balashov
I have never seen this done anywhere on any SIP stack, though I am not sure that it is against the standard. -- Alex Balashov - Principal Evariste Systems LLC 1170 Peachtree Street 12th Floor, Suite 1200 Atlanta, GA 30309 Tel: +1-678-954-0670 Fax: +1-404-961-1892 On Apr 13, 2010, at 5:14 PM, E

[SR-Users] Hostname in VIA on Forward

2010-04-13 Thread Eric Hiller
Hello all, I need to have kamailio put its hostname on its via append instead of its IP address. How can I do this or is it possible? Thank you,Eric _ Hotmail has tools for the New Busy. Search, c

Re: [SR-Users] when mySQL is unreachable ...

2010-04-13 Thread Alex Balashov
So your name is both Alex and Robert? On 04/13/2010 02:39 PM, Alex rsm wrote: Hi, My Kamailio server uses an external mysql database with perl script to proxy traffic. When mysql server is unreachable, Kamailio do not respond with 100 Trying and instead responses with 484 (Address Incomplete)

[SR-Users] when mySQL is unreachable ...

2010-04-13 Thread Alex rsm
Hi, My Kamailio server uses an external mysql database with perl script to proxy traffic. When mysql server is unreachable, Kamailio do not respond with 100 Trying and instead responses with 484 (Address Incomplete) to the INVITE message. Is this a normal behavior? I need to response with 503

[SR-Users] when mySQL is unreachable ...

2010-04-13 Thread Robert R
Hi, My Kamailio server uses an external mysql database with perl script to proxy traffic. When mysql server is unreachable, Kamailio do not respond with 100 Trying and instead responses with 484 (Address Incomplete) to the INVITE message. Is this a normal behavior? I need to response with 503 when

Re: [SR-Users] Compiling and installing sip-router with some SER modules

2010-04-13 Thread Daniel-Constantin Mierla
Hello, On 4/13/10 5:21 PM, Juha Heinanen wrote: Steven C. Blair writes: > Is there a way to compile and install the core + > modules_s/(permissions,pike,ratelimit,sms,sanity)? if you don't use kamailio 3.0 flavour, then all modules are compiled, those from directories: - madules -

[SR-Users] Compiling and installing sip-router with some SER modules

2010-04-13 Thread Juha Heinanen
Steven C. Blair writes: > Is there a way to compile and install the core + > modules_s/(permissions,pike,ratelimit,sms,sanity)? here is my make: $(MAKE) cfg CC=$(CC) CFLAGS="$(CFLAGS)" QUIET=$(QUIET) KMSTATS=$(KMSTATS) MAIN_NAME=$(MAIN_NAME) basedir=$(BASEDIR) prefix=/usr cfg_prefix=$(BASEDIR

[SR-Users] Compiling and installing sip-router with some SER modules

2010-04-13 Thread Steven C. Blair
I'd like to build the latest version of sip-router from source but include server modules from the modules_s directory. I thought the command 'make include_modules="modules_s/permissions modules_s/pike modules_s/ratelimit modules_s/sms modules_s/sanity" ' would do the trick but it doesn't. Inst

Re: [SR-Users] hox to a SIPtrunk with kamailio 3.0.0

2010-04-13 Thread marius zbihlei
alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : Hi, I would like to make a SIPTrunk with kamailio to redirect to a 9xx numbers in Cisco Call manager, can you help me please. Here's what I did but it does not work. Please specify the exact error you have. "It d

Re: [SR-Users] hox to a SIPtrunk with kamailio 3.0.0

2010-04-13 Thread alexis heron
Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : Hi, I would like to make a SIPTrunk with kamailio to redirect to a 9xx numbers in Cisco Call manager, can you help me please. Here's what I did but it does not work. Please specify the exact error you have. "It does not work" is not a

Re: [SR-Users] hox to a SIPtrunk with kamailio 3.0.0

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 alexis heron : > Hi, > > I would like to make a SIPTrunk with kamailio to redirect to a 9xx numbers > in Cisco Call manager, can you help me please. > Here's what I did but it does not work. Please specify the exact error you have. "It does not work" is not a good description and it's di

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread hh174
Hi Alexis ou alors, salut Alexis, Je vais le faire en français, cela t'aidera peut-être. Tu a la chance d'avoir les conseils de Daniel et d'Inaki, suis les, fait ce qu'ils te disent de faire. Le harcèlement sur une mailing-list te mèneras juste à ne plus avoir de réponses. Un bon conseil, va l

[SR-Users] hox to a SIPtrunk with kamailio 3.0.0

2010-04-13 Thread alexis heron
Hi, I would like to make a SIPTrunk with kamailio to redirect to a 9xx numbers in Cisco Call manager, can you help me please. Here's what I did but it does not work. if (uri=~"sip:9[0-9][0...@ccm-ipv6.crihan.fr") { log(1, "Matched Cisco Call Manager"); route(4);

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Laszlo
2010/4/13 Iñaki Baz Castillo > 2010/4/13 alexis heron : > >> Please, open a new thread for a new topic. > >> Anyhow, I recommend you reading the full documentation. There is not a > >> "magic" concept of a SIPtrunk. > > > > yes but with if(uri=~...) it's good, no?? > > There you are checking if t

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 alexis heron : >> Please, open a new thread for a new topic. >> Anyhow, I recommend you reading the full documentation. There is not a >> "magic" concept of a SIPtrunk. > > yes but with if(uri=~...) it's good, no?? There you are checking if the Request URI matches something. If it's all

[SR-Users] Failure to load module db_mysql.so due to undefined symbol: log

2010-04-13 Thread Pratab Ali
Hello, I have installed from source version 3.0.1 of Kamailio on an OpenSuSE 10 Linux system. Currently I am attempting to enable persistence in my Kamailio with the help of MySQL. In the config file kamailio.cfg I have enabled MySQL as follows #!define WITH_MYSQL In the confi

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : help me please, how to make a SIPtrunk?? Please, open a new thread for a new topic. Anyhow, I recommend you reading the full documentation. There is not a "magic" concept of a SIPtrunk. yes but with if(uri=~...) it's good, no??

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 alexis heron : > help me please, > how to make a SIPtrunk?? Please, open a new thread for a new topic. Anyhow, I recommend you reading the full documentation. There is not a "magic" concept of a SIPtrunk. -- Iñaki Baz Castillo ___ SIP Expr

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Laszlo wrote: failure_route[FAIL_ONE] { is closed before your "if ( $rU =~ "^9[0- ." 2010/4/13 alexis heron > Daniel-Constantin Mierla wrote: On 4/13/10 11:59 AM, alexis heron wrote: Daniel-Constantin Mierla wrote:

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
marius zbihlei wrote: alexis heron wrote: # Sample failure route failure_route[FAIL_ONE] { #!ifdef WITH_NAT if (is_method("INVITE") && (isbflagset("6") || isflagset(5))) { unforce_rtp_proxy(); } #!endif if (t_is_canceled()) { exit; } # uncomment the fol

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Laszlo
failure_route[FAIL_ONE] { is closed before your "if ( $rU =~ "^9[0- ." 2010/4/13 alexis heron > Daniel-Constantin Mierla wrote: > >> >> >> On 4/13/10 11:59 AM, alexis heron wrote: >> >>> Daniel-Constantin Mierla wrote: >>> On 4/13/10 11:49 AM, alexis heron wrote: > Iñ

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread marius zbihlei
alexis heron wrote: # Sample failure route failure_route[FAIL_ONE] { #!ifdef WITH_NAT if (is_method("INVITE") && (isbflagset("6") || isflagset(5))) { unforce_rtp_proxy(); } #!endif if (t_is_canceled()) { exit; } # uncomment the following lines if you wan

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Daniel-Constantin Mierla wrote: On 4/13/10 11:59 AM, alexis heron wrote: Daniel-Constantin Mierla wrote: On 4/13/10 11:49 AM, alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I stron

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Daniel-Constantin Mierla wrote: On 4/13/10 11:59 AM, alexis heron wrote: Daniel-Constantin Mierla wrote: On 4/13/10 11:49 AM, alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I stron

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Daniel-Constantin Mierla
On 4/13/10 11:59 AM, alexis heron wrote: Daniel-Constantin Mierla wrote: On 4/13/10 11:49 AM, alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I strongly recommend you doing so as fol

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Daniel-Constantin Mierla wrote: On 4/13/10 11:49 AM, alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I strongly recommend you doing so as follows: if ( $rU =~ "^9[0-9][0-9]$" ) {

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Daniel-Constantin Mierla
On 4/13/10 11:49 AM, alexis heron wrote: Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I strongly recommend you doing so as follows: if ( $rU =~ "^9[0-9][0-9]$" ) { log(1, "Matched Cisco Cal

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : As a suggestion, if you are interested in matching just the RURI username part then I strongly recommend you doing so as follows: if ( $rU =~ "^9[0-9][0-9]$" ) { log(1, "Matched Cisco Call Manager"); route(4); } I

Re: [SR-Users] [OT] Nagios SIP Plugin

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 Alex Balashov : > Awesome, thanks Iñaki!  I have long had the need for something more flexible > than the check_sip wrapper around 'sipsak' that Nagios provides (I think > that's how it works, anyway?). There is a Perl plugin (very limited and not reliable) and other one making use of si

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 alexis heron : >> As a suggestion, if you are interested in matching just the RURI >> username part then I strongly recommend you doing so as follows: >> >>  if ( $rU =~ "^9[0-9][0-9]$" ) { >>             log(1, "Matched Cisco Call Manager"); >>             route(4); >>  } >> >> >> I have

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Iñaki Baz Castillo wrote: 2010/4/13 alexis heron : Hi, I have a problem to routing with kamailio. When I restart kamailio I have this error message : 0(710) : [cfg.y:3328]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error 0(710) : [cfg.y:3

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
marius zbihlei wrote: alexis heron wrote: Hi, I have a problem to routing with kamailio. When I restart kamailio I have this error message : 0(710) : [cfg.y:3328]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error 0(710) : [cfg.y:3328]: pars

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread marius zbihlei
alexis heron wrote: Hi, I have a problem to routing with kamailio. When I restart kamailio I have this error message : 0(710) : [cfg.y:3328]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error 0(710) : [cfg.y:3328]: parse error in config file

Re: [SR-Users] syntax error with kamailio

2010-04-13 Thread Iñaki Baz Castillo
2010/4/13 alexis heron : > Hi, > > I have a problem to routing with kamailio. When I restart kamailio I have > this error message : > 0(710) : [cfg.y:3328]: parse error in config file > /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error > 0(710) : [cfg.y:3328]: parse error i

Re: [SR-Users] Calling number Routing possibility in 1.5rel.

2010-04-13 Thread Maciej Bylica
Daniel, Thx for pointing me to Your docs covering stability and upgrade remarks. So You've convinced me to upgrade to 3.0 rel. :) But, first I need to configure calling number routing ASAP. Then i will be having more time to do the upgrade. Anyway thx for clearing this up. Maciej 2010/4/13 Dan

[SR-Users] syntax error with kamailio

2010-04-13 Thread alexis heron
Hi, I have a problem to routing with kamailio. When I restart kamailio I have this error message : 0(710) : [cfg.y:3328]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 640, column 2-3: syntax error 0(710) : [cfg.y:3328]: parse error in config file /usr/local/etc/kamai

[SR-Users] reminder: irc devel meeting, apr 14, 15:00utc

2010-04-13 Thread Daniel-Constantin Mierla
Hello, short reminders about tomorrow's IRC devel meeting on #sip-router / irc.freenode.net. Add your topics to wiki if you want something to be discussed: http://sip-router.org/wiki/devel/irc-meetings/next Cheers, Daniel -- Daniel-Constantin Mierla * http://www.asipto.com/ * http://twitter

Re: [SR-Users] Calling number Routing possibility in 1.5rel.

2010-04-13 Thread Daniel-Constantin Mierla
Hello, On 4/13/10 10:40 AM, Maciej Bylica wrote: Hi Daniel, The main reason is that i have running configuration exactly on 1.5 I am not sure if i can easly copy&paste all stuff from 1.5 (especially modules configuration) modules configuration is mostly the same for majority of modules, jus

Re: [SR-Users] Calling number Routing possibility in 1.5rel.

2010-04-13 Thread Maciej Bylica
Hi Daniel, The main reason is that i have running configuration exactly on 1.5 I am not sure if i can easly copy&paste all stuff from 1.5 (especially modules configuration) The last question is about stability of 3.0. Thx, Maciej. 2010/4/13 Daniel-Constantin Mierla : > > > On 4/12/10 8:58 PM, Ma

Re: [SR-Users] PVs in Regular Expression Transformations

2010-04-13 Thread Daniel-Constantin Mierla
On 4/12/10 8:37 PM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: > i guess you wanted to say operate on $ru - strip() and strip_tail() > functions - indeed there are some core functions, removing might not be > easy since some people may want them for backward compatibility o

Re: [SR-Users] Calling number Routing possibility in 1.5rel.

2010-04-13 Thread Daniel-Constantin Mierla
On 4/12/10 8:58 PM, Maciej Bylica wrote: Hi Daniel, Thx for reply. I am about to run through these modules. btw, you said you are playing with 1.5, any particular reason? 3.0 has a lot better core architecture and new features. Cheers, Daniel Cheers, Maciej. Hello, there are