Does x1000 ring when you do the transfer app in your “public_did” extension? Possibly you need to transfer with data=”1000 XML default” to make sure that you are in the correct context? Also, when you bridge here you still need a timeout, don’t you? Also, shouldn’t you be setting continue_on_fail to true? See: http://wiki.freeswitch.org/wiki/Channel_Variables#continue_on_fail

 

Just making sure that I understand what is supposed to be happening…

-MC

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jair Santos
Sent: Wednesday, September 24, 2008 4:22 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Voicemail x DID

 

Thanks Michael,

 

actually when I call the extension itself the call is transfered to  VM.

 

 <extension name="internal">
      <condition field="destination_number" expression="^(\d{4})$">
        <action application="bridge" data="sofia/internal/$1%voipclic.com"/>
<action application="voicemail" data="default $${domain} $1"/>
      </condition>
    </extension>

 

But if there is a DID  linked to the extension,  and this DID is  called,  the VM doesn't work.

 

Jair

 

 

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Wednesday, September 24, 2008 4:17 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Voicemail x DID

Jair,

 

Are you meaning to call an extension, and if the called party doesn’t answer, go to his/her voicemail? If so you probably want to do a bridge app with a timeout value. Check out:

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bridgecall#Timeout

 

So you set a timeout, then bridge, and if there’s no answer then it will fall to the voicemail app…

Just a thought.

 

-MC

 


From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jair Santos
Sent: Wednesday, September 24, 2008 4:02 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Voicemail x DID

 

 

Thank you ,

 

but if I don't transfer the extension won't ring.

 

Jair

 

 

 

-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Wednesday, September 24, 2008 3:26 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Voicemail x DID

 

On Sep 24, 2008, at 6:17 PM, Jair Santos wrote:

 

Hi,

 

If I call ext 1000 the voicemail system answer on timeout . If I call a DID that is linked to that same extension it  returns a busy signal when it is trying to call the VM.

 

In my public.xml I have

 

 <extension name="public_did">

 

      <condition field="destination_number" expression="^(3462101)$"/>
         <condition field="${sip_h_X-DID}" expression="^(3105266066)$">

 

        <action application="transfer" data="1000"/>
        <action application="voicemail" data="default $${domain} 1000"/>

 


      </condition>
    </extension>

 

 

if you transfer, any actions after it will not get executed.