linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Using SIPAddHeader to force Auto-answer


From: Matt Murphy
Subject: [Linphone-developers] Using SIPAddHeader to force Auto-answer
Date: Thu, 7 May 2015 13:24:55 +0000 (UTC)

Greetings everyone,

I am attempting to page my linphone appliance (connected to an Asterisk server) by dialing a special extension. The trouble is that when I use the Asterisk Page() command, my linphone appliance rings. I would like linphone to auto-answer the page. I searched around and found some information on this from back in 2010:

[Linphone-developers] autoanswer and answer-after=0

This appears to be exactly what I am looking for - in essence, a way to inject the auto-answer behaviour into the SIP header. 

I tried adding the following to my Asterisk extensions.conf file:

exten => 333,1,Verbose(Paging)
same => n,SIPAddHeader(Call-Info: answer-after=0)
same => n,Set(PageExts=PJSIP/6003&PJSIP/6010)
same => n,Page(${PageExts},i,120)

I guess my question is two-fold:
1) Is this behaviour supported by linphone?
2) Am I correctly invoking the auto-answer by what I have above?

Thank you for all your help,

--Matt

reply via email to

[Prev in Thread] Current Thread [Next in Thread]