SIPCHANINFO(Feld
)
peerip
recvip
from
From:
-Headeruri
Contact:
-Headeruseragent
peername
; den Namen des Peers abfragen: exten => 123,1,Set(foo=${SIPCHANINFO(peername)})
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= 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.
- t38passthrough 1 if T38 is offered or enabled in this channel, otherwise 0
--- in Asterisk 1.2
+++ in Asterisk 1.4
@@ -14,3 +14,4 @@
- uri The URI from the Contact: header.
- useragent The useragent.
- peername The name of the peer.
+ - t38passthrough 1 if T38 is offered or enabled in this channel, otherwise 0