Lele Forzani
2003-Dec-17 11:42 UTC
[Asterisk-Users] Troubles with voicemail and cisco 7905 SIP
I'm deploying a fairly large number of Cisco 7905 with SIP connected to an asterisk PBX. The problem: the 7905 has this nice "feature": You can set a "voice mail number" in configuration, so that you can listen your voice mail just by hitting the "messages" key on the phone. It just autodials "8500" or whatever else. The customer wants this, so disabling it is not an option. The phone also has another fine feature: when it is busy, not available, or has "do not disturb" mode set, it just sends out a "302 redirect" message to 8500 or any "voice mail number". So the caller gets the voicemailmain() prompt whenever he calls a busy/na 7905. What to do? The phone thinks you are using the same extension for both listening to your messages and leaving a new message, so I have to be able to understand from the exten => 8500 perspective if this exten has been dialled explicitly OR we have reched it because of a forward, and have a way to identify the original extension the call was directed to. Perhaps, having chan_sip, or app_dial set a channel variable to store the original extension whenever they accept a 302 from an endpoint? thanks lele
Juan J. Sierralta P.
2003-Dec-17 15:51 UTC
[Asterisk-Users] Troubles with voicemail and cisco 7905 SIP
On Wed, 2003-12-17 at 15:42, Lele Forzani wrote:> What to do? The phone thinks you are using the same extension for both > listening to your messages and leaving a new message, so I have to be able to > understand from the exten => 8500 perspective if this exten has been dialled > explicitly OR we have reched it because of a forward, and have a way to > identify the original extension the call was directed to.Set a variable when the call is being forwarded and then check that var at extension 8500.> Perhaps, having chan_sip, or app_dial set a channel variable to store the > original extension whenever they accept a 302 from an endpoint? > > thanks > lele > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users-- Juanjo sin .sig
Lele Forzani
2003-Dec-17 16:49 UTC
[Asterisk-Users] Troubles with voicemail and cisco 7905 SIP
On Wednesday 17 December 2003 23:51, Juan J. Sierralta P. wrote:> On Wed, 2003-12-17 at 15:42, Lele Forzani wrote: > > What to do? The phone thinks you are using the same extension for both > > listening to your messages and leaving a new message, so I have to be > > able to understand from the exten => 8500 perspective if this exten has > > been dialled explicitly OR we have reched it because of a forward, and > > have a way to identify the original extension the call was directed to. > > Set a variable when the call is being forwarded and then check that var > at extension 8500.I tried setting a variable before Dial(SIP/7905) but when i check the variable at 8500 it is undefined. I guess that since forward uses the local channel we are in a completely new call and variables are not inherited from the transferred call.> > Perhaps, having chan_sip, or app_dial set a channel variable to store the > > original extension whenever they accept a 302 from an endpoint?lele