[Asterisk-Users] call rejected tone within dialplan

2006-06-20 Thread Tristan Graham - Skymarket Ltd
Hi all,

I am attempting to work through some oddities with PRI signalling to
neaten a few applications up and am having trouble sending a cause code
1 (unallocated) signal from within a dial plan. If I make it so that the
dialled number does not match an entry in the plan I get the correct out
of band continuous tone but calling SET(PRI_CAUSE=1) followed by hangup
presents an engaged tone. I would have expected both to act in the same
way ?

Anyone got any ideas ?

Tristan.

___
--Bandwidth and Colocation provided by Easynews.com --

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


[Asterisk-Users] DTMF detection in dial macro

2005-03-31 Thread Tristan Graham - Skymarket Ltd

Hi all,

Has anyone got the call screening sample to pickup DTMF correctly ? I
have tried with the latest HEAD release and the dial macro gets executed
all the way up until the Read command where it sits until the timeout is
triggered no matter what DTMF tones you send it. Asterisk responds with
User entered nothing.. I have tried this on a variety of extensions
with the same result although a simple DTMF test directly on the ingress
leg of the call works perfectly...

The config I am using is as follows:


exten = 123,1,Wait(0.2)
exten = 123,2,Playback(screen-record)
exten = 123,3,SetVar(SCREEN_FILE=/tmp/${CALLERIDNUM}-${EPOCH})
exten = 123,4,Record(${SCREEN_FILE}.gsm|6|25)
exten = 123,5,Dial(Zap/g1/01276459906|60|gM(screen^${SCREEN_FILE}))
exten = 123,6,Voicemail([EMAIL PROTECTED])

[macro-screen]
exten = s,1,Wait(0.2)
exten = s,2,Playback(screen-from)
exten = s,3,Playback(${ARG1})
exten = s,4,Read(ACCEPT|screen-accept|1)
exten = s,5,GotoIf($[${ACCEPT} = 1 ] ?7:6)
exten = s,6,SetVar(MACRO_RESULT=CONTINUE)
exten = s,7,System(/bin/rm ${ARG1})

I am guessing this is a bug of sorts relating to the detection code not being 
applied to the egress
channel but I dont know enough about how this works yet to debug it...

Any help greatfully received !

Tristan.


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