Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: iam on June 09, 2009, 04:57:51 PM

Title: SIP Header file
Post by: iam on June 09, 2009, 04:57:51 PM
Hello!

I have regular problem with SIP Header file after system or selintra upgrade.
So after upgrades all inserted by myself lines disappears.

( for ex.:
subscribecontext=internal
limitonpeers=yes
call-limit=99
notifyringing = yes
notifyhold = yes
)


So every time after upgrade I need to add them again or one time per installation insert them into /etc/e-smith/templates-custom/etc/asterisk/sip.conf/

As far as I understand it should be stored in selintra db and we do not need any template-custom additions. Does anybody experience the same. And does it normal result of upgrade?

Sincerely
Title: Re: SIP Header file
Post by: SARK devs on June 09, 2009, 05:18:58 PM
Currently you will lose them after an upgrade.

We are working on a solution.

Best

S
Title: Re: SIP Header file
Post by: SARK devs on June 29, 2009, 05:25:13 PM
There is a solution to this issue in 2.2.3-13 and 2.3.1-17.

Sail now references a set of include files when it generates the major .conf files.  They are called....

sark_customer_iax_devices.conf
sark_customer_iax_headers.conf
sark_customer_iax_registrations.conf

sark_customer_sip_devices.conf
sark_customer_sip_headers.conf
sark_customer_sip_registrations.conf

sark_customer_manager.conf
sark_customer_queues.conf


You can edit these files from the general edit panel and you can put anything you want into them.
They will survive sark release updates.  The empty files will be created the first time you issue a commit from globals after you have installed the relevant release.

Using these include files, together with custom-apps, SARK/Sail is now completely open in that you can add your own trunks, extensions and extensions.conf code completely outside of SARK/Sail control if that's what you want to do.

docs page is here.

http://sarkpbx.com/twiki/bin/view/Main/DocChapter2525

Best

S
Title: Re: SIP Header file
Post by: soprom on July 01, 2009, 08:16:43 PM
That's good news.  Would you also add this for voice mail since language must also be set there with email template changes?

I guess that it would be vmailinc.conf... but hey! you're the one who knows!!!

Title: Re: SIP Header file
Post by: SARK devs on July 01, 2009, 09:07:14 PM
vmailinc.conf is already included

Best

Jeff
Title: Re: SIP Header file
Post by: soprom on July 01, 2009, 11:18:00 PM

Do you mean it is already left untouched between updates or do you mean that there is a sark_customer_ file associated to it?
Title: Re: SIP Header file
Post by: SARK devs on July 02, 2009, 12:31:15 AM
It's already there but it does get updated during update so I'm going to have to add another include


:)

Best

S
Title: Re: SIP Header file
Post by: soprom on July 12, 2009, 05:53:04 PM


Any news concerning this thread?

Thanks!
Title: Re: SIP Header file
Post by: SARK devs on July 13, 2009, 10:01:12 AM
It's on the list for the next point release Sophie

Best

S