Re: [asterisk-users] NO ANSWER before playback or background function?

2010-06-23 Thread Tiago Geada
We use a dial option A() that will stream audio as soon as the calle picks
up...

On 23 June 2010 05:50, Zhang Shukun bit...@gmail.com wrote:

 2010/6/22 Philipp von Klitzing klitz...@pool.informatik.rwth-aachen.de:
  Hi!
 
  but i want to answer the channel when dial someone and pick up the
  phone.not play a file.
 
  Search this list for early media and maybe also for progress.

 Thanks , i have search for early media, and have get some valuable
 infomation.

 i can play files with noanswer .

 exten = s,1,Progress
 exten = s,n,Playback(hello,noanswer)  ;this works good.
 exten = s,n,Dial(SIP/1...@bd-test,30)
 exten = s,n,Playback(hello,noanswer) ; this works no sound

 the first Playback works good. i can hear the sound and it won't
 answer the channel first.

 my problem is after Dial command, if not answer the channel(connected).

 next will execute: exten = s,n,Playback(hello,noanswer) ; this works no
 sound

 but this Playback have no sound.

 Do you know what's wrong?



 
  Philipp
 


 --
 Thanks for your supporting,
 have a nice day.
 Sucan

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

[asterisk-users] NO ANSWER before playback or background function?

2010-06-22 Thread Zhang Shukun
hi,all

i find in asterisk 1.6.2.1, before play a sound file use playback or
background, it will answer the channel first.

but i want to answer the channel when dial someone and pick up the
phone.not play a file.

i know there are some params such as 'noanswer' for playback or 'n'
for background can not answer before play a file.

but it is not always take effect on my tests.as it said:

noanswer: Play the sound file, but don't answer the channel first (if
hasn't been answered already). Not all channels support playing
messages while still on hook.

Could you help me ?

Thanks!

-- 
Thanks for your supporting,
have a nice day.
Sucan

-- 
_
-- 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] NO ANSWER before playback or background function?

2010-06-22 Thread Philipp von Klitzing
Hi!

 but i want to answer the channel when dial someone and pick up the
 phone.not play a file.

Search this list for early media and maybe also for progress.

Philipp


-- 
_
-- 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] NO ANSWER before playback or background function?

2010-06-22 Thread Zhang Shukun
2010/6/22 Philipp von Klitzing klitz...@pool.informatik.rwth-aachen.de:
 Hi!

 but i want to answer the channel when dial someone and pick up the
 phone.not play a file.

 Search this list for early media and maybe also for progress.

Thanks , i have search for early media, and have get some valuable infomation.

i can play files with noanswer .

exten = s,1,Progress
exten = s,n,Playback(hello,noanswer)  ;this works good.
exten = s,n,Dial(SIP/1...@bd-test,30)
exten = s,n,Playback(hello,noanswer) ; this works no sound

the first Playback works good. i can hear the sound and it won't
answer the channel first.

my problem is after Dial command, if not answer the channel(connected).

next will execute: exten = s,n,Playback(hello,noanswer) ; this works no sound

but this Playback have no sound.

Do you know what's wrong?




 Philipp



-- 
Thanks for your supporting,
have a nice day.
Sucan

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