[Asterisk-Users] Troubles with voicemail and cisco 7905 SIP

Lele Forzani lele at windmill.it
Wed Dec 17 16:49:37 MST 2003


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




More information about the asterisk-users mailing list