Hookflash or link in dial string

Is there a way to insert a hook flash or link in a speed dial?

Using dahdi fxo’s primarily and want to be able to setup a speedial with a link in it so we can access the centrex features on that line.

For instance, setup a speed dial so that I can externally forward a trunk - dial string is typically *72 Flash (789)456-1234

Or a receptionist with a sip phone be able to hookflash and transfer a caller to an external number using a speed dial button

No you will need to build a custom context to play the first dtmf sequence, then send flash over the trunk, then dial the rest of the number. Centrex flashes are usually 750 milliseconds long and not the more standard PSTN/POTS 250ms. so set your dahdi trunk to that first.

So no matter how we do it, we have to manually enter the flash?

Thanks Dicko

I personally am not aware of any other way to send a hookflash programmatically to a dahdi channel.

You could script this elegantly in the dial plan and then program the extension into the speed dial. How many numbers are we talking about?

[size=18]


[speed-call-custom]
exten => _555,1,Playback(transfer)
exten => _555,2,Flash()
exten => _555,3,SendDTMF(4405551212)
exten => _555,4,Hangup()
[/size]

This would call 4405551212 when you dial 555 from your phone.

Sounds interesting - there could be 30 or 40 numbers, but by the example that wouldn’t be a lot of coding.

Thanks for the replies

So would I put this in extensions_custom.conf and reference in custom extensions? Or install custom contexts?

Here’s what I tried so far…

Created custom extension 400 with a description of custom-speed-dial

In extensions_custom.conf I added,

[custom-speed-dial]
exten => _400,1,Playback(transfer)
exten => _400,2,Flash()
exten => _400,3,SendDTMF(7024567890)
exten => _400,4,Hangup()

Am I on the right track, or way off?

No custom contexts module is something completely different.

I would do it like this, then no includes necessary:

[size=22]
[from-internal-custom]
exten => _400,1,Playback(transfer)
exten => _400,2,Flash()
exten => _400,3,SendDTMF(7024567890)
exten => _400,4,Hangup()

exten => _401,1,Playback(transfer)
exten => _402,2,Flash()
exten => _403,3,SendDTMF(7025551212)
exten => _404,4,Hangup()

[/size]

That’s it.

OK thanks

So where would I put that - extensions_custom.conf?

OK, found from-internal-custom in extensions_custom.conf and it’s working 100%

SpeedDial xfer and its one button transfer to an external number.

Thanks SkykingOH!

Great!