Ticket #1938 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

add the India country support in indications.conf and under international setting of General setting section of freepbx

Reported by: pss Assigned to:
Priority: minor Milestone: 2.3
Component: Core Version: 2.2.2
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

[in] ; Source: libtonezone and http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf description = India

ringcadence = 400,200,400,2000 dial = 400*25 busy = 400/750,0/750 ring = 400*25/400,0/200,400*25/400,0/2000 congestion = 400/250,0/250 callwaiting = 400/200,0/100,400/200,0/7500 dialrecall = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440 record = 1400/500,0/15000 info = !950/330,!1400/330,!1800/330,0/1000 stutter = !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440

Attachments

indiatone.diff (3.4 kB) - added by p_lindheimer on 05/11/07 19:35:00.
patch file for indiatone

Change History

(follow-up: ↓ 2 ) 05/11/07 19:33:37 changed by p_lindheimer

ok - if you can test out the change and confirm to me that it works, I will put it in the main code. I'll attach a patch file after this. What you need to do is:

cd /var/www/html/admin/modules/core
cp functions.inc.php functions.inc.php.bak
patch functions.inc.php indiatone.diff

then it should appear in the menu list. indiatone.diff is the file I am attaching. Once you confirm that it is ok (I just copied above) then I will commit it so it goes into the 2.2 branch, and should come out in the next maintenance release.

05/11/07 19:35:00 changed by p_lindheimer

  • attachment indiatone.diff added.

patch file for indiatone

(in reply to: ↑ 1 ) 05/13/07 23:49:52 changed by pss

Replying to p_lindheimer:

ok - if you can test out the change and confirm to me that it works, I will put it in the main code. I'll attach a patch file after this. What you need to do is: {{{ cd /var/www/html/admin/modules/core cp functions.inc.php functions.inc.php.bak patch functions.inc.php indiatone.diff }}} then it should appear in the menu list. indiatone.diff is the file I am attaching. Once you confirm that it is ok (I just copied above) then I will commit it so it goes into the 2.2 branch, and should come out in the next maintenance release.

Thank you for considerding the request.

I will try this today once you revert on following queries.

I have two different version of trixbox 1) production setup trixbox 1.2.3 with free pbx Version 2.1.1 2) lab setup trixbox trixbox 2.0.0 with freepbx 2.2.0rc3. Pls let me know on which version the patch will work.

Will the patch add india indications in Indications.conf file and put it in dropdown of general settings of freebbx interface?

05/14/07 01:09:46 changed by pss

Hello lindheimer,

Meanwhile I tried the steps provided by you but it failed. When I checked the functions.inc.php file I found that there is difference in the existing code and the code provided by you to replace/patch.

In the functions.inc.php file of freepbx 2.1.2 and 2.2.0rc3 there is no indication for Israel. Therefore when I try , patch functions.inc.php indiatone.diff command I get error.

To overcome the above error , I manually edited the the file functions.inc.php file of both the servers and added array line for india indications from indiatone.diff file. After restarting the httpd server I could see India option in both the freepbx versions, even the India indication was in /etc/asterisk/indications.conf file. I hope manual copy will not affect the system and would not overwrite during next boot /recycle of system.

I think the code works as expected, you should go ahead and add it in 2.2 branch.

Thank you for your support.

Regards

PSS

06/09/07 04:44:54 changed by p_lindheimer

  • status changed from new to closed.
  • version changed from 2.2.1 to 2.2.2.
  • resolution set to fixed.

part of 2.2.2