[asterisk-users] How to set SIP to auto answer in the dial plan .

Larry Moore lmoore at omninet.net.au
Sat Jul 14 02:30:44 CDT 2012


I have the following in my intercom macro in extensions.ael;

SIPAddHeader(Alert-Info: Ring Answer);
SIPAddHeader(Call-Info:\;Answer-After=0);
SIPAddHeader(P-Auto-Answer: normal);


If memory serves me, respectively they are for the following vendors;

Grandstream
Linksys/Cisco SPA
Yealink

Larry.

On 14/07/2012 1:50 PM, upendra wrote:
> Hi,
>
> its not working for me ....! let me know anyone having sample dialplan
> so that i can use for test 1 sip call answer.
>
>
>
> regards
> Upendra
>
> On Fri, Jul 13, 2012 at 9:57 PM, Jared Baxley <jared.baxley at gmail.com
> <mailto:jared.baxley at gmail.com>> wrote:
>
>     You also have to send the alert info you particular phone needs to
>     make it autoanswer.
>
>     On Jul 13, 2012 4:53 AM, "upendra" <uppi.me at gmail.com
>     <mailto:uppi.me at gmail.com>> wrote:
>
>         Hi,
>
>         thanks , i need to put this in the sip context...????
>
>         regards
>         Upendra.
>
>         On Fri, Jul 13, 2012 at 3:15 PM, Zohair Raza
>         <engineerzuhairraza at gmail.com
>         <mailto:engineerzuhairraza at gmail.com>> wrote:
>
>             try with SipAddHeader(uri=answer-after=0)
>
>             check syntax for Addheader
>
>             Regards,
>             Zohair Raza
>
>
>
>
>             On Fri, Jul 13, 2012 at 1:42 PM, upendra <uppi.me at gmail.com
>             <mailto:uppi.me at gmail.com>> wrote:
>              > Hi,
>              >
>              >
>              > I am trying to write dial plan for sip to auto answer
>             (auto attend) the
>              > incoming call to the sip phone.
>              >
>              > - If i call from sip1 to sip2 then sip2 should
>             automatically answer the call
>              > and play some sound file.
>              > I am trying to do this but as new to the asterisk dial
>             plan configuration ,
>              > so not able Todo this.
>              > help me if anyone already done this setup.
>              >
>              >
>              >
>              > Regards
>              > Upendra.
>              >
>              > --
>              >
>             _____________________________________________________________________
>              > -- Bandwidth and Colocation Provided by
>             http://www.api-digital.com --
>              > New to Asterisk? Join us for a live introductory webinar
>             every Thurs:
>              > http://www.asterisk.org/hello
>              >
>              > asterisk-users mailing list
>              > To UNSUBSCRIBE or update options visit:
>              > http://lists.digium.com/mailman/listinfo/asterisk-users
>
>             --
>             _____________________________________________________________________
>             -- Bandwidth and Colocation Provided by
>             http://www.api-digital.com --
>             New to Asterisk? Join us for a live introductory webinar
>             every Thurs:
>             http://www.asterisk.org/hello
>
>             asterisk-users mailing list
>             To UNSUBSCRIBE or update options visit:
>             http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>         --
>         _____________________________________________________________________
>         -- Bandwidth and Colocation Provided by
>         http://www.api-digital.com --
>         New to Asterisk? Join us for a live introductory webinar every
>         Thurs:
>         http://www.asterisk.org/hello
>
>         asterisk-users mailing list
>         To UNSUBSCRIBE or update options visit:
>         http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>     --
>     _____________________________________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>     New to Asterisk? Join us for a live introductory webinar every Thurs:
>     http://www.asterisk.org/hello
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list