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

2012-07-14 Thread Larry Moore

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.bax...@gmail.com
mailto:jared.bax...@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...@gmail.com
mailto:uppi...@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
engineerzuhairr...@gmail.com
mailto:engineerzuhairr...@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...@gmail.com
mailto:uppi...@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




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


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

2012-07-14 Thread Doug Lytle

Larry Moore wrote:
If memory serves me, respectively they are for the following vendors; 


And Polycom:

exten = s,n,SIPAddHeader(Alert-Info: Ring Answer)

Doug



--
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


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


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

2012-07-14 Thread Ron Bergin
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


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

2012-07-14 Thread Steve Edwards

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   sedwa...@sedwards.com  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


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

2012-07-13 Thread upendra
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

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

2012-07-13 Thread Zohair Raza
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...@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


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

2012-07-13 Thread upendra
Hi,

thanks , i need to put this in the sip context...

regards
Upendra.

On Fri, Jul 13, 2012 at 3:15 PM, Zohair Raza
engineerzuhairr...@gmail.comwrote:

 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...@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

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

2012-07-13 Thread Zohair Raza
In dialplan

http://www.voip-info.org/wiki/view/Asterisk+cmd+SipAddHeader


Regards,
Zohair Raza




On Fri, Jul 13, 2012 at 1:50 PM, upendra uppi...@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 engineerzuhairr...@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...@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


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

2012-07-13 Thread Jared Baxley
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...@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 engineerzuhairr...@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...@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

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

2012-07-13 Thread upendra
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.bax...@gmail.comwrote:

 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...@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 
 engineerzuhairr...@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...@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