[asterisk-dev] Custome Header reader in Asterisk-12
Joshua Colp
jcolp at digium.com
Tue Nov 12 07:08:49 CST 2013
Jehanzaib Younis wrote:
> Great!
> thanks
> i have just quickly copied the code you updated.
> got an error
>
> [CC] res_sip_auto_answer.c -> res_sip_auto_answer.o
> res_sip_auto_answer.c: In function ‘auto_answer_outgoing_request’:
> res_sip_auto_answer.c:26: error: ‘PJSIP_INV_CONFIRMED’ undeclared (first
> use in this function)
> res_sip_auto_answer.c:26: error: (Each undeclared identifier is reported
> only once
> res_sip_auto_answer.c:26: error: for each function it appears in.)
> make[1]: *** [res_sip_auto_answer.o] Error 1
> make: *** [res] Error 2
I've fixed the wiki page some more. PJSIP_INV_CONFIRMED should be
PJSIP_INV_STATE_CONFIRMED - it was incorrect on the final complete
example but not in the previous specific part. Builds for me now too!
Cheers,
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list