[OpenSIPS-Users] How to calculate branch parameter in VIA

2010-07-09 Thread Alireza6918
I don't know how Opensips calculates branch parameter in VIA header field. I know the first 7 characters "z9hG4bK" are magic cookie but don't know about the rest. for example in following: Via: SIP/2.0/UDP 192.168.10.139;branch=z9hG4bK-2740-1-0..Via: SIP/2.0/UDP 192.168.10.206:5060;branch=z9hG

Re: [OpenSIPS-Users] [OpenSIPS-Devel] New OpenXCAP release 1.2.1

2010-07-09 Thread CheeWii
Hi Adrian, What you said is really the existing problem. Because without http_proxy, I cannot connect to W3C.org. This morning,I move my PC to another place, where it can connet to w3c directly ,need not any http_proxy. Then SIPSIMPLEClient and OpenXCAP interoperate successfully! Tha

Re: [OpenSIPS-Users] permission module problem

2010-07-09 Thread k1028
This happen to me before when i have a space at the end of the ip address inserted into the database. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/permission-module-problem-tp5273775p5276518.html Sent from the OpenSIPS - Users mailing list archive at Na

Re: [OpenSIPS-Users] issue with trusted addresses listed with grp=0

2010-07-09 Thread Andrew Pogrebennyk
Hello Bogdan, Thanks for getting back to me. Two things: 1) I have bumped param_no for function get_source_group from 0 to 1 to get it running. 2) Now I am getting the "invalid operation 20/3/4" error - maybe opensips doesn't assume automatically that the variable is int: Jul 9 17:33:29 dev0

Re: [OpenSIPS-Users] 1.6.3 release

2010-07-09 Thread duane . larson
Would this be the last 1.6 release before 2.0? Just curious. On Jul 9, 2010 1:18pm, Bogdan-Andrei Iancu wrote: Hi, The plan is to release 1.6.3 stable release at the end of next week - if anyone has any contributions to come up with or any issues to report, please do it asap - we

[OpenSIPS-Users] 1.6.3 release

2010-07-09 Thread Bogdan-Andrei Iancu
Hi, The plan is to release 1.6.3 stable release at the end of next week - if anyone has any contributions to come up with or any issues to report, please do it asap - we want to be sure that all know issues will be fixed by the release. Regards, Bogdan -- Bogdan-Andrei Iancu OpenSIPS Bootca

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Bogdan-Andrei Iancu
In SIP requests there are 2 ways to define the "expires" val for a contact : a global one, via the "Expires" header or a local one, via the "expires" parameter for Contact hdr. So, each device may choose one of these options, not necessarily defining boththat's way you see the $ct.fields(ex

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Bogdan-Andrei Iancu
Hi Premalatha Kuppan wrote: > Thanks Bogdan. > > It was throwing me errors. > Now i used the following to check de-registration. It works. > > if( is_present_hf("Expires") && $(hdr(Expires){s.int })==0) > > BTW, how to differentiate registration and RE-registration request ? That is

Re: [OpenSIPS-Users] uac_replace_from not restoring displayname

2010-07-09 Thread Bogdan-Andrei Iancu
Hi Erik, For original INVITE: create_dialog(); $dlg_val(org_display) = $fn; uac_replace_from(); For sequential requests, after doing loose_route, do: if ( $DLG_status!=NULL && $dlg_val(org_display)!=NULL ) uac_replace_from("$dlg_val(org_display)",""); Regar

Re: [OpenSIPS-Users] issue with trusted addresses listed with grp=0

2010-07-09 Thread Bogdan-Andrei Iancu
Hi Andrew, Indeed there is design bug - a script function returning 0 will break the script execution ; so if the group found by get_source_group() is zero, when returning the val, the script execution will end I change the way you use the function - instead of using the return code for g

Re: [OpenSIPS-Users] permission module problem

2010-07-09 Thread Bogdan-Andrei Iancu
Hi Jayesh, Could you post the exact content of the "address" table ? Do a "select * from address" . Regards, Bogdan Jayesh Nambiar wrote: > Hi All, > I am trying to use the permission module and test the address > functions. But whenever I try to start opensips I get the following error: > ER

Re: [OpenSIPS-Users] Opensips:force to use FQDN

2010-07-09 Thread mehdi boudou
Hello, I found the function record_route_preset("FQDN:port") which is ok for my request. Regards, Mehdi BOUDOU ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Opensips:force to use FQDN

2010-07-09 Thread Bogdan-Andrei Iancu
Hi Mehdi, record routing with FQDN is a bit brain damage and opensips is not doing it by default - if you want to place a custom record route hdr, use the record_route_preset() function - see: http://www.opensips.org/html/docs/modules/1.6.x/rr.html#id228590 Regards, Bogdan mehdi boudou wro

Re: [OpenSIPS-Users] re : Question about B2BUA modules..

2010-07-09 Thread Anca Vamanu
NVITE w/ SDP (1) > UE-A > > -> > <200 OK w/SDP > > > ACK---> > > > ACK---> > <-NOTIFY > > thanks in advance for your help,

Re: [OpenSIPS-Users] Mediaproxy exceptions.NameError: global name 'all' is not defined

2010-07-09 Thread Saúl Ibarra Corretgé
> When did this become a requirement in mediaproxy ? the ag-projects site > suggests 2.4 is suitable ? After release 2.4.0 or 2.4.2 it became a requirement. I can't find any reference about the Python version on our website, could you tell me where you read it? We did update the INSTALL file,

Re: [OpenSIPS-Users] re : Question about B2BUA modules..

2010-07-09 Thread jignesh gandhi
> ACK---> > <-----NOTIFY > > thanks in advance for your help, > --Jignesh -- next part -- An HTML attachment was scrubbed... URL: http://lists.opensips.org/pipermail/users/attachments/20100709/7df1c308/attachment-0001.htm ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Opensips:force to use FQDN

2010-07-09 Thread mehdi boudou
Hello, When the Opensips server answer to the S-CSCF in the record route, he answer with IP adresse and not with his FQDN even i defined "listen=FQDN" How can I do to force Opensips Server to use FQDN in his answer and not his IP Adresse ? Thanks for suggestions. Regards, Mehdi BOUDOU ___

Re: [OpenSIPS-Users] Mediaproxy exceptions.NameError: global name 'all' is not defined

2010-07-09 Thread Ross McKillop
On 9 Jul 2010, at 13:30, Saúl Ibarra Corretgé wrote: >> I am getting the intermittent errors below from Mediaproxy2.4.2 installed as >> per the instructions at >> http://www.smartvox.co.uk/serfaq_install_mediaproxy2.htm >> >> I understand the global name 'all' is not defined error to be caused

Re: [OpenSIPS-Users] Registration expiration doesn't decrease usrloc:registered_users

2010-07-09 Thread mayamatakeshi
Thanks, Bogdan, I tested and it looks fine now. I will do load tests and report any problems. regards, takeshi On Fri, Jul 9, 2010 at 5:17 PM, Bogdan-Andrei Iancu wrote: > FIXED, please update from SVN. > > Regards, > Bogdan > > Bogdan-Andrei Iancu wrote: > > Hi, > > > > indeed, I was able to re

Re: [OpenSIPS-Users] Mediaproxy exceptions.NameError: global name 'all' is not defined

2010-07-09 Thread Saúl Ibarra Corretgé
Hi, On 09/07/10 12:38, Ross McKillop wrote: > I am getting the intermittent errors below from Mediaproxy2.4.2 installed as > per the instructions at > http://www.smartvox.co.uk/serfaq_install_mediaproxy2.htm > > I understand the global name 'all' is not defined error to be caused either > by th

[OpenSIPS-Users] Mediaproxy exceptions.NameError: global name 'all' is not defined

2010-07-09 Thread Ross McKillop
I am getting the intermittent errors below from Mediaproxy2.4.2 installed as per the instructions at http://www.smartvox.co.uk/serfaq_install_mediaproxy2.htm I understand the global name 'all' is not defined error to be caused either by the wrong version of python or ctypes not being installed (

[OpenSIPS-Users] permission module problem

2010-07-09 Thread Jayesh Nambiar
Hi All, I am trying to use the permission module and test the address functions. But whenever I try to start opensips I get the following error: ERROR:permissions:reload_address_table: database problem Jul 9 10:19:11 [10964] DBG:core:db_allocate_rows: allocate 272 bytes for result rows and values

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Premalatha Kuppan
Also, $ct.fields(expires) is always null xlog(" contact expires=$ct.fields(expires) ; header expires = $hdr(Expires) \n"); * OUTPUT:* During Registration: contact expires= ; header expires =1800 During De-Registration: contact expires= ; header expires = 0 On Fri, Jul 9, 2010

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Premalatha Kuppan
Thanks Bogdan. It was throwing me errors. Now i used the following to check de-registration. It works. if( is_present_hf("Expires") && $(hdr(Expires){s.int})==0) BTW, how to differentiate registration and RE-registration request ? On Fri, Jul 9, 2010 at 1:01 PM, Bogdan-Andrei Iancu wrote: > Tr

Re: [OpenSIPS-Users] Registration expiration doesn't decrease usrloc:registered_users

2010-07-09 Thread Bogdan-Andrei Iancu
FIXED, please update from SVN. Regards, Bogdan Bogdan-Andrei Iancu wrote: > Hi, > > indeed, I was able to reproduce the error - I will work for a fix. > > Thanks for reporting, > Bogdan > > mayamatakeshi wrote: > >> On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu >> mailto:bog...@voice-sy

Re: [OpenSIPS-Users] re : Question about B2BUA modules..

2010-07-09 Thread Anca Vamanu
Hi Jignesh, This scenario will work with the B2BUA component if you use the refer scenario, but you have to put the B2BUA in the middle of the call from the beginning (the call where the REFER is received, in your example from UE-C to UE-B), it is not possible othervise for it to send a reInv

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Bogdan-Andrei Iancu
Try: xlog(" contact expire=$ct.fields(expires) ; header expire = $hdr(Expires) \n"); if ($ct.fields(expires)) == '0' || $hdr(Expires)=="0") xlog("L_ERR", "De-registration\n"); Regards, Bogdan Premalatha Kuppan wrote: > I couldn't understand. > > I used

Re: [OpenSIPS-Users] Registration expiration doesn't decrease usrloc:registered_users

2010-07-09 Thread Bogdan-Andrei Iancu
Hi, indeed, I was able to reproduce the error - I will work for a fix. Thanks for reporting, Bogdan mayamatakeshi wrote: > > > On Wed, Jul 7, 2010 at 2:29 AM, Bogdan-Andrei Iancu > mailto:bog...@voice-system.ro>> wrote: > > Hi, > > what db_mode are you using for usrloc? > > > Hi Bogdan,

Re: [OpenSIPS-Users] URI PARSING

2010-07-09 Thread Premalatha Kuppan
I couldn't understand. I used $ct.fields(expires). if ($ct.fields(expires)) == '0') xlog("L_ERR", "De-registration\n"); else perform some operation exit; But its not working though. I want to differentiate register and de-register SIP request.