Guest User

atxfer.patch

a guest
Nov 6th, 2013
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.90 KB | None | 0 0
  1. Index: include/asterisk/file.h
  2. ===================================================================
  3. --- include/asterisk/file.h (revision 402515)
  4. +++ include/asterisk/file.h (working copy)
  5. @@ -47,6 +47,7 @@
  6.  #define AST_DIGIT_NONE ""
  7.  #define AST_DIGIT_ANY "0123456789#*ABCD"
  8.  #define AST_DIGIT_ANYNUM "0123456789"
  9. +#define AST_DIGIT_ALPHANUM "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
  10.  
  11.  #define SEEK_FORCECUR  10
  12.  
  13. Index: main/features.c
  14. ===================================================================
  15. --- main/features.c (revision 402515)
  16. +++ main/features.c (working copy)
  17. @@ -2707,7 +2707,7 @@
  18.     ast_indicate(transferee, AST_CONTROL_HOLD);
  19.  
  20.     /* Transfer */
  21. -   res = ast_stream_and_wait(transferer, "pbx-transfer", AST_DIGIT_ANY);
  22. +   res = ast_stream_and_wait(transferer, "pbx-transfer", AST_DIGIT_ALPHANUM);
  23.     if (res < 0) {
  24.         finishup(transferee);
  25.         return -1;
Advertisement
Add Comment
Please, Sign In to add comment