VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 5:19 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
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 sofia/external/5888606894@216.143.130.65 ([email]sofia/external/5888606894@216.143.130.65[/email])!
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 sofia/external/5888606894@216.143.130.65 ([email]sofia/external/5888606894@216.143.130.65[/email]) [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_602457c9-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 (sofia/external/5888606894@216.143.130.65 ([email]sofia/external/5888606894@216.143.130.65[/email])) Ended
2008-09-24 14:43:38 [NOTICE] switch_core_session.c:809 switch_core_session_thread() Close Channel sofia/external/5888606894@216.143.130.65 ([email]sofia/external/5888606894@216.143.130.65[/email]) [CS_HANGUP]
Any help will be appreciated.
thanks
Jair Santos |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Wed Sep 24, 2008 5:28 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
On Sep 24, 2008, at 6:17 PM, Jair Santos wrote:
Quote: | 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. |
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 6:03 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
Thank you ,
but if I don't transfer the extension won't ring.
Jair
Quote: |
-----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:
Quote: | 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.
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 24, 2008 6:06 pm Post subject: [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:
Quote: |
Thank you ,
but if I don't transfer the extension won't ring.
Jair
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 6:11 pm Post subject: [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>
Quote: |
-----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:
Quote: |
Thank you ,
but if I don't transfer the extension won't ring.
Jair
|
|
|
|
Back to top |
|
|
mcollins at fcnetwork.com Guest
|
Posted: Wed Sep 24, 2008 6:18 pm Post subject: [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
Quote: |
-----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.
|
|
|
Back to top |
|
|
mcollins at fcnetwork.com Guest
|
Posted: Wed Sep 24, 2008 6:19 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
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>
Quote: |
-----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
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 6:23 pm Post subject: [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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Sep 24, 2008 6:25 pm Post subject: [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:
Quote: | <action application="transfer" data="1000"/> |
|
|
Back to top |
|
|
mcollins at fcnetwork.com Guest
|
Posted: Wed Sep 24, 2008 6:40 pm Post subject: [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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 6:40 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
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
Quote: |
-----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:
Quote: | <action application="transfer" data="1000"/> |
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 6:42 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
Yes it rings, just doesn't transfer to VM on timeout.
Jair
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
|
Back to top |
|
|
mcollins at fcnetwork.com Guest
|
Posted: Wed Sep 24, 2008 6:55 pm Post subject: [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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 9:17 pm Post subject: [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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
|
|
Back to top |
|
|
jairds at shaw.ca Guest
|
Posted: Wed Sep 24, 2008 9:25 pm Post subject: [Freeswitch-users] Voicemail x DID |
|
|
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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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
Quote: |
-----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.
|
|
|
|
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|