[Asterisk-Users] Dialling Hook Flash on Zaptel

John Todd jtodd at loligo.com
Tue Feb 3 07:13:47 MST 2004


At 10:59 PM +1000 2/3/04, Christopher Lee wrote:
>Hi,
>
>I'm trying to get my X100P to Dial the following sequence to gain access to
>speed dial numbers on my Norstar PBX that the X100 is connected to...
>
>[FLASH] [*] [0] [22] (where 22 is the speed dial number)
>
>But so far I've had no luck, with the following extension:-
>
>exten => 922,1,Flash(${DIALOUTANALOG})
>exten => 922,2,Dial(${DIALOUTANALOG}/*022)
>exten => 922,3,Congestion
>exten => 922,4,Hangup
>
>Looking at the console, Asterisk doesn't get past the Flash command, telling
>me that it's not a valid Zap channel. The call is being made from my Cisco
>SIP phone through my local Asterisk Box, then via an IAX2 channel to the
>site with the Asterisk box+X100P connected to the Norstar.
>
>====CONSOLE LOG====
>-- Accepting AUTHENTICATED call from 192.168.1.1, requested format = 2,
>actual format = 2
>-- Executing Flash("IAX2[voipsrv at voipsrv]/2", "Zap/1") in new stack Feb  3
>22:37:19 WARNING[1146896]: app_flash.c:85 flash_exec:
>IAX2[voipsrv at voipsrv]/2 is not a Zap channel
>== Spawn extension (local, 922, 1) exited non-zero on
>'IAX2[voipsrv at voipsrv]/2'
>-- Hungup 'IAX2[voipsrv at voipsrv]/2'
>====CONSOLE LOG====
>
>Is there some other way to dial a flash with the dial command? I notice
>there's a W to insert a wait sequence.
>
>Thanks,
>Chris Lee


Just for fun, try this:

exten => 922,1,Flash(Zap/1)
exten => 922,2,Dial(Zap/1/*022)
exten => 922,3,Congestion
exten => 922,4,Hangup

and see if it gives the same error.  I'd be interested to see if 
there's perhaps some strange variable swapping going on.

JT



More information about the asterisk-users mailing list