Hi everyone, I noticed that RPM packages of Asterisk downloaded from Digium repository installs DAHDI on a VPS just fine without the need to tamper the mother node (install DAHDI on mother node first). However, when installing Asterisk from source one has to install DAHDI drivers on the mother node first to make it available to the VPS. That is something I would like to avoid. So, I want to build my own custom Asterisk RPM package but it's the first time for me and need some guidance from those who are familiar with RPM package development. Digium repositories also do not include all Asterisk features and add-ons (e.g. OOH323, etc...) hence I want to build my own.
My first question is if the building process requires me to install Asterisk on a physical server with all features and then build the RPM? If so, how does that package work on different type of hardware? I also don't understand why a compiled version is able to get DAHDI running on a VPS while same is not possible from a source install. My second question is if you know of any simple guides that can run me through RPM building process on a RedHat (CentOS specifically) platform. I am hoping this doesn't require me to write a lengthy install script. Any feedback is much appreciated. -Bruce
