Asterisk build options

Antony Stone Asterisk at gruntle.co.uk
Thu May 25 13:05:33 BST 2023


Hi.

I need to build Asterisk from source, in order to add some debugging options.

I'm starting from Asterisk 16.28.0 under Debian 10 Buster.

I first wanted to build a "standard" version matching what I would get 
installed from the binary package, and once I'd verified that that version 
still displayed a suspected bug, I would build the version with debugging 
options set.

I'm using the following commands to build from source:

 - apt-get install dpkg-dev build-essentials
 - apt-get source asterisk
 - apt build-dep asterisk
 - cd asterisk-16.28.0~dfsg
 - dpkg-buildpackage -b -uc -us

The resulting file is a binary *14398296* bytes in size, whereas the file 
installed by a standard "apt-get install asterisk" is *3057784* bytes.

Where can I find the options which the package maintainers use to create the 
version in the binary package, so I can build from the source package and end 
up with something similar?


Thanks,


Antony Stone.



More information about the Pkg-voip-maintainers mailing list