upendra wrote:

- If i call from sip1 to sip2 then sip2 should automatically answer the call and play some sound file.

On Sat, 14 Jul 2012, Ron Bergin wrote:

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

Thank you for not top-posting. It appears everybody forgot their netiquette last week :)

Not as I understand the OP's request.

As I understand the request, when sip1 originates a call to sip2, sip2 should just start playing audio from sip1 without requiring any action on sip2's part.

Several posters have already suggested the solution lies in having sip1 add the appropriate sip header in the INVITE to ask sip2 to automagically answer so sip2 can play the sound file.

Unfortunately, the OP seems to lack the ability or motivation to read the documentation to be able to take advantage of the suggestions.

Even more unfortunately, auto-answer is device and configuration specific. My cisco 9760 just needs a SIP header added while my Polycom 501 needs a different SIP header and the correct bits twiddled in it's humongous configuration files.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000

--
_____________________________________________________________________
-- 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

Reply via email to