Re: [SR-Users] Learn Kamailio.cfg Basics

2013-08-19 Thread Gertjan Wolzak
Hello Nishar, Take a look at the Asipto Knowledgebase, they have good tutorials. http://kb.asipto.com/asterisk:index Good luck. From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Nishar M.H Sent: maandag 19 augustus 2013 6:40 To:

[SR-Users] RPM packages for v4.0.3

2013-08-19 Thread Daniel-Constantin Mierla
Hello, the rpm packages for recently released v4.0.3 are available on the opensuse build service servers. Details for distributions and links are available at: - http://www.kamailio.org/wiki/packages/rpms Cheers, Daniel -- Daniel-Constantin Mierla - http://www.asipto.com

Re: [SR-Users] Learn Kamailio.cfg Basics

2013-08-19 Thread Nishar M.H
Thanks for the link. from this document. I got some ideas and they have used a single server for both Kamailio and Asterisk. For me, i am trying to make individual server for Kamailio and Asterisk. Now i am creating some cfg file and testing on it. I don't have much idea about cfg but trying

Re: [SR-Users] DID Routing

2013-08-19 Thread Daniel Tryba
On Saturday 17 August 2013 06:50:25 Daniel W. Graham wrote: I didn't think of pulling from to header, but in my case the to changes so I think storing in avp may be my only option. As Alex mentioned, the to header might be filled with something else. In my use case people fooling around with

[SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Roberto Fichera
Hi All, I'm just trying to setup the TLS on the last Kamailio v4.0.3 on Fedora 18 64bits. Kamailio doesn't start and terminate with the error below: loading modules under /usr/local/lib/kamailio/modules_k/:/usr/lib64/kamailio/modules/ 0(1676) ERROR: tls [tls_init.c:471]: tls_pre_init():

[SR-Users] kamailio configuration for pass-thru proxy and username rewrite

2013-08-19 Thread ACW - Florian Schmid
Hello, i am new to kamailio and have some problems creating the configuration. What we have now: A SIP-Provider who gives us sip accounts or sip-trunks with username and passwords. Our customers, where we have to enter the SIP-Provider's userdata. What we want to have: We want to create a

Re: [SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Daniel-Constantin Mierla
Hello, what version of libssl is installed? can you list what modules are loaded in your kamailio.cfg? Try with tls.so loaded as first module... Cheers, Daniel On 8/19/13 11:47 AM, Roberto Fichera wrote: Hi All, I'm just trying to setup the TLS on the last Kamailio v4.0.3 on Fedora 18

Re: [SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Roberto Fichera
On 08/19/2013 12:14 PM, Daniel-Constantin Mierla wrote: Hello, Hi, what version of libssl is installed? [root@proxy CA]# rpm -q -a openssl-libs openssl-libs-1.0.1e-4.fc18.x86_64 [root@proxy CA]# can you list what modules are loaded in your kamailio.cfg? Try with tls.so loaded as first

[SR-Users] Kamailio does not send reply to source port

2013-08-19 Thread Mino Haluz
Hi, I really do not know what is happening but when I'm sending SIP INVITE form port other than 5060, if it reaches sl_send_reply(403,Forbidden) response is sent to 5060 and not to the source port of the initial INVITE. I am not changing anyhow $du or $rd ... Mino

Re: [SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Daniel-Constantin Mierla
Does it work with tls.so as first loaded module? If not, can you send the logs messages with debug=3? Cheers, Daniel On 8/19/13 12:26 PM, Roberto Fichera wrote: On 08/19/2013 12:14 PM, Daniel-Constantin Mierla wrote: Hello, Hi, what version of libssl is installed? [root@proxy CA]# rpm

Re: [SR-Users] Kamailio does not send reply to source port

2013-08-19 Thread Alex Balashov
Hello Mino, Kamailio responds to the port that is declared by the sender in the Via header, which is evidently 5060. If you want to override this, call force_rport() somewhere in your INVITE handling, prior to sending the reply. This forces replies to go to the port from which the INVITE

Re: [SR-Users] Kamailio does not send reply to source port

2013-08-19 Thread Daniel-Constantin Mierla
Hello, do you use force_rport()? Normally, the reply is routed using Via header address. Cheers, Daniel On 8/19/13 12:31 PM, Mino Haluz wrote: Hi, I really do not know what is happening but when I'm sending SIP INVITE form port other than 5060, if it reaches sl_send_reply(403,Forbidden)

Re: [SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Roberto Fichera
On 08/19/2013 12:37 PM, Daniel-Constantin Mierla wrote: Does it work with tls.so as first loaded module? No! I doesn't! If not, can you send the logs messages with debug=3? 0(2122) DEBUG: core [cfg.y:1804]: yyparse(): loading modules under

Re: [SR-Users] kamailio configuration for pass-thru proxy and username rewrite

2013-08-19 Thread Alex Balashov
Hi Florian, Kamailio has limited support for this in the form of the reg facility of the 'uac' module: http://kamailio.org/docs/modules/4.0.x/modules/uac.html#reg-db-url-id The 'uac' module can register (with authentication) to other gateways on your behalf. However, it's not very

Re: [SR-Users] Kamailio does not send reply to source port

2013-08-19 Thread Mino Haluz
(palmface). I am always forgetting about this, it should be called where initial request is processed or also for sequential requests? On Mon, Aug 19, 2013 at 11:39 AM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, do you use force_rport()? Normally, the reply is routed using

Re: [SR-Users] Kamailio does not send reply to source port

2013-08-19 Thread Alex Balashov
On 08/19/2013 07:00 AM, Mino Haluz wrote: (palmface). I am always forgetting about this, it should be called where initial request is processed or also for sequential requests? Initial. Sequential requests and their replies are sent according to a different principle (the target URI, i.e.

[SR-Users] ERROR udp_server: cannot assign requested address

2013-08-19 Thread Franz Edler
Hi experts, I am trying to configure IMS in Kamailio 4.0. Now I see an error when starting I-CSCF: ERROR: core [udp_server.c:414]: udp_init(): ERROR: udp_init: bind(5, 0x7f9d69fcd924, 16) on 192.168.0.2: Cannot assign requested address which I cannot fix. I am using subnet 10.0.0.x on my

Re: [SR-Users] ERROR udp_server: cannot assign requested address

2013-08-19 Thread Alex Balashov
Hi Franz, Do you have a 'listen' line referencing the address 192.168.0.2 somewhere in your configuration? Perhaps something like: listen=udp:192.168.0.2:5060 ? Or perhaps a macro? I would note that the sample I-CSCF config has that address defined thusly:

Re: [SR-Users] tls.so: mod_register failed on fedora 18 x86_64

2013-08-19 Thread Roberto Fichera
On 08/19/2013 12:37 PM, Daniel-Constantin Mierla wrote: Hi Daniel, Does it work with tls.so as first loaded module? If not, can you send the logs messages with debug=3? Cheers, Daniel On 8/19/13 12:26 PM, Roberto Fichera wrote: On 08/19/2013 12:14 PM, Daniel-Constantin Mierla wrote:

Re: [SR-Users] Hash Table capacity

2013-08-19 Thread Ricardo Martinez
Anyone here? Thanks! Ricardo.- *De:* Ricardo Martinez [mailto:rmarti...@redvoiss.net] *Enviado el:* miƩrcoles, 14 de agosto de 2013 18:34 *Para:* sr-users@lists.sip-router.org *Asunto:* Hash Table capacity Hello list. I have a question about the HTABLE module. Suppose that I have a

Re: [SR-Users] Hash Table capacity

2013-08-19 Thread Alex Balashov
According the docs, the hash table is restricted to a maximum size of 2^16 (65536) buckets. This doesn't mean that the htable can only hold 65k entries, just that it's the maximum number of unique buckets. Assuming a theoretically ideal distribution where every value has a unique bucket,

Re: [SR-Users] Learn Kamailio.cfg Basics

2013-08-19 Thread Gertjan Wolzak
Hello Nishar, Well, still take the kamailio config example, only change the Asterisk ip address and port. #!ifdef WITH_ASTERISK asterisk.bindip = 192.168.178.25 desc Asterisk IP Address asterisk.bindport = 5080 desc Asterisk Port kamailio.bindip = 192.168.178.25 desc Kamailio IP Address

Re: [SR-Users] mutual TLS

2013-08-19 Thread johnc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks. On 13/08/13 10:57, Daniel-Constantin Mierla wrote: Hello, On 7/30/13 9:37 PM, johnc wrote: Hi, Has anybody implemented and documented a kamailio set-up with mutual TLS authentication. i.e. using client certificates as well as a

Re: [SR-Users] Hash Table capacity

2013-08-19 Thread Elena-Ramona Modroiu
Hi, On 8/19/13 4:05 PM, Alex Balashov wrote: According the docs, the hash table is restricted to a maximum size of 2^16 (65536) buckets. it was restricted to 2^14, I just lifted it to positive integer range 2^31 because it is easier to get now systems with plenty of memory -- it will be in

Re: [SR-Users] Hash Table capacity

2013-08-19 Thread Olle E. Johansson
19 aug 2013 kl. 17:02 skrev Elena-Ramona Modroiu ram...@asipto.com: Hi, On 8/19/13 4:05 PM, Alex Balashov wrote: According the docs, the hash table is restricted to a maximum size of 2^16 (65536) buckets. it was restricted to 2^14, I just lifted it to positive integer range 2^31

Re: [SR-Users] Hash Table capacity

2013-08-19 Thread Olle E. Johansson
19 aug 2013 kl. 17:02 skrev Elena-Ramona Modroiu ram...@asipto.com: On 8/19/13 4:05 PM, Alex Balashov wrote: According the docs, the hash table is restricted to a maximum size of 2^16 (65536) buckets. it was restricted to 2^14, I just lifted it to positive integer range 2^31 because it

Re: [SR-Users] Quick Question

2013-08-19 Thread Klaus Darilion
I also saw this recently in Kamailio and can not remember having this seen before. In your case Kamailio is doing some loose-route/strict-route conversion which of course is buggy. I think the problem is related that Kamailio does not correctly identify that the Route header addresses

[SR-Users] kamailio-asterisk separated by wan

2013-08-19 Thread tihi
Hi, I am new to kamailio, and still just exploring area. But one thing I dont understand, if I have external peers, with more asterisk servers on public internet, how do I setup kamailio as sip proxy, or where? Do I have to put kamailio in front of every asterisk or can I have one sip proxy