[asterisk-users] Post voicemail processing.

marc+ast at milestonerdl.com marc+ast at milestonerdl.com
Sat Jul 28 14:08:18 CDT 2007


Russell Bryant wrote:
> marc+ast at milestonerdl.com wrote:
>   
>> exten => 200,1,SendDTMF(200w#86)
>>
>> But I don't know the path to take to get that to happen after the 
>> hangup() - which is needed to close down the voicemail() call.
>>     
>
> I think a better approach would be to use the externnotify option in 
> voicemail.conf.  
> example.call
> ---
> Channel: Zap/1
> Application: SendDTMF
> Data: 200w#86
> ---

The vars being passed at this time are:
default, 203 , 3 (Which is what I expect)


Is there a way to pass the vpb/0-0 (Or 0-1, 0-2, 0-3 extension on a 
Voicetronix OpenLine card?) Or is there a way to tell Asterisk - use the 
1st not in use line on the device vpb?
 From Asterisk as it receives a call:
== vpb/0-0: Answered call on vpb/0-0 [FXO]
== vpb/0-0:Now listening for DTMF
== vpb/0-0: Starting record mode


I did try a samp.call file just to see if I could get the light to light up:

Channel: vpb/0-0
Application: SendDTMF
Data: 203w#86

And Asterisk said:
== 0-0 requested, got: [vpb/0-0]
== vpb/0-0: Calling 0-0 on vpb/0-0 [Jul 28 18:08:23] NOTICE[26499]: 
channel.c:3053 __ast_request_and_dial: Unable to call channel vpb/0-0
== vpb/0-0: Hangup requested

What part of declaring vpb did I get wrong? And is there a way to say 
'just use whatever vpd device is not in use.'

Thanks.




More information about the asterisk-users mailing list