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> and the error is 2008-09-24 14:43:08 [NOTICE] mod_sofia.c:1116 sofia_receive_message() Pre-Answer <mailto:sofia/external/5888606894@216.143.130.65> sofia/external/5888606894@216.143.130.65! 2008-09-24 14:43:23 [INFO] switch_rtp.c:1253 rtp_common_read() Auto Changing port from 216.143.130.65:12622 to 192.168.1.117:31580 2008-09-24 14:43:38 [NOTICE] sofia.c:2545 sofia_handle_sip_i_state() Hangup <mailto:sofia/external/5888606894@216.143.130.65> sofia/external/5888606894@216.143.130.65 [CS_EXECUTE] [ORIGINATOR_CANCEL] 2008-09-24 14:43:38 [ERR] mod_sndfile.c:175 sndfile_file_open() Error Opening File [/usr/local/freeswitch/storage/voicemail/default/voipclic.com/1000/msg_60245 7c9-7ec8-4d93-a233-6e2a51b33099.wav] [System error : No such file or directory.] 2008-09-24 14:43:38 [NOTICE] switch_core_session.c:807 switch_core_session_thread() Session 1 ( <mailto:sofia/external/5888606894@216.143.130.65> sofia/external/5888606894@216.143.130.65) Ended 2008-09-24 14:43:38 [NOTICE] switch_core_session.c:809 switch_core_session_thread() Close Channel <mailto:sofia/external/5888606894@216.143.130.65> sofia/external/5888606894@216.143.130.65 [CS_HANGUP] Any help will be appreciated. thanks Jair Santos
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.
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.
Is it not ? <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> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 24, 2008 4:06 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Why not put the voicemail below the extension you transfer too... /b On Sep 24, 2008, at 4:01 PM, Jair Santos wrote: Thank you , but if I don't transfer the extension won't ring. Jair
Transferring to "1000" will send the call to another extension altogether - it won't be in "public_did" but rather whatever extension matches "destination_number" with a value of "1000" - no? ________________________________ 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:10 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Is it not ? <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> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 24, 2008 4:06 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Why not put the voicemail below the extension you transfer too... /b On Sep 24, 2008, at 4:01 PM, Jair Santos wrote: Thank you , but if I don't transfer the extension won't ring. Jair
I believe you are talking about this <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> This is in the default.xml file and the VM works if I call any extension . But, if there is a DID linked to the extension, and I call the DID, the VM doesn't work. When it times out I get a busy signal. Jair -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, September 24, 2008 4:24 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID This line goes to 1000... so wherever that is in the dialplan put the voicemail after IT. /b On Sep 24, 2008, at 4:10 PM, Jair Santos wrote: <action application="transfer" data="1000"/>
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.
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.
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.
Yes it rings, just doesn't transfer to VM on timeout. 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:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID 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.
Can you press F8 and capture the output and then drop it into a pastebin? That would help a lot. Might be good to capture a working call too so that we can compare. -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:41 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Yes it rings, just doesn't transfer to VM on timeout. 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:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID 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.
This output is when I was calling the DID and, on timeout it returned a busy signal. http://pastebin.freeswitch.org/5647 This output is when I was calling the extension that is linked to that same DID and it transfered normally to VM http://pastebin.freeswitch.org/5648 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:53 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Can you press F8 and capture the output and then drop it into a pastebin? That would help a lot. Might be good to capture a working call too so that we can compare. -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:41 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Yes it rings, just doesn't transfer to VM on timeout. 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:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID 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.
Sorry now I have pressed F8 When I called the ext and transfered to VM http://pastebin.freeswitch.org/5649 When called the DID and it didnt transfer to VM http://pastebin.freeswitch.org/5650 Jair -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jair Santos Sent: Wednesday, September 24, 2008 5:14 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID This output is when I was calling the DID and, on timeout it returned a busy signal. http://pastebin.freeswitch.org/5647 This output is when I was calling the extension that is linked to that same DID and it transfered normally to VM http://pastebin.freeswitch.org/5648 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:53 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Can you press F8 and capture the output and then drop it into a pastebin? That would help a lot. Might be good to capture a working call too so that we can compare. -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:41 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Yes it rings, just doesn't transfer to VM on timeout. 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:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID 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.
Michael, did you have a chance to take a look at the ouputs I pastbin yesterday? The only thing I noted is When I called the ext and transfered to VM http://pastebin.freeswitch.org/5649 When called the DID and it didnt transfer to VM http://pastebin.freeswitch.org/5650 -----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:53 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Can you press F8 and capture the output and then drop it into a pastebin? That would help a lot. Might be good to capture a working call too so that we can compare. -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:41 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID Yes it rings, just doesn't transfer to VM on timeout. 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:38 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Voicemail x DID 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.
participants (4)
-
Brian West
-
Jair Santos
-
Michael Collins
-
Michael Jerris