Re: [asterisk-users] app_read does not seem to work with SIP early media (it answers the channel)

2009-11-27 Thread Alexander Heinz
 I am trying to come up with a way to read a digit *before* the call is
 answered. My Asterisk version is 1.6.2.0-rc6

 SIP early media works fine (I can receive and transmit audio before the
 call is answered), but as soon as I start the read application, Asterisk
 answers the call which is not what I want.
 
 Read the application help.  It's really as simple as that.

Thanks! I must have missed the part about the option n.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] app_read does not seem to work with SIP early media (it answers the channel)

2009-11-26 Thread Alexander Heinz
Hello!

I am trying to come up with a way to read a digit *before* the call is 
answered. My Asterisk version is 1.6.2.0-rc6

SIP early media works fine (I can receive and transmit audio before the 
call is answered), but as soon as I start the read application, Asterisk 
answers the call which is not what I want.

Here is how to reproduce the problem: send incoming calls from a SIP 
provider that supports early media to the context sip-in

[sip-in]
exten = 123,1,Progress
exten = 123,n,Ringing
exten = 123,n,Wait(3)
exten = 123,n,Playback(hello-world,noanswer) ;plays fine w/o answering 
the call
exten = 123,n,Ringing
exten = 123,n,Wait(2)
exten = 123,n,Read(digitin,,1,,,10)
exten = 123,n,NoOp(we have read digit ${digitin})
exten = 123,n,Wait(10)
exten = 123,n,Playback(demo-echodone,noanswer)
exten = 123,n,Congestion
exten = 123,n,Busy

Is this a bug in the app_read? Do you know a workaround? I have already 
tried some tricks with Chanspy but I did not succeed.

Thank you!

Best regards,
Alex

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] app_read does not seem to work with SIP early media (it answers the channel)

2009-11-26 Thread Tilghman Lesher
On Thursday 26 November 2009 05:47:47 Alexander Heinz wrote:
 I am trying to come up with a way to read a digit *before* the call is
 answered. My Asterisk version is 1.6.2.0-rc6

 SIP early media works fine (I can receive and transmit audio before the
 call is answered), but as soon as I start the read application, Asterisk
 answers the call which is not what I want.

Read the application help.  It's really as simple as that.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users