login | register
Wed 03 of Dec, 2008 [23:41 UTC]

voip-info.org

Discuss [0] History

Asterisk func sipchaninfo

Created by: murf,Last modification on Sat 14 of Jan, 2006 [04:38 UTC]

Synopsis:

 Gets the specified SIP parameter from the current channel

Description:

 SIPCHANINFO(item)
 
Valid items are:
  • peerip: The IP address of the peer.
  • recvip: The source IP address of the peer.
  • from: The URI from the From: header.
  • uri : The URI from the Contact: header.
  • useragent: The useragent.
  • peername: The name of the peer.


Notes


  • *CLI> show function SIPCHANINFO

Return value

Returns the resulting string.

Example

exten => s,1,Set(foo=${SIPCHANINFO(peername)})


See also



Comments