[OpenSIPS-Users] Concerns with 1.x series and new 2.1 Opensips

2015-01-09 Thread John Nash
I have used opensips for load balancing and some border proxy+ NAT+rtpproxy in past and am quite happy with it. Recently I decided to add DB operations (Auth and accounting, routing and dialog into it so that heavy lifting of VOIP network can be given to opensips. I wanted to send call to PBX only

[OpenSIPS-Users] Printing $si in failure route

2015-01-09 Thread John Nash
I just noticed something odd when I print $si to know source IP of failed responses (In failure route) I think its not printing correct address (It works as expected in main routing block). May be its something wrong I am doing which resulted this I just thought I will check with others.

Re: [OpenSIPS-Users] Printing $si in failure route

2015-01-09 Thread John Nash
of the request, not the reply. If you want to print the IP address of the replies, you have to print them in onreply_route[]. Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 01/09/2015 02:26 PM, John Nash wrote: I just noticed something odd when I print $si

Re: [OpenSIPS-Users] Issue in storing Dialog Variables into the Database (Postgresql)

2015-01-06 Thread John Nash
://www.opensips-solutions.com On 28.12.2014 11:37, John Nash wrote: One more update I just now checked dialog parameter modparam(dialog, db_flush_vals_profiles, 1) and used it (Probably i should have used it in a first place) after that I get the error when opensips tries to insert dialog

Re: [OpenSIPS-Users] Issue in storing Dialog Variables into the Database (Postgresql)

2015-01-06 Thread John Nash
OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 28.12.2014 11:37, John Nash wrote: One more update I just now checked dialog parameter modparam(dialog, db_flush_vals_profiles, 1) and used it (Probably i should have used it in a first place) after that I get the error

Re: [OpenSIPS-Users] replace_body function question

2015-01-06 Thread John Nash
On 02.01.2015 17:06, John Nash wrote: Has there been some recent changes to this function? I used this function in version 1.6 fine but now not seem to be working. I am trying very simple .. replace_body_all(^s=xyz\r\n,s=abc\r\n); But it does not work. I tried strip_body() and it worked as expected

Re: [OpenSIPS-Users] General Architecture opinion needed

2015-01-06 Thread John Nash
-solutions.com On 26.12.2014 11:25, John Nash wrote: I am trying to make full SBC using mostly opensips components.The call flow will be like diagram below.. For features like concurrent call limit, call timeout, CDR accounting I will have to use dialog module in main opensips proxy

[OpenSIPS-Users] replace_body function question

2015-01-02 Thread John Nash
Has there been some recent changes to this function? I used this function in version 1.6 fine but now not seem to be working. I am trying very simple .. replace_body_all(^s=xyz\r\n,s=abc\r\n); But it does not work. I tried strip_body() and it worked as expected.

Re: [OpenSIPS-Users] Validate dialog confusion

2014-12-31 Thread John Nash
On 30.12.2014 12:16, John Nash wrote: I was looking at usage of validate_dialog() and saw the following snippet from module documentation page. If you check the else part... as per my understanding if a dialog is not found ($DLG_status) will be NULL) it will go to else part which indicates

Re: [OpenSIPS-Users] Validate dialog confusion

2014-12-31 Thread John Nash
Or may be should try to match_dialog and then relay On Wed, Dec 31, 2014 at 5:57 PM, John Nash john.nash...@gmail.com wrote: OK got it. I also have a situation where I receive BYE from callee which has To tag but no route header. As per default script this request should not be allowed to go

Re: [OpenSIPS-Users] [OpenSIPS-Devel] A Happy New Year

2014-12-31 Thread John Nash
Thank you and same to you. On Wed, Dec 31, 2014 at 10:29 PM, Bogdan-Andrei Iancu bog...@opensips.org wrote: I wish to all of you A Happy New Year ! And I looking forward for a new exciting year for the OpenSIPS project, a year of interesting tasks, important changes and hopefully great

[OpenSIPS-Users] Validate dialog confusion

2014-12-30 Thread John Nash
I was looking at usage of validate_dialog() and saw the following snippet from module documentation page. If you check the else part... as per my understanding if a dialog is not found ($DLG_status) will be NULL) it will go to else part which indicates a message has To tag but dialog not found.

Re: [OpenSIPS-Users] Issue in storing Dialog Variables into the Database (Postgresql)

2014-12-28 Thread John Nash
Billing_|',0,0,NULL,NULL,'sip:98116181@103.255.76.231:1100 ;ob','sip:192.168.112.5:5080;transport=udp') On Fri, Dec 26, 2014 at 1:27 PM, John Nash john.nash...@gmail.com wrote: no it is bytea. I also tried changing it to text but results are same. On Fri, Dec 26, 2014 at 1:21 PM, Bogdan

Re: [OpenSIPS-Users] New Big int dlg_id of dialog table

2014-12-26 Thread John Nash
/docs/modules/1.11.x/dialog.html#id297237 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 26.12.2014 07:10, John Nash wrote: I was just wondering if there is any way to get dlg_id value in a script using some psudo variable. like in earlier

Re: [OpenSIPS-Users] New Big int dlg_id of dialog table

2014-12-26 Thread John Nash
...@opensips.org wrote: It is the same value, but in var is kept ad string representation. Regards, Bogdan Sent from Samsung Mobile Original message From: John Nash Date:26/12/2014 09:59 (GMT+02:00) To: Bogdan-Andrei Iancu Cc: OpenSIPS users mailling list Subject: Re

[OpenSIPS-Users] General Architecture opinion needed

2014-12-26 Thread John Nash
I am trying to make full SBC using mostly opensips components.The call flow will be like diagram below.. For features like concurrent call limit, call timeout, CDR accounting I will have to use dialog module in main opensips proxy. For B2bua if I understand correctly I will have to use another

Re: [OpenSIPS-Users] New Big int dlg_id of dialog table

2014-12-26 Thread John Nash
On 26.12.2014 11:06, John Nash wrote: Hello Bogdan, Probably I did not explain well. I am using OpenSIPS (1.12.0dev-notls (x86_64/linux)) When dialog is created I see the MI command output as ... opensipsctl fifo dlg_list_ctx dialog:: *hash=3028:502141575* state:: 4

[OpenSIPS-Users] New Big int dlg_id of dialog table

2014-12-25 Thread John Nash
I was just wondering if there is any way to get dlg_id value in a script using some psudo variable. like in earlier versions we had $DLG_did ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Issue in storing Dialog Variables into the Database (Postgresql)

2014-12-25 Thread John Nash
a reasonable size constrain for the vars column, right ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 22.12.2014 09:27, John Nash wrote: I am using Opensips with dialog module and using DB as Postgresql. I am using modparam(dialog

[OpenSIPS-Users] Issue in storing Dialog Variables into the Database (Postgresql)

2014-12-21 Thread John Nash
I am using Opensips with dialog module and using DB as Postgresql. I am using modparam(dialog, db_mode, 1). At the time of dialog creation I am also setting values to some dialog variables which I can see with mi fifo commands. My issue is when i run a select query and try to see vars column

<    1   2