With app_swift 1.6.2 + asterisk 1.6.1.12, I've found that if you 
enter DTMF during cepstral playback, the first digit of ${SWIFT_DTMF} 
is [un]set in an odd way.


for example consider:
999,1,Swift(some long message that you dont want to wait for|5000|5)
999,n,NoOp(DTMF: ${SWIFT_DTMF})

if while I am listening to the playback, i interrupt and dial:
-  "12345", SWIFT_DTMF is set to "52345"
-  "12346", SWIFT_DTMF is set to "62346"
-  "1478" , SWIFT_DTMF is set to "478"
-  "123"  , SWIFT_DTMF is set to "23"
-  "12"   , SWIFT_DTMF is set to "2"
-  "1"    , SWIFT_DTMF is set to ""

also consider:
998,1,Swift(some long message that you dont want to wait for|5000|1)
998,n,NoOp(DTMF: ${SWIFT_DTMF})

- "1", SWIFT_DTMF is set to "1-1210679308"
- "2", SWIFT_DTMF is set to "2-1210679308"

im not sure if it's relevant, but epoch(1210679308) in ET is may/2008.


in each case, if i wait for the playback to complete before dialing
the DTMF, all works as i'd expect.

Do you see a reason that this'd happen ?



I wrote to the author of app_swift, but got no reply.  Since the code 
is relatively short, can someone take a peek ?

app_swift is [temporarily] available at:
http://jeremy.kister.net/code/app_swift-1.6.2.tar.gz
http://jeremy.kister.net/code/app_swift-1.6.2.patch

-- 

Jeremy Kister
http://jeremy.kister.net./

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

Reply via email to