Re: [OpenSIPS-Users] Broken links in opensips-cp

2017-02-16 Thread Vincent DOCQUOIS
Hi Bogdan and Răzvan,

It was set in /etc/php5/apache2/php.ini but my php binaries did not point on it 
which explains the issue.
I have reinstalled php5 and all is fine now.

Thank you for your support

Vincent


> Le 16 févr. 2017 à 11:30, Vincent DOCQUOIS  a 
> écrit :
> 
> Hi Bogdan,
> 
> yes, you can find attached my /etc/php5/apache2/php.ini (which is almost the 
> default one)
> 
> I have just restarted apache2 service again and nothing has changed (Note 
> that I am on Debian 8)
> 
> I will try to uninstall/reinstall all php5 packages to see
> 
> Regards
> 
> Vincent
> 
> 
> 
>> Le 16 févr. 2017 à 10:44, Bogdan-Andrei Iancu > > a écrit :
>> 
>> Hi Vincent,
>> 
>> are you sure you enabled "short_open_tag = On ;" in your php.ini ( 
>> /etc/php5/apache2/php.ini ) and restarted apache/httpd service ?
>> 
>> Regards,
>>  Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com 
>> On 02/15/2017 06:08 PM, Vincent DOCQUOIS wrote:
>>> Hi Răzvan,
>>> 
>>> Thank you for your answer. Here are the error I get in Apache logs :
>>> 
>>> [Wed Feb 15 14:50:15.058415 2017] [:error] [pid 24973] [client 
>>> 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_setid in 
>>> /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php
>>>  on line 58, referer: http://10.220.1.82/cp/menu.php 
>>> 
>>> [Wed Feb 15 14:50:15.058431 2017] [:error] [pid 24973] [client 
>>> 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_dest in 
>>> /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php
>>>  on line 59, referer: http://10.220.1.82/cp/menu.php 
>>> 
>>> [Wed Feb 15 14:50:15.058438 2017] [:error] [pid 24973] [client 
>>> 10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_descr in 
>>> /var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php
>>>  on line 60, referer: http://10.220.1.82/cp/menu.php 
>>> 
>>> 
>>> I am not familiar with web environment then I don't know how these 
>>> variables are supposed to be defined
>>> 
>>> Here is my dispatcher table data (set_id=1)
>>> 
>>> 1   1   sip:10.230.1.83:5060  
>>> sip:10.230.1.82:5060  0   1   0   
>>> Server1
>>> 4   1   sip:10.230.1.99:5060  
>>> sip:10.230.1.82:5060  2   1   0   
>>> Server2
>>> 
>>> These 2 lines are correctly displayed in opensips-cp but "edit" and 
>>> "delete" are not available
>>> 
>>> Regards
>>> 
>>> vincent
>>> 
 Le 15 févr. 2017 à 16:05, Răzvan Crainea > a écrit :
 
 Hi, Vincent!
 
 Are you seeing any errors in your apache logs?
 
 Best regards,
 Răzvan Crainea
 OpenSIPS Solutions
 www.opensips-solutions.com 
 On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote:
> Hi all,
> 
> Hi all,
> 
> I am using Opensips 2.2 without any problem, I just have issues with 
> opensips-cp (the latest sources get from git repo).
> 
> I have configured it according to the documentation and the dialog, 
> dynamic routing, siptrace are working fine. However, "edit" and "delete" 
> buttons are missing in dispatcher and dialplan sections.
> For example in dispatcher section, I can see this message : "Memory 
> State'); } ?> '.$state_link.''; echo ''; echo ''; } ?> '.$state_link.''; 
> echo ''; echo ''; } ?>" and I get '.$edit_link.' and '.$delete_link.' in 
> columns.
> 
> I have configured it the same way as the other modules and short_open_tag 
> = On in php.ini. I have no more idea to fix this problem, could you help 
> me please
> 
> Thank you
> 
> Vincent
> 
> 
> ___
> Users mailing list
> Users@lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
> 
 
>>> 
>>> 
>>> 
>>> ___
>>> Users mailing list
>>> Users@lists.opensips.org 
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
>>> 
>> 
>> ___
>> Users mailing list
>> Users@lists.opensips.org 
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Broken links in opensips-cp

2017-02-16 Thread Bogdan-Andrei Iancu

Hi Vincent,

are you sure you enabled "short_open_tag = On ;" in your php.ini ( 
/etc/php5/apache2/php.ini ) and restarted apache/httpd service ?


Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02/15/2017 06:08 PM, Vincent DOCQUOIS wrote:

Hi Răzvan,

Thank you for your answer. Here are the error I get in Apache logs :

[Wed Feb 15 14:50:15.058415 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_setid in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 58, referer: http://10.220.1.82/cp/menu.php
[Wed Feb 15 14:50:15.058431 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_dest in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 59, referer: http://10.220.1.82/cp/menu.php
[Wed Feb 15 14:50:15.058438 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_descr in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 60, referer: http://10.220.1.82/cp/menu.php


I am not familiar with web environment then I don't know how these 
variables are supposed to be defined


Here is my dispatcher table data (set_id=1)

11sip:10.230.1.83:5060sip:10.230.1.82:5060010Server1
41sip:10.230.1.99:5060sip:10.230.1.82:5060210Server2

These 2 lines are correctly displayed in opensips-cp but "edit" and 
"delete" are not available


Regards

vincent

Le 15 févr. 2017 à 16:05, Răzvan Crainea > a écrit :


Hi, Vincent!

Are you seeing any errors in your apache logs?

Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote:

Hi all,

Hi all,

I am using Opensips 2.2 without any problem, I just have issues with 
opensips-cp (the latest sources get from git repo).


I have configured it according to the documentation and the dialog, 
dynamic routing, siptrace are working fine. However, "edit" and 
"delete" buttons are missing in dispatcher and dialplan sections.
For example in dispatcher section, I can see this message : "Memory 
State'); } ?> '.$state_link.''; echo ''; echo ''; } ?> 
'.$state_link.''; echo ''; echo ''; } ?>" and I get '.$edit_link.' 
and '.$delete_link.' in columns.


I have configured it the same way as the other modules and 
short_open_tag = On in php.ini. I have no more idea to fix this 
problem, could you help me please


Thank you

Vincent


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Broken links in opensips-cp

2017-02-15 Thread Vincent DOCQUOIS
Hi Răzvan,

Thank you for your answer. Here are the error I get in Apache logs :

[Wed Feb 15 14:50:15.058415 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_setid in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 58, referer: http://10.220.1.82/cp/menu.php
[Wed Feb 15 14:50:15.058431 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_dest in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 59, referer: http://10.220.1.82/cp/menu.php
[Wed Feb 15 14:50:15.058438 2017] [:error] [pid 24973] [client 
10.220.1.254:52170] PHP Notice:  Undefined index: dispatcher_descr in 
/var/www/opensips-cp/web/tools/system/dispatcher/template/dispatcher.main.php 
on line 60, referer: http://10.220.1.82/cp/menu.php 


I am not familiar with web environment then I don't know how these variables 
are supposed to be defined

Here is my dispatcher table data (set_id=1)

1   1   sip:10.230.1.83:5060sip:10.230.1.82:50600   1   
0   Server1
4   1   sip:10.230.1.99:5060sip:10.230.1.82:50602   1   
0   Server2

These 2 lines are correctly displayed in opensips-cp but "edit" and "delete" 
are not available

Regards

vincent

> Le 15 févr. 2017 à 16:05, Răzvan Crainea  a écrit :
> 
> Hi, Vincent!
> 
> Are you seeing any errors in your apache logs?
> 
> Best regards,
> Răzvan Crainea
> OpenSIPS Solutions
> www.opensips-solutions.com 
> On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote:
>> Hi all,
>> 
>> Hi all,
>> 
>> I am using Opensips 2.2 without any problem, I just have issues with 
>> opensips-cp (the latest sources get from git repo).
>> 
>> I have configured it according to the documentation and the dialog, dynamic 
>> routing, siptrace are working fine. However, "edit" and "delete" buttons are 
>> missing in dispatcher and dialplan sections.
>> For example in dispatcher section, I can see this message : "Memory State'); 
>> } ?> '.$state_link.''; echo ''; echo ''; } ?> '.$state_link.''; echo ''; 
>> echo ''; } ?>" and I get '.$edit_link.' and '.$delete_link.' in columns.
>> 
>> I have configured it the same way as the other modules and short_open_tag = 
>> On in php.ini. I have no more idea to fix this problem, could you help me 
>> please
>> 
>> Thank you
>> 
>> Vincent
>> 
>> 
>> ___
>> Users mailing list
>> Users@lists.opensips.org 
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
>> 
> 

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Broken links in opensips-cp

2017-02-15 Thread Răzvan Crainea

Hi, Vincent!

Are you seeing any errors in your apache logs?

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 02/15/2017 04:00 PM, Vincent DOCQUOIS wrote:

Hi all,

Hi all,

I am using Opensips 2.2 without any problem, I just have issues with 
opensips-cp (the latest sources get from git repo).


I have configured it according to the documentation and the dialog, 
dynamic routing, siptrace are working fine. However, "edit" and 
"delete" buttons are missing in dispatcher and dialplan sections.
For example in dispatcher section, I can see this message : "Memory 
State'); } ?> '.$state_link.''; echo ''; echo ''; } ?> 
'.$state_link.''; echo ''; echo ''; } ?>" and I get '.$edit_link.' and 
'.$delete_link.' in columns.


I have configured it the same way as the other modules and 
short_open_tag = On in php.ini. I have no more idea to fix this 
problem, could you help me please


Thank you

Vincent


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Broken links in opensips-cp

2017-02-15 Thread Vincent DOCQUOIS
Hi all,

I am using Opensips 2.2 without any problem, I just have issues with 
opensips-cp (the latest sources get from git repo).

I have configured it according to the documentation and the dialog, dynamic 
routing, siptrace are working fine. However, "edit" and "delete" buttons are 
missing in dispatcher and dialplan sections. See a screen capture below



I have configured it the same way as the other modules and short_open_tag = On 
in php.ini. I have no more idea to fix this problem, could you help me please

Thank you

Vincent___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Broken links in opensips-cp

2017-02-15 Thread Vincent DOCQUOIS
Hi all,

Hi all,

I am using Opensips 2.2 without any problem, I just have issues with 
opensips-cp (the latest sources get from git repo).

I have configured it according to the documentation and the dialog, dynamic 
routing, siptrace are working fine. However, "edit" and "delete" buttons are 
missing in dispatcher and dialplan sections.
For example in dispatcher section, I can see this message : "Memory State'); } 
?> '.$state_link.''; echo ''; echo ''; } ?> '.$state_link.''; echo ''; echo ''; 
} ?>" and I get '.$edit_link.' and '.$delete_link.' in columns.

I have configured it the same way as the other modules and short_open_tag = On 
in php.ini. I have no more idea to fix this problem, could you help me please

Thank you

Vincent___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users