[Freeswitch-users] bind digit action not working

Rodney notlikeme75 at yahoo.com
Sat Dec 24 01:12:34 MSK 2011


Michael, 


I appreciate all the help you have given me but I am still struggling on the BDA. I put it exactly how you did and still it doesn't show in console when i press # and I get no response.

 condition      destination_number      ^501$      1      
  action      answer            2      
  action      set      conference_user_list=|      4      
  action      bind_digit_action      xfer,#,exec:transfer,759 XML default      5      
  action      digit_action_set_realm      xfer      6      
  action      playback      C:/Program Files/FreeSWITCH/sounds/en/us/callie/digits/8000/1.wav      8      
  action      conference      501-127.0.0.1 at default



________________________________
 From: "freeswitch-users-request at lists.freeswitch.org" <freeswitch-users-request at lists.freeswitch.org>
To: freeswitch-users at lists.freeswitch.org 
Sent: Friday, December 23, 2011 4:27 PM
Subject: FreeSWITCH-users Digest, Vol 66, Issue 159
 
----- Forwarded Message -----

Send FreeSWITCH-users mailing list submissions to
    freeswitch-users at lists.freeswitch.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
or, via email, send a message with subject or body 'help' to
    freeswitch-users-request at lists.freeswitch.org

You can reach the person managing the list at
    freeswitch-users-owner at lists.freeswitch.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeSWITCH-users digest..."

Today's Topics:

   1. Re: transfer back to ivr after voicemail function
      (Michael Collins)
   2. transfer from static conf to dynamic destination    out of
      order. (Rodney)
   3. Re: transfer from static conf to dynamic destination out of
      order. (Michael Collins)

Just have more actions after voicemail in the dialplan. Also, you may wish to modify the voicemail_goodbye macro if you don't want it to say "thank you, goodbye" when exiting VM.

-MC


On Thu, Dec 22, 2011 at 12:49 PM, Rodney <notlikeme75 at yahoo.com> wrote:

I am trying to transfer someone back to the IVR after they leave a message for someone or check their own mailbox. currently it does a hangup and they have to call back to do more.  is there a method for this? or is it hard coded in the "press # to continue portion of voice mail?
>
>
>
>
>check voice mail
>
>
>condition      destination_number      ^757$      1      
>  action      answer            3      
>  action      sleep      1000      4      
>  action     
 play_and_get_digits      4 4 3 5000 # checkvoicemail.wav ivr/ivr-that_was_an_invalid_entry.wav vmb \d+      12      
>  action      phrase      spell,${vmb}      15      
>  action      voicemail     check default ${domain_name} ${vmb}
>
>
>
>
>leave message
>
>
>
>
>  condition      destination_number      ^758$      1      
>  action      answer            3      
>  action      sleep      1000      4      
>  action   
   play_and_get_digits      4 4 3 5000 # checkvoicemail.wav ivr/ivr-that_was_an_invalid_entry.wav vmb \d+      12      
>  action      phrase      spell,${vmb}      15      
>  action      voicemail     default ${domain_name} ${vmb}
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
>

MC, I will open up a jira for this possible bug. any help on the bind digit action would be great. i failed last time i tried. can bind digit action be single digit? this is what i am hoping for but i still want that digit to be "pound" i am thinking it wont work though. my extension into the static conference looks like this. where do put the bind digit action? 

before i have tried:

backforward,7,exec:execute_extension,502 XML default  (so pressing dtmf 7 while in static conf 501 would transfer to 502) but didnt work. didnt even show up as binding the "backforward" realm in console.

condition     
 destination_number      ^501$      1      
  action      set      conference_user_list=|      4      
  action      playback      C:/Program Files/FreeSWITCH/sounds/en/us/callie/digits/8000/1.wav      8      
  action      answer            9      
  action      conference      501-127.0.0.1 at default





any idea why it just hangs up and never gives me the extension? extension works if i put it on the ivr.

http://pastebin.freeswitch.org/18064


~rodney

This looks like a possible bug. I can replicate on my system. I was able to use bind_digit_action to work around the issue. Open a Jira on this and report what you've got. Let me know if you need help trying out bind_digit_action (BDA).

-MC


On Fri, Dec 23, 2011 at 10:31 AM, Rodney <notlikeme75 at yahoo.com> wrote:

any idea why it just hangs up and never gives me the extension? extension works if i put it on the ivr.
>
>
>http://pastebin.freeswitch.org/18064
>
>
>
>~rodney
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Edit your conference.conf.xml and remove the # action in the caller controls. Then add something like this to the dialplan prior to going into the conference:


<action application="bind_digit_action" data="xfer,#,exec:transfer,759 XML default"/>
<action application="digit_action_set_realm" data="xfer"/>
Note that you can change the BDA realm to something else if you want to change the meaning of the # key. That's why BDA is so awesome - you can do ANYTHING with it!
-MC


On Fri, Dec 23, 2011 at 1:05 PM, Rodney <notlikeme75 at yahoo.com> wrote:

MC, I will open up a jira for this possible bug. any help on the bind digit action would be great. i failed last time i tried. can bind digit action be single digit? this is what i am hoping for but i still want that digit to be "pound" i am thinking it wont work though. my extension into the static conference looks like this. where do put the bind digit action? 
>
>before i have tried:
>
>backforward,7,exec:execute_extension,502 XML default  (so pressing dtmf 7 while in static conf 501 would transfer to 502) but didnt work. didnt even show up as binding the "backforward" realm in console.
>
>condition     
 destination_number      ^501$      1      
>  action      set      conference_user_list=|      4      
>  action      playback      C:/Program Files/FreeSWITCH/sounds/en/us/callie/digits/8000/1.wav      8      
>  action      answer            9      
>  action      conference      501-127.0.0.1 at default
>
>
>
>
>
>any idea why it just hangs up and never gives me the extension? extension works if i put it on the ivr.
>
>
>http://pastebin.freeswitch.org/18064
>
>
>
>
>~rodney
>
>This looks like a possible bug. I can replicate on my system. I was able to use bind_digit_action to work around the issue. Open a Jira on this and report what you've got. Let me know if you need help trying out bind_digit_action (BDA).
>
>
>-MC
>
>
>On Fri, Dec 23, 2011 at 10:31 AM, Rodney <notlikeme75 at yahoo.com> wrote:
>
>any idea why it just hangs up and never gives me the extension? extension works if i put it on the ivr.
>>
>>
>>http://pastebin.freeswitch.org/18064
>>
>>
>>
>>~rodney
>>
>>_________________________________________________________________________
>>Professional FreeSWITCH Consulting Services:
>>consulting at freeswitch.org
>>http://www.freeswitchsolutions.com
>>
>>
>>
>>
>>Official FreeSWITCH Sites
>>http://www.freeswitch.org
>>http://wiki.freeswitch.org
>>http://www.cluecon.com
>>
>>FreeSWITCH-users mailing list
>>FreeSWITCH-users at 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 at lists.freeswitch.org
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>http://www.freeswitch.org
>
>
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>FreeSWITCH-users mailing list
>FreeSWITCH-users at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111223/743d11b0/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list