Pause and Music when transferring from IVR


#1

Hello … I’ve searched high and low for the answer to this question. (Maybe I’m just not using the correct terminology)

When a user calls my DID, the auto-attendant picks up. If the user hits 1, it transfers to my extension. Instead of ringing the extension immediately, I’d like for the caller to hear both music and a message like "please hold while I transfer your call to … " Can someone please tell me how to do this?

Thanks in advance.

Paul

Ok … in my extensions_custom.conf I have added these lines:

exten => 700,1,Background(pls-hold-while-try)
exten => 700,2,Dial(SIP/${EXTEN},20,m)
exten => 700,3,VoiceMail(${EXTEN}@default)
exten => 700,4,Hangup

This appears to work when dialing 700 from internal extensions. The only weird thing is that the attendant says 710 instead of 700 and then plays my hold music. Weird.


#2

Check your features.conf file. Exten 700 is special and used for call parking. Pick a different numbering scheme.


#3

[quote=“schubit”]

The only weird thing is that the attendant says 710 instead of 700 and then plays my hold music. Weird.[/quote]

I cant see any line of an auto-attendant in your example above, where does the attented come from ?

Also you need to understand, that WHENEVER the caller presses “1”, then extension is NOT 700 anymore from then on, its “1”…

example:

[pstn-incoming]
exten=> 5554433,1,Answer
exten=> 5554433,2,Playback(autoatt)
exten=> 5554433,3,Waitexten(5)
exten=> 5554433,4,Playback(timeout-please-choose)
exten=> 5554433,5,Goto(5554433,3)

;User choosed "1"
exten=> 1,1,Playback(transfer-in-progress-blablabla)
exten=> 1,2,Dial(SIP/John|m) ; the “m” is music instead of ringtone
exten=> 1,3,hangup
exten=> 1,102,voicemail(b48) ;would play “Busy” voicemail box 48
exten=> 1,103,hangup

;User choosed “2” - forward to cellphone
exten=> 2,1,Playback(transfer-to-cell-in-progress-blablabla)
exten=> 2,2,Dial(ZAP/g1/cellnumber|m)
exten=> 2,3,hangup
exten=> 2,102,voicemail(b48) ;would play “Busy” voicemail box 48
exten=> 2,103,hangup

;User choosed “3” - which is "leave a msg"
exten=> 3,1,voicemail(u48) ;which us “unavaib.” box 48
exten=> 3,2,hangup

;User choosed “4” - which is "tell John to callback"
exten=> 4,1,system(/var/lib/asterisk/my_own_page_me_script.sh)
exten=> 4,2,hangup

etc etc etc

This example is made out of mind, non tested - so could be buggy.
Just to give you an idea.