Help prepending 9,1 for missed calls button to work

Hi,

I have an Asterisk Appliance and Polycom 320 phones. The problem is that if a call is missed I can not just hit the “received calls” soft key and dial due to needing 9,1 prepended. My current dialplan is:
dialplan.1.digitmap="6xxx|7xxx|850x|9xxxxxxxT|91xxxxxxxxxx|81xxxxxxxxxx|81001xxxxxxxxxx|71xxxxxxxxxx|9256xxxxxxx
Any suggestions about how to handle this?

Thanks

You may need to add the 1 before the 9, but you do it the same way…

13153334004 is th enumber the call is coming in on…

; The CID stuff is to add a leading 9 to the incoming number so the number can
; be dialed out of the phone’s missed call history.
;
; Without this all you get is the 1 XXX XXXXX number which can not be dialed.
;
exten => 13153334004,1,Set(CALLERID(number)=9${CALLERID(number)})
exten => 13153334004,n,Goto(default,444,1)

Thanks Matthew,

So how would I work this out in something like this?

exten = _X.,1,Goto(voicemenu-custom-5|s|1)
exten = s,2,ExecIf($[ “${CALLERID(num)}”="" ],SetCallerPres,unavail)
exten = s,3,ExecIf($[ “${CALLERID(num)}”="" ],Set,CALLERID(all)=unknown <0>)
exten = s,4,Goto(voicemenu-custom-5|s|1)

Thanks for your help with this.

Matthew,

Your post did the trick. I just needed to use it in the following manor
exten = s,1,Set(CALLERID(number)=91${CALLERID(number)}) so it picked up every call. So far it seems to work fine. Thanks so much for your help

Mike

[quote=“Matthew_kleinmann”]You may need to add the 1 before the 9, but you do it the same way…

13153334004 is th enumber the call is coming in on…

; The CID stuff is to add a leading 9 to the incoming number so the number can
; be dialed out of the phone’s missed call history.
;
; Without this all you get is the 1 XXX XXXXX number which can not be dialed.
;
exten => 13153334004,1,Set(CALLERID(number)=9${CALLERID(number)})
exten => 13153334004,n,Goto(default,444,1)[/quote]