[asterisk-dev] Custome Header reader in Asterisk-12
mmichelson at digium.com
Tue Nov 12 09:28:57 CST 2013
On 11/12/2013 07:08 AM, Joshua Colp wrote:
> Jehanzaib Younis wrote:
>> 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: *** [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!
Ah thanks. I was updating the code on the wiki page manually as I fixed
mistakes (copy and paste from vim formatted the code incorrectly on the
wiki page). I missed that while editing. Will fix!
More information about the asterisk-dev