upendra 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.
> --
Unless I'm misunderstanding your needs, wouldn't this do what you want?
exten => 1234,1,Answer
exten => 1234,n,Playback(soundfile)
exten => 1234,n,Dial(SIP/1234,60,m) ; caller hears music on hold
; instead of ringtone
--
Ron Bergin
--
_____________________________________________________________________
-- 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