[asterisk-dev] Custome Header reader in Asterisk-12
Jehanzaib Younis
jehanzaib_kiani at hotmail.com
Mon Nov 11 16:50:36 CST 2013
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
Date: Mon, 11 Nov 2013 16:37:03 -0600
From: mmichelson at digium.com
To: asterisk-dev at lists.digium.com
Subject: Re: [asterisk-dev] Custome Header reader in Asterisk-12
On 11/11/2013 03:59 PM, Jehanzaib
Younis wrote:
Hi,
Yes i already have fixed the code but is there anyone who can
update the documentation? actually i have written what i have
required so the documentation on the wiki need to be updated
accordingly. i can see
Added by Mark Michelson, last edited
by Mark Michelson on Apr 10,
2013
I will keep on testing other parts too
cheers!
Thanks.
Hi!
I have updated the page you initially linked to be correct. I
attempted to change all of the code as well as the text
explanations. If you find anything I missed, please let me know.
I tested this by taking the finished session supplement and copying
it into a res_pjsip_auto_answer.c file and placing that in my res/
directory. The file compiled just fine. When I placed a call to an
extension like so:
exten => 2000,1,Set(__SIP_AUTO_ANSWER=yes)
same => n,Dial(PJSIP/bob)
I saw the Require and Answer-Mode headers in the outgoing INVITE to
PJSIP/bob.
With the updated wiki page are you still having issues?
Mark Michelson
--
_____________________________________________________________________
-- 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/20131112/fefc73cc/attachment.html>
More information about the asterisk-dev
mailing list