Re: [SR-Users] need help for newbie in Kamailio

2012-03-19 Thread SamyGo
Hi, Yes that is the behaviour when the media isn't flowing through a regulatory tool (in-terms it sees the media and know call is actually going on rtpproxy/media-proxy) but in the absence of any such tool SIP server is not aware that the call-media is still in progress or is dead ! so it always

[SR-Users] server overload mitigation

2012-03-19 Thread Vineet Menon
Hi, does kamailio mitigate server overload???If yes how is that?? Is there a setting for high water mark or something?? Regards, Vineet Menon ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org htt

Re: [SR-Users] need help for newbie in Kamailio

2012-03-19 Thread Vineet Menon
i guess it should time out...the other end...since it has no way of knowing that the other end is no more present... Regards, Vineet Menon On 20 March 2012 11:30, Rabary wrote: > Hi mailing, > > Newbie to kamailio, I follow this tuto http://nil.uniza.sk/sip/** > kamailio/adding-mysql-suppor

[SR-Users] need help for newbie in Kamailio

2012-03-19 Thread Rabary
Hi mailing, Newbie to kamailio, I follow this tuto http://nil.uniza.sk/sip/kamailio/adding-mysql-support-kamailio-31-debian-lenny for the registration SIP via mysql database and it works fine, but I saw that when during the call we disconnect the called UAC from network or turn the power off

Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread Fatima Chahrour~ Vanrise Technical Support
Okay, then I will go forward to installing and configuring Asterisk to be defined as gateway and check results! Will update you. Thanks, F.Chahrour -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of r...@dimension-vir

Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread rabs
>  Hi, > > Thanks for the reply. > So can I say that the script and data in tables are correct? > > The .266 is doing nothing, neither ringing nor showing any response, and > this is the issue! > So what might be prohibitting the call ringing? However without the drouting > module calling 6000 (.26

Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread Fatima Chahrour~ Vanrise Technical Support
 Hi, Thanks for the reply. So can I say that the script and data in tables are correct? The .266 is doing nothing, neither ringing nor showing any response, and this is the issue! So what might be prohibitting the call ringing? However without the drouting module calling 6000 (.266 username) pas

Re: [SR-Users] Presence question

2012-03-19 Thread Anca Vamanu
Hi David, This query comes from code and is executed when a Notify receives an error reply. Check which is the reply received by the Notify that is sent imediately after the 200OK for Subscribe. Regards, Anca On 03/19/2012 06:30 PM, David wrote: Hello, I am running a presence server. I

[SR-Users] Presence question

2012-03-19 Thread David
Hello, I am running a presence server. I am searching for a problem with my presence, and I have traced it down to this query : delete from active_watchers where presentity_uri='sip:test...@domain.tld' AND event='dialog' AND to_tag='f0253efb8005057b3cc0ab8fa35ff1d9-c961' This query is bein

Re: [SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread rabs
> Dears, > > > > I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and > started drouting configuration. > > > > I'm using 2 PCs each having an x-lite softphone and the Kamailio on the > vmware all connected locally. My primary test is to make a call from x-lite > on PC (192.

Re: [SR-Users] XMPP module not passing subscribes coming from xmpp side

2012-03-19 Thread Dan-Cristian Bogos
Wow, That is all good news Daniel, thanks for your efforts. Please give me a couple of days to install and test it. Will report the results for sure. Have a good one! DanB On Mon, Mar 19, 2012 at 3:16 PM, Daniel-Constantin Mierla wrote: > Hello, > > I just committed on master branch a patch t

[SR-Users] Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread Fatima Chahrour~Vanrise Support
Dears, I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and started drouting configuration. I'm using 2 PCs each having an x-lite softphone and the Kamailio on the vmware all connected locally. My primary test is to make a call from x-lite on PC (192.168.111.11) to

[SR-Users] FW: Unsuccessful call using DRouting - Request Timeout

2012-03-19 Thread Fatima Chahrour~Vanrise Support
Dears, I started my lab on VMware (debian lenny) where I installed Kamailio 3.2 and started drouting configuration. I'm using 2 PCs each having an x-lite softphone and the Kamailio on the vmware all connected locally. My primary test is to make a call from x-lite on PC (192.168.111.11) to

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Jan Janak
I know this is not a solution, but you can also try to run dpkg-reconfigure ca-certificates and select only a couple of CA certificates you trust. That should make the list much smaller. Debian includes a lot of CA certificates in its default list and I am not sure whether it is a good idea to tr

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Jan Janak
On Mon, Mar 19, 2012 at 05:32, Juha Heinanen wrote: > as i mentioned, with shared memory of 64MB, sip proxy started fine. > however, it failed to send a request over tls: > > Mar 19 11:21:41 test /usr/sbin/sip-proxy[30293]: INFO: Routing INVITE > > Mar 19 11:21:41 test /usr/sbin/sip-proxy[30293]

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Jan Janak
On Mon, Mar 19, 2012 at 05:31, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/19/12 10:03 AM, Juha Heinanen wrote: >> >> Daniel-Constantin Mierla writes: >> >>> is this with default mem size? >> >> i would just like to add that once i increased shared memory from >> 32m to 64m, sip proxy star

Re: [SR-Users] message offline store questions...

2012-03-19 Thread Krishna Kurapati
Thanks Daniel. I also found one more issue with msilo module. When the messages are dumped, transactions (using uac) for all messages are getting created with a random callid and cseq=10. These are stored in a hash table (in tm) and scheduled to be delivered to outbound proxy. The order of delive

Re: [SR-Users] Dispatcher and round-robin ignoring priorities?

2012-03-19 Thread Daniel-Constantin Mierla
Hello, priority is used to sort the destination addresses list at startup (at load time). It has impact on which will be the first time used address in round-robin selection. You should be able to achieve what you want by chaining dispatching over two groups of addresses, first round-robin o

Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/19/12 1:28 PM, Fatima Chahrour~Vanrise Support wrote: Hi, Thanks for the reply, it works with no crash now and I can now understand the reason behind the crash; welcome. Note: After removing 4 from dr_rule table no more crash occurs, yet the call is still ending with Request

Re: [SR-Users] XMPP module not passing subscribes coming from xmpp side

2012-03-19 Thread Daniel-Constantin Mierla
Hello, I just committed on master branch a patch that should allow addresses in straight 'username@domain' format, meaning that the delimiter-like addresses will not be used, working for the case you do SIP-XMPP gatewaying only for your local SIP users. There is a new parameter, gwmap, that

[SR-Users] Dispatcher and round-robin ignoring priorities?

2012-03-19 Thread Øyvind Kolbu
Our PSTN provider has three servers. Two of them are located in our town, and we prefer them, and the last one much further away. We can use them interchangeably. From our dispatcher file: # 10: PSTN 10 sip:preferred1.example.com:7476 0 5 10 sip:preferred2.example.com:7476 0 5 10

Re: [SR-Users] Best approach for TCP/TLS connection re-use for nated Contacts

2012-03-19 Thread Giacomo Vacca
Thanks for your answers. I thought I could make an example with your suggestions, for documentation (I see others are interested at the moment). Using add_contact_alias, when the 200 OK for an INVITE is received, e.g. from 10.0.9.49:61756: SIP/2.0 200 OK [...] Contact: add_contact_alias detec

Re: [SR-Users] DRouting cause Kamailio 3.2 to stop

2012-03-19 Thread Fatima Chahrour~Vanrise Support
Hi, Thanks for the reply, it works with no crash now and I can now understand the reason behind the crash; Note: After removing 4 from dr_rule table no more crash occurs, yet the call is still ending with Request Timeout. Shall I add this issue in a new post or can I continue here? Because

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I guess it is loaded two time, for the server and client profiles. Try > to set it via dedicated module parameter and see if you get better > memory usage: > > http://kamailio.org/docs/modules/stable/modules/tls.html#ca_list i tried and it turned out that it

Re: [SR-Users] Request-URI in fail route

2012-03-19 Thread Daniel-Constantin Mierla
Hello, for convenience, I extended dispatcher module to be able to give the uri value as parameter to add_diversion() function, see commit: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ef6b531dfaf08476932d44b23c82b94e0f06a86a Maybe you want to try it -- reporting if it

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Daniel-Constantin Mierla
On 3/19/12 10:47 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: Is this by one ca_list only, or do you have many tls domains, each with own profile? just a single ca_list and tls domain. my tls.cfg looks like this: [client:default] verify_certificate = yes require_certificate =

Re: [SR-Users] add_contact_alias and handle_ruri_alias vs fix_nated_contact

2012-03-19 Thread Yufei Tao
Hi Thanks very much for the replies! I'm clear now :) Yufei On 17/03/12 10:56, Juha Heinanen wrote: > Klaus Darilion writes: > >> They achieve both the same. I don't remember the problems anymore which >> caused add_contact_alias() to be implemented. IIRC I think it was that >> some clients did

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Is this by one ca_list only, or do you have many tls domains, each with > own profile? just a single ca_list and tls domain. my tls.cfg looks like this: [client:default] verify_certificate = yes require_certificate = yes tls_method = TLSv1 private_key = /etc/

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Juha Heinanen
as i mentioned, with shared memory of 64MB, sip proxy started fine. however, it failed to send a request over tls: Mar 19 11:21:41 test /usr/sbin/sip-proxy[30293]: INFO: Routing INVITE Mar 19 11:21:41 test /usr/sbin/sip-proxy[30293]: WARNING: [forward.c:268]: WARNING: get_send_socket: protocol

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/19/12 10:03 AM, Juha Heinanen wrote: Daniel-Constantin Mierla writes: is this with default mem size? i would just like to add that once i increased shared memory from 32m to 64m, sip proxy started, but only about 10M was left as free: afaik, the ca_list is loaded by libssl interna

Re: [SR-Users] dns lookup and store IP in avp..

2012-03-19 Thread MingHon
And Klaus.. :) On Mon, Mar 19, 2012 at 4:56 PM, MingHon wrote: > > > On Mon, Mar 19, 2012 at 4:56 PM, MingHon wrote: > >> Thanks Daniel... :) >> >> >> On Mon, Mar 19, 2012 at 4:18 PM, Daniel-Constantin Mierla < >> mico...@gmail.com> wrote: >> >>> Hello, >>> >>> >>> On 3/19/12 8:22 AM, Klaus Dar

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > is this with default mem size? i would just like to add that once i increased shared memory from 32m to 64m, sip proxy started, but only about 10M was left as free: Shared Memory free_size 8510256 max_used_size 58623504 real_use

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > is this with default mem size? sorry, in the test proxy om my laptop i only had 32M of shared memory. when i increased it to 64M, the error message about insufficient memory went away. -- juha ___ SIP Express Router

Re: [SR-Users] dns lookup and store IP in avp..

2012-03-19 Thread MingHon
On Mon, Mar 19, 2012 at 4:56 PM, MingHon wrote: > Thanks Daniel... :) > > > On Mon, Mar 19, 2012 at 4:18 PM, Daniel-Constantin Mierla < > mico...@gmail.com> wrote: > >> Hello, >> >> >> On 3/19/12 8:22 AM, Klaus Darilion wrote: >> >>> No. If you really need it, then you can use exec() and a tool l

Re: [SR-Users] memory allocation failure while reading ca_list

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/19/12 7:57 AM, Juha Heinanen wrote: in tls.cfg, i made ca_list to point to ca-certificates.crt file that comes with debian. when i then started sip router, i got errors Mar 19 08:45:42 test /usr/sbin/sip-proxy[28093]: ERROR: tls [tls_domain.c:447]: TLSc: Unable to load CA list '/e

Re: [SR-Users] message offline store questions...

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/15/12 2:58 PM, Krishna Kurapati wrote: Hi, I am using msilo module to store offline message. I am sending back "202 pending" when the message is stored (m_store) However, when I message delivered (m_dump), how do I inform the sender that the message is successfully delivered? the

Re: [SR-Users] Memory Question

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/15/12 2:17 PM, Klaus Darilion wrote: Hi! Started kamailio with "-m 100 -M 30". Thus I would suspect that every process needs 30MB, and one of the processes needs 30+100Mb as it allocates the shared memory. The further would conclude that the memory will be allocated only once dur

Re: [SR-Users] Settings

2012-03-19 Thread Daniel-Constantin Mierla
Hello, the right mailing list for iptel.org service is: http://lists.iptel.org/mailman/listinfo/services There should be people able to answer the questions. Cheers, Daniel On 3/17/12 3:54 PM, Robert Schleusener wrote: Hello, on the iptel.org website I created an account. Also my own domain

Re: [SR-Users] dns lookup and store IP in avp..

2012-03-19 Thread Daniel-Constantin Mierla
Hello, On 3/19/12 8:22 AM, Klaus Darilion wrote: No. If you really need it, then you can use exec() and a tool like "dig" or "host". apart of exec module functions, another option would be using an embedded language script (Lua/Perl...). Cheers, Daniel regards Klaus On 19.03.2012 03:19, Mi

Re: [SR-Users] dns lookup and store IP in avp..

2012-03-19 Thread Klaus Darilion
No. If you really need it, then you can use exec() and a tool like "dig" or "host". regards Klaus On 19.03.2012 03:19, MingHon wrote: Hi All, is this function available?? http://sourceforge.net/tracker/?func=detail&aid=2687695&group_id=139143&atid=743023