Re: [OpenSIPS-Users] B2BUA Transfers Intermittently Working/Not Working (Bug?)

2010-10-19 Thread Brett Woollum
Hello again Anca, I've done more debugging, and I've found that the REFER packets are all targeting my B2BUA address and getting a 404 response. It seems to still be working, but I'm wondering if this is what is causing the problem after the 2nd transfer. In my log at

Re: [OpenSIPS-Users] 503 Server address has exceeded max calls in flight 75

2010-10-19 Thread Anca Vamanu
Hi, On 10/18/2010 09:57 PM, thrillerbee wrote: Occasionally, I'm receiving a '503 Server address has exceed max calls in flight 75' from the b2bua opensips instance. There is no such reply sent by OpenSIPS b2bua.. Regards, -- Anca Vamanu www.voice-system.ro What does this indicate?

Re: [OpenSIPS-Users] B2BUA Transfers Intermittently Working/Not Working (Bug?)

2010-10-19 Thread Anca Vamanu
Hi Brett, No, you needn't add anything else in your configuration file except for the b2b_init_request for the initial Invite and the B2BUA should know to handle the REFER that comes inside that dialog. What happens is the the B2BUA does not find a matching dialog for that REFER message .. I

Re: [OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-19 Thread Anca Vamanu
Hi David, On 10/18/2010 05:29 PM, David Santiago wrote: Hi again, I have made several changes to the script so that I can successfully add, for instance, a custom header to the INVITE request that the b2bua generates after receiving an external one. I'm doing it in a local_route block which

Re: [OpenSIPS-Users] Using b2bua top hiding plus dispatcher module

2010-10-19 Thread David Santiago
Hi Anca, I have finally been able to eliminate the loop and get the INVITEs being sent to the internal jain slee server by doing a rewritehostport before the b2b_init_request: ... rewritehostport(10.253.22.143:5060); b2b_init_request(top hiding); ... This way, the INVITE generated by the b2bua

[OpenSIPS-Users] How to printout certain variables?

2010-10-19 Thread Dmitry Kravchenko
Hi! Is there a way to printout (with xlog) certain variables, like myself, uri, msg:len and so on? I have tried the following ways, but failed: #xlog(L_NOTICE, DIMS: uri ( + $uri + ) == myself ( + $myself + block...); #xlog(L_NOTICE, DIMS: uri ( + uri + ) == myself ( + myself

[OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
I would like to try to use SIP ALG option turned on on routers. But I found, that these gateways sometimes forget to change Content-Length header while changing a content (for examle, changing an IP address). So, is it possible to fix content length with opensips script? Thanks.

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Anca Vamanu
Hi, Yes, use remove_hf and append_hf from textops module - http://www.opensips.org/html/docs/modules/1.6.x/textops.html, and to get the length use the string transformation s.len -http://www.opensips.org/Resources/DocsCoreTran#toc2. Regards, -- Anca Vamanu www.voice-system.ro PS: Don't

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
2010/10/19 Anca Vamanu a...@opensips.org: Yes, use remove_hf and append_hf from textops module - http://www.opensips.org/html/docs/modules/1.6.x/textops.html, and to get the length use the string transformation s.len -http://www.opensips.org/Resources/DocsCoreTran#toc2. Thank you! And how to

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Anca Vamanu
On 10/19/2010 04:14 PM, Dmitry Kravchenko wrote: 2010/10/19 Anca Vamanua...@opensips.org: Yes, use remove_hf and append_hf from textops module - http://www.opensips.org/html/docs/modules/1.6.x/textops.html, and to get the length use the string transformation s.len

Re: [OpenSIPS-Users] How to printout certain variables?

2010-10-19 Thread Anca Vamanu
Hi, Those values - uri and myself can only be used for comparisons/tests, you can not print them. The uri is the same as $ru so you can print that and myself is the list of local IP addresses, hostnames and DNS names( if you have auto_aliases=yes) and aliases ( set with the alias parameter

Re: [OpenSIPS-Users] How to printout certain variables?

2010-10-19 Thread Dmitry Kravchenko
Hi! Those values - uri and myself can only be used for comparisons/tests, you can not print them. But why??? Who invented this quark gluon plasma?? The uri is the same as $ru so you can print that and myself is the list of local IP addresses, hostnames  and DNS names( if you have

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
2010/10/19 Anca Vamanu a...@opensips.org: On 10/19/2010 04:14 PM, Dmitry Kravchenko wrote: 2010/10/19 Anca Vamanua...@opensips.org: Yes, use remove_hf and append_hf from textops module - http://www.opensips.org/html/docs/modules/1.6.x/textops.html, and to get the length use the string

Re: [OpenSIPS-Users] How to printout certain variables?

2010-10-19 Thread Max Mühlbronner
Hi, you could use the pseudo variable $ml (*$ml* - reference to SIP message length ). or if needed: $cl (content-length header) Hope this helps. Max M. Am 19.10.2010 15:48, schrieb Dmitry Kravchenko: Hi! Those values - uri and myself can only be used for comparisons/tests, you can

Re: [OpenSIPS-Users] How to printout certain variables?

2010-10-19 Thread Brett Nemeroff
On Tue, Oct 19, 2010 at 8:48 AM, Dmitry Kravchenko dimskr...@gmail.comwrote: Those values - uri and myself can only be used for comparisons/tests, you can not print them. But why??? Who invented this quark gluon plasma?? The uri is the same as $ru so you can print that and myself is

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
2010/10/19 Anca Vamanu a...@opensips.org: On 10/19/2010 04:14 PM, Dmitry Kravchenko wrote: Thank you! And how to get access to content string? With $rb pseudo variable (http://www.opensips.org/Resources/DocsCoreVar#toc58). I found that $(rb{s.len}) mistakes by 2. Is it always so? Thanks.

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
I wrote in the following way: route{ if (!mf_process_maxfwd_header(10)) { sl_send_reply(483,Too Many Hops); exit; } # DIMS fixing wrong content length (due to SIP ALG) $var(actlen)=$(rb{s.len})-2; if( $var(actlen)0

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Raúl Alexis Betancor Santana
On Martes 19 Octubre 2010 17:47:43 Dmitry Kravchenko escribió: I wrote in the following way: I advise you, don't try to fix SIP-ALG 'fixed' request, you will NEVER, EVER get to the right way. If you have SIP-ALG enabled routers, just change them or disable SIP-ALG. Best regards -- Raúl

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
But doesn't all modern routers are equipped with SIP ALG and condsequently it is unportable to require it being OFF? 2010/10/19 Raúl Alexis Betancor Santana r...@dimension-virtual.com: On Martes 19 Octubre 2010 17:47:43 Dmitry Kravchenko escribió: I wrote in the following way: I advise you,

[OpenSIPS-Users] Problems with goes_to_gw Drouting

2010-10-19 Thread Sven Schulz
Using opensips 1.6.3 SVN # 7282 I noticed that if I have a gateway defined in the dr_gateways tables as a hostname, the goes_to_gw function never works (it gets skipped). But if I change that hostname to an IP address, the function works properly. Is this how its supposed to function or is it a

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Raúl Alexis Betancor Santana
On Martes 19 Octubre 2010 18:24:24 Dmitry Kravchenko escribió: But doesn't all modern routers are equipped with SIP ALG and condsequently it is unportable to require it being OFF? On most models, SIP-ALG is disabled by default, because it simply doesn't work. Check here for a list them:

[OpenSIPS-Users] Force ENUM to Query IP:Port

2010-10-19 Thread logan
Hello, I'd like to know if there is a way to have the enum module query a specific IP and port for lookups. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Dmitry Kravchenko
I have D-Link DIR-615. It's not in the list but SIP ALG is on by default. My friend has the Linksys, not in the list. 2010/10/19 Raúl Alexis Betancor Santana r...@dimension-virtual.com: On Martes 19 Octubre 2010 18:24:24 Dmitry Kravchenko escribió: But doesn't all modern routers are equipped

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Vallimamod ABDULLAH
Hello Dmitry, You can also try to change the port number opensips is listening to. Sometimes, you can fool these smart routers and bypass the ALG by using a non standard port... -- Regards, Vallimamod Abdullah . On Oct 19, 2010, at 9:08 PM, Dmitry Kravchenko wrote: I have D-Link DIR-615.

Re: [OpenSIPS-Users] How to fix Content-Length header?

2010-10-19 Thread Raúl Alexis Betancor Santana
On Martes 19 Octubre 2010 20:08:11 Dmitry Kravchenko escribió: I have D-Link DIR-615. It's not in the list but SIP ALG is on by default. My friend has the Linksys, not in the list. Off course, not all models that have SIP ALG are on the list, it's a wiki, you could add them. -- Raúl Alexis

[OpenSIPS-Users] TLS support

2010-10-19 Thread Ting Sun
Hi, everyone, I am configuring OPENSIPS for TLS support. When I want to generate tls_certificate, tls_private_key and tls_ca_list, it seems that request.conf is missing. I don't have this file and don't know what it's for. Does anyone have the information about the this file and how I can get