[asterisk-dev] Custome Header reader in Asterisk-12

Jehanzaib Younis jehanzaib_kiani at hotmail.com
Tue Nov 12 14:55:40 CST 2013


cheers!
yes ifigured it out last night.
cheers!
all good


> Date: Tue, 12 Nov 2013 09:08:49 -0400
> From: jcolp at digium.com
> To: asterisk-dev at lists.digium.com
> Subject: Re: [asterisk-dev] Custome Header reader in Asterisk-12
> 
> 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
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131113/9066beca/attachment.html>


More information about the asterisk-dev mailing list