Page 536 - Asterisk™: The Future of Telephony
P. 536

Matches based upon a regular expression.


               SET                                                             Sets a variable

               SET(varname=[value])
               SET assigns a value to a channel variable. It is frequently used to set values that contain
               the character |, since that character is normally a delimiter when used with the appli-
               cation Set().

               See Also
               Set()


               SHA1                                                             SHA-1 digest
               SHA1(data)

               Computes the SHA-1 digest of data.

               See Also
               MD5()


               SIP_HEADER                                                 Retrieves a SIP header
               SIP_HEADER(name[,number])

               Gets the specified SIP header.


               SIPCHANINFO                                           Retrieves info on a SIP channel
               SIPCHANINFO(item)

               Gets the specified SIP parameter from the current channel.
               Valid items are:

               peerip
                   The IP address of this SIP peer
               recvip
                   The source IP address of this SIP peer

               from
                   The SIP URI from the From: header
               uri
                   The SIP URI from the Contact: header


               508 | Appendix E: Asterisk Dialplan Functions
   531   532   533   534   535   536   537   538   539   540   541