Summary:ASTERISK-07559: function callback sender in advanced options (3) -> callback sender (2)
Reporter:alexmunet (alexmontoanelli)Labels:
Date Opened:2006-08-19 12:59:10Date Closed:2011-06-07 14:08:07
Versions:Frequency of
Description:When i call this option from menu,
the application not get de correct number to dialout,
anytime, changing to strings, or number incomplete,

bellow a trace from cli...
in this logs have,a aditional lines add for me to debug...
but i not find solution

sorry for bad english


Parsing '/var/spool/asterisk/voicemail/default/8288/Old/msg0000.txt': Found
   -- Playing 'vm-toreply' (language 'pt_BR')
   -- Callback Requested
 == Parsing '/var/spool/asterisk/voicemail/default/8288/Old/msg0000.txt': Found
Aug 19 14:31:55 WARNING[2226]: app_voicemail.c:6490 advanced_options: Numero832634221 nome (null) callerid 4832634221 //HERE IS A ORIGINAL NUMBER
   -- Confirm CID number '4832634221' is number to use for callback
   -- Playing 'vm-num-i-have' (language 'pt_BR')
Aug 19 14:31:57 WARNING[2226]: app_voicemail.c:3728 play_message_callerid: name = (null) callerid = 48326348 cid = 48326348 //HERE IS MODIFIED NUMBER
   -- Playing 'digits/4' (language 'pt_BR') //HERE IS A PLAY DIGITS wiht imcomplete informations
   -- Playing 'digits/8' (language 'pt_BR')
   -- Playing 'vm-tocallnum' (language 'pt_BR')
   -- Playing 'vm-star-cancel' (language 'pt_BR')
Aug 19 14:32:03 WARNING[2226]: app_voicemail.c:6496 advanced_options: Chamdno o numero R') //HERE IS THE NUMBER CHANGE

   -- Teste  => R')
    -- Destination number is CID number 'R') //same
   -- Placing outgoing call to extension 'R')
' in context 'from_central_vm' from context 'macro-voicemailmenu'
   -- Playing 'vm-dialout' (language 'pt_BR')                                                                                              
Comments:By: Serge Vecher (serge-v) 2006-09-06 12:08:36

so, from your log, what number do you expect to be dialed out?

By: alexmunet (alexmontoanelli) 2006-09-06 13:21:47

in option 3 (advanced option)
me press 2 to dialout

By: Serge Vecher (serge-v) 2006-09-06 13:26:26

>in option 3 (advanced option)
>me press 2 to dialout
These are the steps to reproduce the problem, I'm asking you what number do you expect to be dialed? (Eu sou perguntando lhe que n?mero voc? espera ser marcado)

By: alexmunet (alexmontoanelli) 2006-09-06 14:00:47

i expect to dial the original caller id
in my case 4832634221

but in the last lines, the callerid
was changed to a letter R,

By: Serge Vecher (serge-v) 2006-09-06 14:12:43

what context do you have for callback= in voicemail.conf. Also, attach here the snippet from extensions.conf for that context.

By: alexmunet (alexmontoanelli) 2006-09-06 14:18:24

in my voicemail i have set in userline the variable, before

8082 => 8082,alexm,alex@some,,|dialout=to_dialou
in my extensions.conf i have

     exten => _X.,1,dial(UniCall/g1/${EXTEN},,60)
     exten => _X.,n,hangup

By: Serge Vecher (serge-v) 2006-09-06 14:31:44

This is not a bug, but a configuration issue:
dialout= is not option 2, but option 4 under advanced menu.
option 2 is "callback" and controlled by callback= in voicemail.conf

You are also using patches (chan_unicall), which are not officially supported by the Asterisk project. Please read the bug guidelines before posting any more bugs on this bugtracke, and be aware that you will be required to show that you can clearly reproduce the bug without modifications to Asterisk sources in the future.