Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread SamyGo
hmmm..the only thing that I've missed , my favourite, tcpdump/wireshark. Now I try that and come back here. On Thu, May 10, 2012 at 11:41 AM, Reda Aouad wrote: > Well since siremis and kamailio configurations are straightforward, it's > hard to troubleshoot without knowing what you already did,

Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread Reda Aouad
Well since siremis and kamailio configurations are straightforward, it's hard to troubleshoot without knowing what you already did, so I try to help starting with the basic things. No offense ;) Can you check no other process is listening on that port? Have you monitored using tcpdump or wireshark

Re: [SR-Users] Bug: Pua_reginfo

2012-05-09 Thread Gnaneshwar Gatla
Hello, I have noticed that user records were not being correctly saved in the location table. I have tried to fix this will the attached code. This would fix reginfo_handle_notify() to store the user-record in the right format. This fixes part of the problem, I'm still trying to fix the incorrec

Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread SamyGo
Yes Reda, those are basic things, I can telnet to any other port on that server - ping it but the only port which instantly drops my connection is 8033 !! even if netstat shows its listening to it on all interfaces. On Thu, May 10, 2012 at 11:17 AM, Reda Aouad wrote: > In that case it maybe a n

Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread Reda Aouad
In that case it maybe a network or security problem. Can you ping the remote server? Have you checked your firewall settings on both servers? Reda On Thu, May 10, 2012 at 7:21 AM, SamyGo wrote: > Hello Reda, > I really appreciate that, yes I forgot to mention that I've already done > that., >

Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread SamyGo
Hello Reda, I really appreciate that, yes I forgot to mention that I've already done that., When I do "netstat -pln | grep kamailio" I can see kamailio listening on 0.0.0.0:8033 but still nothing happening :( Please let me know what else should I provide in order to resolve this issue. Regards,

[SR-Users] kamailio debug send messages

2012-05-09 Thread Bruno Bresciani
Hi all, Why kamailio send to syslog only received SIP messages? I want see the messages that kamailio send to the UAs, it's possible? On TCP/TLS SIP messages there is a degub of buffer with the message that will be send, but a strange content has been shown... following the log: *tcp_send: buf=

[SR-Users] error searching pvar "sp."

2012-05-09 Thread Konstantin M.
Hello, When I have the following code: xlog("Dropped INVITE from unregistered location: $si:$sp.\n"); -- I'm getting a parse error: 0(3735) ERROR: [pvapi.c:708]: error searching pvar "sp." 0(3735) ERROR: [pvapi.c:912]: wrong char [./46] in [$sp. ] at [3 (0)] 0(3735) ERROR: xlog [x

[SR-Users] Question about dialog module (state 1)

2012-05-09 Thread Ricardo Martinez
Hello. I’m using the dialog module to keep control of simultaneous calls. In some cases, and I’m still trying to find why this happens, the dialog stays in “STATE:: 1”, which according to the docs is a dialog which no provisional response has been sent yet. Is there a way to eliminate this kind

Re: [SR-Users] Problem with radius_www_authorize

2012-05-09 Thread Ricardo Martinez
Thanks Juha.! Regards, -Mensaje original- De: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] En nombre de Juha Heinanen Enviado el: miércoles, 09 de mayo de 2012 0:39 Para: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-05-09 Thread Akan
I changed the use_domain parameter for usrloc to 0 and retried. Kamailio did not crash and I was able to get registered. I have another server with the same configurations as the one having the problem. I will apply the patch there and see if the problem still occurs. Also, setting the use_doma

Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
Thank you, I found a logical error in order. Also would be good if lex parser can understand a wildmasks, like: include_file "modules/*.cfg"... 2012/5/9 Andrew Pogrebennyk > Konstantin, > > You should put the include_file directive after loadmodule and modparam > directives. So it can be either

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
Konstantin, You should put the include_file directive after loadmodule and modparam directives. So it can be either before main route block or at the bottom of your main kamailio.cfg. On 05/09/2012 06:48 PM, Konstantin M. wrote: > After including a part of main config to included file -- I got a

[SR-Users] Question about using LCR wit multiple gateways

2012-05-09 Thread Juha Heinanen
Gary Chen writes: > When making call , it only uses the first gateway. If first gateway > failed, it could not find second gateway. > What is the correct table entry for this to work? there is not necessarily anything wrong with your tables. put some xlog statements to your script to find out w

[SR-Users] Question about using LCR wit multiple gateways

2012-05-09 Thread Gary Chen
Kamilio 3.2.0 I'd like to use one gateway as primary gateway and the another gateway as backup for failover. I could not make it to work. Here is my table entries: Lcr_gw: +++-+-+--+--+++---+---+-

Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
After including a part of main config to included file -- I got a several errors like: 0(1582) ERROR: [cfg.y:3393]: cfg. parser: failed to find command is_method 0(1582) : [cfg.y:3532]: parse error in config file /opt/kamailio/etc/kamailio/debug.cfg, line 4, column 55: unknown command, missin

Re: [SR-Users] Config include

2012-05-09 Thread Konstantin M.
Hi Andrew, I have missed that. Thank you very much! 2012/5/9 Andrew Pogrebennyk > Hello, > It is already there, see > http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x > > On 05/09/2012 06:04 PM, Konstantin M. wrote: > > Hi, > > > > I would like (and a many people here I believe) to

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
Hello, It is already there, see http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x On 05/09/2012 06:04 PM, Konstantin M. wrote: > Hi, > > I would like (and a many people here I believe) to have a functional of > including a multiple config files like (foe example asterisk's > #include

[SR-Users] NAT fixups not applied for voicemail

2012-05-09 Thread x-kamailio
Greetings, Here's another problem I'm having with kamailio 3.2 and the standard kamailio.cfg script. If the calling device is NATed, everything works fine if the original call gets connected. That is, the INVITE sent to the called device has the correct NAT fixups applied. But if the called devi

[SR-Users] Kamailio SIP server and Cisco 7971G-GE

2012-05-09 Thread KA Veelenturf
Hello everyone, I am trying to get a new SIP firmware version on our Cisco 7971G-GE. Now the problem is that I don't really know which configuration files have to be included to get everything working. For now on I have the new SIP firmware and SEPcnf.xml and the XMLDefault.cnf.xml files. Doe

[SR-Users] Config include

2012-05-09 Thread Konstantin M.
Hi, I would like (and a many people here I believe) to have a functional of including a multiple config files like (foe example asterisk's #include "path/to/some/config.conf"). Is it possible to implement a such feature ? Thanks! ___ SIP Express Router

Re: [SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread Reda Aouad
Hi, The Kamailio server you wish to control remotely should have the mi_datagram module listening on the correct interface and not on the loopback one (127.0.0.1). loadmodule "mi_datagram.so" *modparam("mi_datagram", "socket_name", "udp:192.168.2.156:8033")* Reda On Wed, May 9, 2012 at 1:02

Re: [SR-Users] Kamailio ignores some ACK

2012-05-09 Thread Jason Penton
Seems like a loose routing issue. Are you loose routing in your config file? On Wed, May 9, 2012 at 4:34 PM, Stoyan Mihaylov wrote: > You can use something like wireshark on Kamailio server to see if ACK > packets go in right direction. > I had problem with ACK and BYE, and I saw that in some ca

Re: [SR-Users] Kamailio ignores some ACK

2012-05-09 Thread Stoyan Mihaylov
You can use something like wireshark on Kamailio server to see if ACK packets go in right direction. I had problem with ACK and BYE, and I saw that in some cases ACK and BYE packets looped back in kamailio. May be I used wrong client. On Wed, May 9, 2012 at 5:15 PM, Efelin Novak wrote: > Hi folk

Re: [SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Reda Aouad
I had the same problem when calling mediaproxy twice by mistake. rtpproxy_manage( ) calls implicitely rtpproxy_offer( ). This is the problem. Either you use only rtpproxy_manage once on the INVITE and let it start and terminate the session, or you use rtpproxy_offer, rtpproxy_answer and rtpproxy_

Re: [SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Openser Kamailio
I call rtpproxy_offer() once, but i use also rtpproxy_manage(). When i disable rttproxy_mange(), it works well. Thanks! On Wed, May 9, 2012 at 2:57 PM, Andreas Granig wrote: > Hi, > > On 05/09/2012 02:40 PM, Openser Kamailio wrote: > > *Owner/Connection Information (o)*: doubango 1983 678901 IN

[SR-Users] Kamailio ignores some ACK

2012-05-09 Thread Efelin Novak
Hi folks, I have a strange problem when Kamailio ignores ACKs in a specific scenario. The call flow is as follows: A -> INVITE -> kamailio -> INVITE -> B [omitting 100 and 180] A <- 200 OK <- kamailio <- 200 OK <- B A -> ACK -> kamailio There are INVITE Xlogs, Reply ROUTE xlogs and media-proxy l

[SR-Users] Problem with parallel forking of aliases

2012-05-09 Thread x-kamailio
Greetings, I'm having trouble getting parallel forking to work with aliasdb. I'm running kamailio 3.2 with the standard kamailio.cfg script. I have found that if an alias points to a set of addresses that all reference local devices that are registered with the server, kamailio sends an invitatio

Re: [SR-Users] Alias configuration with multidomain

2012-05-09 Thread Arjan Kuiken
Hi Daniel, Here are the error messages: INVITE sip:0235630155@a1 SIP/2.0 Via: SIP/2.0/UDP 172.20.30.45:5060;branch=z9hG4bK63637d58;rport From: "0235630111" ;tag=as0c12287c To: Contact: Call-ID: 0c29c63e38dd5d2f1f707b5e11751a5e@99a1 CSeq: 102 INVITE User-Agent: Xelion Phone System Max-Forwards:

Re: [SR-Users] Alias configuration with multidomain

2012-05-09 Thread Daniel-Constantin Mierla
Hello, can you send here on the mailing lust the error log messages you get? They should give some hints about what goes wrong. Cheers, Daniel On 5/9/12 2:01 PM, Arjan Kuiken wrote: Hello SR-users,

Re: [SR-Users] Accounting '180 Ringing' without SDP

2012-05-09 Thread Daniel-Constantin Mierla
Hello, I don't remember by hart all the parameter options for acc module, but for accounting an event is always a backup route - use acc_db_request(...) when that event happens -- in this case should be an onreply_route with a condition on status code 180. Cheers, Daniel On 5/9/12 1:32 PM,

Re: [SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Andreas Granig
Hi, On 05/09/2012 02:40 PM, Openser Kamailio wrote: > *Owner/Connection Information (o)*: doubango 1983 678901 IN IP4 > *172.27.170.984* 172.27.170.98 > *Connection Information (c)*: IN IP4 *172.27.170.984* 172.27.170.98 Could it be possible that you're calling rtpproxy_offer() twice? Andreas

[SR-Users] Rtpproxy issue with connection information

2012-05-09 Thread Openser Kamailio
Hi, i'm currently working with kamailio 3.2 and rtpproxy 1.2.1. Both are set up on the same computer. When rtpproxy adds an SDP to an Invite, it adds two IPv4 addresses in owner/creator session and connection information field with an error, i.e: *Owner/Connection Information (o)*: doubango 1983

[SR-Users] Alias configuration with multidomain

2012-05-09 Thread Arjan Kuiken
Hello SR-users, I want to configure a kamailio 3.2.3. We want to use it to connect multiple SIP servers as users and let the Kamailio work as a Trunk/ Proxy connected to a PSTN gateway. We have multiple domains and aliases per SIP servers. When I register a SIP server to Kamailio everything goe

[SR-Users] Accounting '180 Ringing' without SDP

2012-05-09 Thread Stephen Dodge (Bistech)
Hello, We are running Kamailio 3.1.5 and using the acc module to generate CDRs and provide reporting information. We have a requirement to report ring time and we do this by accounting on early media for 183 provisional responses. Unfortunately we have a couple of customer PBX's that cannot p

[SR-Users] [SIREMIS] Multiple kamailio management commands

2012-05-09 Thread SamyGo
Hello list, I'm trying to have my Siremis interface send MI commands to multiple kamailio servers i.e reload dispatcher of all the kamailio servers when I reload from Siremis interface. The issue Im facing is that the commands dont get executed on any other server except localhost/ as mentioned

Re: [SR-Users] detect retransmission messages...

2012-05-09 Thread Klaus Darilion
See t_newtran() and t_check_trans() to create/check transaction state for certain requests: http://www.kamailio.org/docs/modules/3.2.x/modules/tm.html#t_newtran http://www.kamailio.org/docs/modules/3.2.x/modules/tm.html#t_check_trans There is no method to check if responses are retransmissions

Re: [SR-Users] detect retransmission messages...

2012-05-09 Thread Alex Balashov
t_check_trans() generally does the trick. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com Vineet Menon wrote: >Hi, > >How do we detect a message as retr

[SR-Users] detect retransmission messages...

2012-05-09 Thread Vineet Menon
Hi, How do we detect a message as retransmitted message, in a transaction oriented proxy? Regards, Vineet Menon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bi

Re: [SR-Users] kamdbctl

2012-05-09 Thread Klaus Darilion
On 08.05.2012 12:19, Henning Westerholt wrote: Am Dienstag, 8. Mai 2012, 12:06:46 schrieb Klaus Darilion: I wonder what is the status of kamdbctl tool for 'migrate' command - should it work? The description says: kamdbctl migrate .(migrates DB from 1.2 to 1.3, n

Re: [SR-Users] [sr-dev] kamdbctl error

2012-05-09 Thread Vineet Menon
hi Daniel, your trick workednow I have mysql library files in the library folder... Thanks.I have added `mysql` and `db_mysql` in include_module variable in module.lst... Regards, Vineet Menon On 8 May 2012 12:28, Daniel-Constantin Mierla wrote: > Hello, > > one option - edit mod

Re: [SR-Users] Kamailio Unexpectedly Terminating

2012-05-09 Thread Daniel-Constantin Mierla
Hello, I see no reason why it crashes at line 104 when realm_prefix.len==0. Might be a memory problem (hardware). Can you try with use_domain parameter set to 0 for usrloc module? Cheers, Daniel On 5/5/12 5:29 PM, Akan wrote: I made the change and still have the problem. I have included the

Re: [SR-Users] Kamailio [No Audio]

2012-05-09 Thread Daniel-Constantin Mierla
Hello, On 5/6/12 9:40 PM, Fred Flintsone wrote: I am attempting to route local registered users to local registered users without going to the media server. I have a media server [*] for PSTN. But it doesn't support all the CODECS i wan't to use. Signalling seems fine, but i get NO AUDIO on