Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Wrong # in voicemail


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
brian at freeswitch.org
Guest





PostPosted: Tue Dec 02, 2008 10:01 am    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

Can you show me the full XML for this extension including the regular
expression?

/b

On Dec 2, 2008, at 7:25 AM, ccav wrote:

Quote:
transfer to voicemail is as follows
<action application="answer"/>
<action application="voicemail" data="default $${domain} $2"/>


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
c_cav_01 at yahoo.com
Guest





PostPosted: Tue Dec 02, 2008 2:10 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

-- filename "dialplan/extensions/13033253678.xml" -- This is the primary
DID assigned.

<extension name="3033253678">
<!--<condition field="destination_number"
expression="^[0,1]?3033253678$"/>-->
<condition field="${sip_to_user}" expression="^([0,1]?)(3033253678)$">
<action application="ring_ready"/>
<action application="set" data="${dialed_user}=$2" />
<action application="set" data="ignore_early_media=true"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER,USER_BUSY"/>
<action application="playback"
data="/usr/local/freeswitch/sounds/holdmusic/06.mp3"/>
<action application="set" data="call_timeout=25"/>
<action application="bridge" data="user/$2@$${domain}"/>
<action application="answer"/>
<action application="voicemail" data="default $${domain} $2"/>
</condition>
</extension>


-- filename "dialplan/extensions/18162565804.xml" -- This is the primary
DID assigned.

<extension name="8162565804">
<!--<condition field="destination_number"
expression="^[0,1]?3033253678$"/>-->
<condition field="${sip_to_user}" expression="^([0,1]?)(8162565804)$">
<action application="ring_ready"/>
<action application="set" data="ignore_early_media=true"/>
<action application="set" data="call_timeout=25"/>
<action application="set" data="${dialed_user}=$2"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set"
data="continue_on_fail=NORMAL_TEMPORARY_FAILURE,TIMEOUT,NO_ROUTE_DESINATION,NO_ANSWER,DESTINATION_OUT_OF_ORDER"/>
<action application="playback"
data="/usr/local/freeswitch/sounds/holdmusic/07.mp3"/>
<action application="bridge" data="user/$2@$${domain}"/>
<action application="answer"/>
<action application="voicemail" data="default $${domain} $2"/>
</condition>
</extension>

--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20798791.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
c_cav_01 at yahoo.com
Guest





PostPosted: Tue Dec 02, 2008 2:31 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

Note: while reading up on regex, I see that the ',' in ([0,1]) is superflous,
has been removed. regex is now:
^([01]?)(8162565804)$
Didn't fix the problem but I'm a perfectionist, had to be changed. Very Happy
--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20799146.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
brian at freeswitch.org
Guest





PostPosted: Tue Dec 02, 2008 5:40 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

After you set ${dialed_user}=$2 try using ${dialed_user} everywhere
instead of $2 just to test.

/b

On Dec 2, 2008, at 1:29 PM, ccav wrote:

Quote:

Note: while reading up on regex, I see that the ',' in ([0,1]) is
superflous,
has been removed. regex is now:
^([01]?)(8162565804)$
Didn't fix the problem but I'm a perfectionist, had to be changed. Very Happy
--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20799146.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
c_cav_01 at yahoo.com
Guest





PostPosted: Tue Dec 02, 2008 7:07 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

Made the change, no joy.

Do I need to set sip_req_user to the updated DID?

Also, I misspoke in my first post, apparently the bridge is NOT going
through either. Is there some var/param I can set with $2 so I can see it
in the "info"?
--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20803931.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
c_cav_01 at yahoo.com
Guest





PostPosted: Tue Dec 02, 2008 7:35 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

Okay, I found out who the culprit is, but I still want to find a fix so the
dialplan works like I want.

The <application="playback" causes an answer and early media... When I
comment that out, the voicemail works almost properly. It's clipping the
(81) off the front of the 816 DID, which is probably thinking those are pbx
dialout values. If anyone can tell me where that is set so I can change
it... But the bridge and voicemail both work like they are sposed to.

However, something is happening in playback that is making it impossible to
bridge the call or send it to voicemail properly.

--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804247.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Tue Dec 02, 2008 8:20 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

hehe, careful what you wish for...

On Tue, Dec 2, 2008 at 5:11 PM, ccav <c_cav_01@yahoo.com (c_cav_01@yahoo.com)> wrote:
Quote:

RESOLVED.

Duh, I'm sposed to use ringback, not playback...

Someone should write a book on this... Maybe I will.
--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804652.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
c_cav_01 at yahoo.com
Guest





PostPosted: Tue Dec 02, 2008 8:22 pm    Post subject: [Freeswitch-users] Wrong # in voicemail Reply with quote

RESOLVED.

Duh, I'm sposed to use ringback, not playback...

Someone should write a book on this... Maybe I will.
--
View this message in context: http://www.nabble.com/Wrong---in-voicemail-tp20791453p20804652.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services