[Asterisk-Users] How to restrict simultaneous phone registrations

Alexander Lopez Alex.Lopez at OpSys.com
Wed Apr 5 21:09:36 MST 2006


You can grab the DeviceIP and what it is NATed as with the SIPCHANINFO
function:


show function SIPCHANINFO

  -= Info about function 'SIPCHANINFO' =-

[Syntax]
SIPCHANINFO(item)

[Synopsis]
Gets the specified SIP parameter from the current channel

[Description]
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.

> -----Original Message-----
<SNIP>



More information about the asterisk-users mailing list