Skip to content
Snippets Groups Projects
  1. Jun 17, 2005
  2. Jun 15, 2005
  3. Jun 14, 2005
  4. Jun 06, 2005
  5. Jun 03, 2005
  6. May 25, 2005
  7. May 15, 2005
  8. May 05, 2005
  9. Apr 22, 2005
  10. Apr 21, 2005
  11. Apr 13, 2005
  12. Mar 29, 2005
  13. Feb 23, 2005
  14. Jan 21, 2005
  15. Jan 17, 2005
  16. Jan 10, 2005
  17. Oct 27, 2004
  18. Oct 22, 2004
    • Anthony Minessale II's avatar
      This patch adds a new api call: · 4f2438ac
      Anthony Minessale II authored
      int pbx_builtin_serialize_variables(struct ast_channel *chan, char *buf, size_t size);
      takes a chan and a char * 'buf' assumed to be 'size' bytes.
      
      The function fills 'buf' with a <CR>('\n') delimited list of name,value pairs in turn delimeted by '='
      eg:
      SIPCALLID=f30e4e72-f715193f@1.2.3.4
      SIPUSERAGENT=Sipura/SPA2000-2.0.6(c)
      SIPDOMAIN=1.2.3.4
      
      It returns the acutal number of variables encountered.
      If the attempt to fill 'buf' goes beyond 'size' bytes the operation is halted and the incomplete string is returned as is.
      
      To demonstrate a use for this, the "show channel <channame>" command has been retrofitted with the call so it also dumps all of the chan's vars
      
      *CLI> show channel Zap/5-1
       -- General --
                 Name: Zap/5-1
                 Type: Zap
             UniqueID: 1098480666.17
            Caller ID: 4999
       Caller ID Name: Tony
          DNID Digits: (N/A)
                State: Up (6)
                Rings: 0
         NativeFormat: 68
          WriteFormat: 4
           ReadFormat: 4
      1st File Descriptor: 22
            Frames in: 41969
           Frames out: 83240
       Time to Hangup: 0
         Elapsed Time: 0h13m54s
       --   PBX   --
              Context: phone1
            Extension: 4994
             Priority: 2
           Call Group: 2
         Pickup Group: 2
          Application: Dial
                 Data: IAX2/ulaw@cube1/00010014994@croip
                Stack: 0
          Blocking in: ast_waitfor_nandfds
      Variables:
      DIALEDPEERNUMBER=ulaw@cube1/00010014994@croip
      DIALEDPEERNAME=IAX2/cube1/3
      CALLTYPE=SPEECH
      tempvar=tempval
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      4f2438ac
  19. Oct 03, 2004
  20. Oct 02, 2004
  21. Sep 24, 2004
  22. Sep 10, 2004
  23. Jul 09, 2004
  24. Jun 28, 2004
  25. Jun 22, 2004
  26. Jun 20, 2004
  27. Jun 09, 2004
  28. May 06, 2004
  29. Apr 21, 2004
  30. Jan 11, 2004
  31. Sep 17, 2003
  32. Sep 12, 2003
    • Martin Pycko's avatar
      · 4828759a
      Martin Pycko authored
      Add distinguishing between BUSY and FAILURE for outgoing spool calls. Always save CDR record (even if the call fails). If the call fails try to see if there is
      "failed" extension in the specified context (only if you use context,extension,priority syntax) and execute it.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      4828759a
  33. Aug 13, 2003
  34. May 30, 2003
  35. Mar 30, 2003
  36. Feb 02, 2003
Loading