I have written a program for my asterisk 1.2.10 it is compiling fine on one system but the same source code gives following error on the other system.
error: too many arguments to function ‘pbx_exec’
error: ‘STANDARD_HANGUP_LOCALUSERS’ undeclared (first use in this function)
Can you please tell me why it is happening? Both systems have gentoo installed with asterisk 1.2.10. I dont think there is any error in my code as it is compiling and working fine on one of my systems. Wjat am i doing wrong?