[asterisk-users] Missing number 2 in "advanced options" of VM

Stefan-Michael. Guenther (in-put GbR) asterisk at in-put.de
Mon Aug 28 11:33:17 MST 2006


Hi,

> > a few weeks ago someone mentioned a menu point "2" in the advanced
> > options of the voicemail menu, which allows a call back to the caller who
> > left the message.
>
> Feature needs to be enabled in the voicemail.conf
>
> callback=context
>
> I've personally never used it.
>
well, this hint brought me a step further.
Now option 2 appears in the advanced options but the callback funtion seems to 
be buggy (or my installation is buggy):

Even if I wait  till the number has been completly read and then press 1 to 
let asterisk  call the number, only fragments of the number are forwarded to 
the callback context. Sometimes even no digits are forwarded.

I have set callback=cback, and this context looks like this:

[cback]
exten => _X.,1,Answer()
exten => _X.,2,NoOp(${EXTEN})
exten => _X.,3,DIAL(CAPI/g1/83086921:${EXTEN},30,r)

And here's the output form the cli after I pressed 1 to call back:

Playing 'vm-num-i-have' (language 'de')
    -- Playing 'digits/0' (language 'de')
    -- Playing 'digits/7' (language 'de')
    -- Playing 'digits/2' (language 'de')
    -- Playing 'digits/1' (language 'de')
    -- Playing 'digits/8' (language 'de')
    -- Playing 'digits/3' (language 'de')
    -- Playing 'digits/0' (language 'de')
    -- Playing 'digits/4' (language 'de')
    -- Playing 'digits/4' (language 'de')
    -- Playing 'digits/9' (language 'de')
    -- Playing 'digits/8' (language 'de')
    -- Playing 'vm-tocallnum' (language 'de')
    -- Destination number is CID number '4498'
    -- Placing outgoing call to extension '4498' in context 'cback' from 
context 'local'
    -- Playing 'vm-dialout' (language 'de')
Aug 28 20:26:27 WARNING[14794]: pbx.c:2357 __ast_pbx_run: Channel 
'SIP/111-081a1cc0' sent into invalid extension '4498' in context 'cback', but 
no invalid handler

Why does Asterisk strip all digits except 4498 and why doesn't _X. match 
4498??

Thanks for your help,

Stefan

-- 

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
     Schulungen  Installationen  
         Beratung   Support
      Voice over IP - Lösungen
********************************************



More information about the asterisk-users mailing list