Page 1 of 1

1.8.23.0-vici Source

PostPosted: Tue Oct 08, 2013 12:27 pm
by amjohnson
Where can I find the source code for 1.8.23.0-vici? download.vicidial.com seems to only have the beta packages.

Re: 1.8.23.0-vici Source

PostPosted: Tue Oct 08, 2013 2:21 pm
by Kumba
All you need to do with Asterisk v.1.8 is copy the enter.h and leave.h files to the source and apply the netboarder-cpd-1.8.patch.

I've gone ahead and applied the patches in this tarball if you want it: http://download.vicidial.com/required-a ... ici.tar.gz

Re: 1.8.23.0-vici Source

PostPosted: Tue Oct 08, 2013 6:17 pm
by DruRoland
Thanks for posting that Kumba! I had been looking for it a while ago :p

Re: 1.8.23.0-vici Source

PostPosted: Wed Oct 09, 2013 11:17 pm
by runderwood
Hello Kumba,

I downloaded the tarball and did a make clean && make all && make install -- it successfully installed asterisk but the chan_sip was not created - I applied this to a vicibox 5, tried to apply the patch manually but I got this:

cc-dl01:/usr/src/asterisk-1.8.23.0.old # patch channels/chan_sip.c -p1 < netboarder-cpd-1.8.patch
patching file channels/chan_sip.c
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 1470.
Hunk #2 FAILED at 5690.
Hunk #3 succeeded at 7899 with fuzz 1 (offset 154 lines).
Hunk #4 FAILED at 8238.
Hunk #5 FAILED at 12482.
Hunk #6 FAILED at 12589.
Hunk #7 FAILED at 18143.
Hunk #8 FAILED at 18269.
Hunk #9 FAILED at 18420.
Hunk #10 FAILED at 18876.
Hunk #11 FAILED at 19268.
Hunk #12 succeeded at 22003 with fuzz 2 (offset 221 lines).
Hunk #13 FAILED at 27885.
Hunk #14 FAILED at 28310.
Hunk #15 FAILED at 28877.
Hunk #16 FAILED at 28985.
14 out of 16 hunks FAILED -- saving rejects to file channels/chan_sip.c.rej
patching file channels/chan_sip.c
Hunk #1 FAILED at 705.
Hunk #2 FAILED at 1059.
Hunk #3 FAILED at 1236.
3 out of 3 hunks FAILED -- saving rejects to file channels/chan_sip.c.rej

Any help will be appreciated

Re: 1.8.23.0-vici Source

PostPosted: Thu Oct 10, 2013 5:47 pm
by runderwood
Ok, I have sorted out the problem, I was missing he openssl-devel libraries, after I installed them I was able to build asterisk with SIP, however I have found another problem, its not enabling creating chan_dahdi nor app_meetme, from the menuselect it says it requires Depends on: dahdi(E), tonezone(E), res_smdi(M) Can use: pri(E), ss7(E), openr2(E), and all of them are installed, so not sure what else I'm missing, this is for asterisk 1.8.23.0-vici on vicibox 5.0.3

Re: 1.8.23.0-vici Source

PostPosted: Thu Oct 24, 2013 3:35 pm
by runderwood
Ok, I manage to recompile Asterisk, I had to recompile Dahdi, I downloaded the latest source from Asterisk and recompile it, after that I was able to recompile asterisk with using asterisk-1.8.23.0-vici, however I can't still get the CPD active, I enabled the CPD on the campaign, and tried to place a call, ran sip debug but the SIP messages didn't showed the cpd=on and the Sangoma Lyra also complained it is not receiving the correct sip messages, I'm doing this on a lab server I have not modified my cluster yet as per I want to do it once I know its working, on my cluster I have 1.8.23.1-vici, any hint or help its appreciated.

Regards.