Asterisk 12 Questions
Hi. I’m attempting to compile Asterisk 12, but we want to use chan_sip instead of pjsip.
I am missing something. I assumed that chan_sip was going to be added by default. Apparently not. I saw it in the menuconfig. Dumb question, but double xx beside It..does that mean not avail/not going to be installed?
Can someone point me in the proper direction? A specific area where I can learn to build Asterisk 12 with chan_sip? I’m needing to use the chan_sip for the time being until I can learn the new SIP stack.
Thanks – much appreciated!
Glen
Sent from my Android – if my spelling, diction or grammar is poor, please don’t think that I am an idiot!
2 thoughts on - Asterisk 12 Questions
Hi Glenn,
Yes, if theres x’s it means it can’t be installed – due to lack of a dependency, rather than it being an option which has been enabled or disabled.
Have you tried running ./contrib/scripts/install_prereq ? this should install everything you need if you’re compiling from source.
http://svn.asterisk.org/svn/asterisk/branches/12/contrib/scripts/install_prereq
I don’t know what you need to be able to install chan_sip as I’ve never had to have a look, but your first port of call should be the install_prereq script.
Dan
Looks like I figured It out!
A couple of things seemed to be getting in the way:
1. Old leftovers – I had a previous version of Asterisk kicking about. I
used the package manager and removed It.
2. Openssl-dev libraries. Learned that it’s a dependency of chan_sip. I am embarrassed to say that I did not know!
Now, I’ve a working version of Asterisk 12 with chan_sip .
Now – to decipher the AMI…
Glen
Sent from my Android – if my spelling, diction or grammar is poor, please don’t think that I am an idiot!