[OpenSIPS-Users] append_branch with a new Call-ID

2009-04-23 Thread Ricardo Carvalho
Hi, Is it possible to create a new append_branch forcing openser to create a new Call-ID for that branch? Best regards, Ricardo. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] append_branch with a new Call-ID

2009-04-23 Thread Bogdan-Andrei Iancu
Hi Ricardo, no, it is not possible as callid is the same for the whole call (all messages from all the branches from all transactions of the dialog). Regards, Bogdan Ricardo Carvalho wrote: Hi, Is it possible to create a new append_branch forcing openser to create a new Call-ID for that

Re: [OpenSIPS-Users] doing next priority dialing in case of 504 reply received

2009-04-23 Thread Ricardo Carvalho
It seems like I was doing everithing right, capturing the call sequence with wireshark revealed that a new branch is in fact created, but because this branch keeps the same Call-ID of the initial ENUM call, the second INVITE sent to my telco via the SBC gets automatically refused in the SBC, and

Re: [OpenSIPS-Users] append_branch with a new Call-ID

2009-04-23 Thread Ricardo Carvalho
Thanks Bogdan, I think I'll have to manage this otherway, maybe in the SBC. Regards, Ricardo. On Thu, Apr 23, 2009 at 12:48 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Ricardo, no, it is not possible as callid is the same for the whole call (all messages from all the

[OpenSIPS-Users] NAT and ACK (private IP/domain)

2009-04-23 Thread Julien Chavanton
I have a signaling problem, after connection 200 OK the ACK is not sent correctly and the rest of the signaling as well. Opensips is using the IP in the ACK line instead of the To:, I am wandering how I should handle this ? I-phone (Siphone) : jul...@osip.dev.com mailto:jul...@osip.dev.com

Re: [OpenSIPS-Users] doing next priority dialing in case of 504 reply received

2009-04-23 Thread Ovidiu Sas
On Thu, Apr 23, 2009 at 7:58 AM, Ricardo Carvalho rjcarvalho.li...@gmail.com wrote: It seems like I was doing everithing right, capturing the call sequence with wireshark revealed that a new branch is in fact created, but because this branch keeps the same Call-ID of the initial ENUM call, the

Re: [OpenSIPS-Users] doing next priority dialing in case of 504 reply received

2009-04-23 Thread Bogdan-Andrei Iancu
Hi Ricardo, So, what you say is that the 504 does not trigger the failure route ? Regards, Bogdan Ricardo Carvalho wrote: Thanks Bogdan, I've tried a failure_route with append_branch and t_relay like you told, and in fact it works when the reply of the first call atempt is for example a

Re: [OpenSIPS-Users] doing next priority dialing in case of 504 reply received

2009-04-23 Thread Bogdan-Andrei Iancu
In this case, it is a stupid SBC - it must accept and process branches from the same call.. Regards, Bogdan Ricardo Carvalho wrote: It seems like I was doing everithing right, capturing the call sequence with wireshark revealed that a new branch is in fact created, but because this branch

Re: [OpenSIPS-Users] Opensips, avpops and avp_db_query( ), and pgpool2 -- questions, suggestions, issues

2009-04-23 Thread Bogdan-Andrei Iancu
It is strange, as many people are using the postgres, but is the first time for such a report Have you manage to get some support from the postgres project about this (whne not using pgpool) ? Regards, Bogdan Bobby Smith wrote: From the pgpool2 forums, and after digesting the log files

[OpenSIPS-Users] About daemonizing of opensips

2009-04-23 Thread SAMEER KUMAR
Dear Sir, While running opensips I am facing a problem, I am using -D option but still dont_fork variable is not set to 1. The switch case block that reads the command line arguments sets the dont_fork in main.c to 1 but afterwards before the if condition (where daemonize() call is made) it is

Re: [OpenSIPS-Users] About daemonizing of opensips

2009-04-23 Thread SAMEER KUMAR
Hi Everyone, The problem has been resolved. Actually, the defualt cfg file had fork=1 and hence the yyparse() of that cfg file always reset the dont_fork to 0. Now i am using a saperate cfg file with fork=0. But any advice on multithreading part will be appriciated. Regards, Sameer Kumar

[OpenSIPS-Users] opensips installation issue

2009-04-23 Thread Harendra Pratap Singh
Hi All, I want to use opensips with postgresql when I create a database using the following command it is showing error. /usr/local/sbin/opensipsdbctl create INFO: creating database opensips ... psql: FATAL: no pg_hba.conf entry for host 127.0.0.1, user root, database template1, SSL off

Re: [OpenSIPS-Users] Opensips, avpops and avp_db_query( ), and pgpool2 -- questions, suggestions, issues

2009-04-23 Thread Bobby Smith
From the pgpool2 forums, and after digesting the log files between postgres, pgpool2, and opensips, I was wondering if this is a possibility? It seems only to happen cyclically every few hours as described below. Also, I'll work on getting you the gdb trace when the child gets stuck on the query

Re: [OpenSIPS-Users] NAT and ACK (private IP/domain)

2009-04-23 Thread Bogdan-Andrei Iancu
HI Julian, The ACK will be routed based on Route + RURI info. Route hdr made the ACK to get to .201 and the RURI will continue to .71. The RURI from ACK is taken from the Contact hdr of the 200 OK reply. AMybe posting the whole stuff (INVITE+200 OK + ACK) will make things easier. Regards,

[OpenSIPS-Users] CDR Tools

2009-04-23 Thread Darren Sessions
Is using freeradius a requirement with CDRTools? or can I use DB access for everything? If so, how do I go about that or can someone point me in the right direction? I've got CDRTools up and running btw with the Freeradius server, it just seems a bit of an extra component when I've got the

Re: [OpenSIPS-Users] opensips installation issue

2009-04-23 Thread Uwe Kastens
Hi, You can login to the database as user postgres not root in default configuration... BR Uwe Harendra Pratap Singh schrieb: Hi All, I want to use opensips with postgresql when I create a database using the following command it is showing error.

Re: [OpenSIPS-Users] NAT and ACK (private IP/domain)

2009-04-23 Thread Julien Chavanton
Right, in the 200 OK request the Contact as the private IP address. I register with a domain name so I guess the same domain name as to be set in Contact so I was expecting : - Contact: sip:7...@10.0.1.71:33802;rinstance=8572c408a8cc28e3. should be replaced by : - Contact:

Re: [OpenSIPS-Users] db_url when using db_oracle module

2009-04-23 Thread Noel R. Morais
I've tried the follow db_url: oracle://user:passw...@ipaddress but I'm getting the follow error module db_oracle does not export db_use_table function ... follow bellow the logs Apr 23 15:35:33 lab7 /usr/local/sbin/opensips[15930]: NOTICE:core:main: version: opensips 1.5.1-notls

[OpenSIPS-Users] OpenSIPS Control Panel

2009-04-23 Thread Michael Ciupka
Hello, i have a problem with the OpenSIPS Control Panel. When i start the webinterface and click into the menue dialplan there shows Could not connect to MySQL Server: Access denied for user 'root'@'localhost' (using password: YES) but i never configure the mysql file from opensips control

Re: [OpenSIPS-Users] NAT and ACK (private IP/domain)

2009-04-23 Thread Julien Chavanton
I understand a concept I was missing, once record_route() is called I have to do a if(loose_route()){ route(x); } I was trying to route it again using is_uri_host_local() and lookup(location) but is_uri_host_local() was failing because the domain name was replaced by an IP address. I

Re: [OpenSIPS-Users] OpenSIPS Control Panel

2009-04-23 Thread Bogdan-Andrei Iancu
Hi Michael, check this http://opensips-cp.sourceforge.net/htmldoc/dialplan.html . You need to set the proper DB info in opensips-cp/config/tools/dialplan/db.inc.php Regards, Bogdan* * Michael Ciupka wrote: Hello, i have a problem with the OpenSIPS Control Panel. When i start the

Re: [OpenSIPS-Users] OpenSIPS Control Panel

2009-04-23 Thread Bogdan-Andrei Iancu
Hi Michael, This because the SIPTRACE tool requires the XMLRPC interfacing with opensips . So be sure the mi_xmlrpc module is connected and in boxes.global.inc.php (see http://opensips-cp.sourceforge.net/htmldoc/Configuration.html#1) you have correctly set $boxes[$box_id]['mi']['conn'] to

[OpenSIPS-Users] OpenSIPS Control Panel

2009-04-23 Thread Michael Ciupka
Hello Bogdan, i have configure the opensips-mi-proxy so: listen_url = http://192.168.2.6:8080 xmlrpc_root = RPC2 trusted = any reply_option = string is this correct? Regards Michael ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Trying to get TLS working with OpenSips 1.5

2009-04-23 Thread Bogdan-Andrei Iancu
Hi Anil, Typical error cases: - the private key file does not exist or you do not have permission to read that file - the private key file is not in PEM (base64 encoded) format. - if the private key file is encrypted, the password is not correct or no password was provided - if you

Re: [OpenSIPS-Users] drounting and db_oracle: db_oracle module seems to be never loaded

2009-04-23 Thread Noel R. Morais
Sure but by the logs the module seems to be loaded but there are some errors with it: Apr 23 17:13:23 lab7 /usr/local/sbin/opensips[20350]: NOTICE:core:main: version: opensips 1.5.1-notls (i386/linux) Apr 23 17:13:23 lab7 /usr/local/sbin/opensips[20350]: INFO:core:main: using 32 Mb shared

[OpenSIPS-Users] OpenSIPS Control Panel

2009-04-23 Thread Michael Ciupka
Hello, thank you i have resolve the problem. I can connect to the mysql DB. Can you please help me to configure the boxes.global.inc.php correctly. I have read the documentation but by this part i dont know what i must write: can you help me to set the variables correctly? because when i click

Re: [OpenSIPS-Users] mediaproxy and reinvites

2009-04-23 Thread Dan Pascu
On Thursday 23 April 2009, Uwe Kastens wrote: Hello list, sorry for the not very specific question, but I am trying to find out, how to handle REINVITE with mediaproxy correctly. If I have a call with T38 its common that UAs will start with a codec ALAW/ULAW and changes later on to T38. My

Re: [OpenSIPS-Users] drounting and db_oracle: db_oracle module seems to be never loaded

2009-04-23 Thread Noel R. Morais
Hi Bogdan, I thought that it could be something related to the instantclient version since I'm using the last release. I've changed the instantclient to 10.2.0.3 (recommended by the module) and I'm getting the same error Thanks, Noel On Thu, Apr 23, 2009 at 5:35 PM, Noel R. Morais

Re: [OpenSIPS-Users] mediaproxy and reinvites

2009-04-23 Thread Uwe Kastens
Dan, If I will receive an INVITE without totag I will use engage_media_proxy();. What is the correct way to handle the new rtp session. End the current media_proxy_session and start a new one, or should I engage another media_proxy_session? If you use engage_media_proxy(), you need to do

[OpenSIPS-Users] Presence Problem

2009-04-23 Thread John Skast
I'm using Opensips 1.5.1-nontls and openxcap 1.1.0. But, my presence has some problems, its slow some times and I don`t know why. My opensips.cfg: http://pastebin.com/m1d41b3e2 Thanks, John Veja quais são os assuntos do momento no Yahoo! +Buscados

[OpenSIPS-Users] Call to users.

2009-04-23 Thread John Skast
I`m using OpenSips 1.5.1-nontls with mediaproxy 2.3.4. I don`t know why media-proxy doesnt work right, I doenst see any error, but my users can call to another users, my client receive the call, answer, but no audio. opensips.cfg: http://pastebin.com/m1d41b3e2 My mediaproxy-relay: Added new