Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

About

Dumps channel information to console.

 Click here to expand Table of Contents

Usage

info 
<action application="info"/> 

To execute on B-leg:

 <action application="set" data="bridge_pre_execute_bleg_app=info"/>

Example with a different loglevel from a Lua script:

session1:execute("info","notice");

Example Output:

Channel-State: [CS_EXECUTE]
Channel-State-Number: [4]
Channel-Name: [sofia/default/8375555555@201.23.23.23:5060]
Unique-ID: [de6d3a27-0ab6-44a8-8526-9b7ad7178678f]
Call-Direction: [inbound]
Answer-State: [ringing]
Caller-Username: [8375555555]
Caller-Dialplan: [XML]
Caller-Caller-ID-Name: [Sales]
Caller-Caller-ID-Number: [8375555555]
Caller-Network-Addr: [201.23.23.23]
Caller-Destination-Number: [18666666]
Caller-Unique-ID: [de6d3a27-0ab6-44a8-8526-9b7ad717868f]
Caller-Source: [mod_sofia]
Caller-Context: [public]
Caller-Channel-Name: [sofia/default/8375555555@201.23.23.23:5060]
Caller-Channel-Created-Time: [1200419712919622]
Caller-Channel-Answered-Time: [0]
Caller-Channel-Hangup-Time: [0]
Caller-Channel-Transfer-Time: [0]
Caller-Screen-Bit: [yes]
Caller-Privacy-Hide-Name: [no]
Caller-Privacy-Hide-Number: [no]
variable_sip_from_user: [8375555555]
variable_sip_from_port: [5060]
variable_sip_from_uri: [8375555555@201.23.23.23:5060]
variable_sip_from_host: [204.8.45.222]
variable_sip_from_user_stripped: [8375555555]
variable_sip_from_tag: [88yvja0mNyp3p]
variable_sofia_profile_name: [default]
variable_sip_req_user: [18666666666]
variable_sip_req_port: [5060]
variable_sip_req_uri: [18666666666@me.sip.net:5060]
variable_sip_req_host: [me.sip.net]
variable_sip_to_user: [18666666666]
variable_sip_to_port: [5060]
variable_sip_to_uri: [18666666666@me.sip.net:5060]
variable_sip_to_host: [me.sip.net]
variable_sip_contact_user: [mod_sofia]
variable_sip_contact_port: [5060]
variable_sip_contact_uri: [mod_sofia@201.23.23.23:5060]
variable_sip_contact_host: [201.23.23.23]
variable_channel_name: [sofia/default/8375555555@201.23.23.23:5060]
variable_sip_call_id: [cfb9150c-3e36-122b-00a9-000129d33f51]
variable_sip_user_agent: [FreeSWITCH-1.0.pre3 (7186M)-mod_sofia]
variable_sip_via_host: [201.23.23.23]
variable_sip_via_rport: [5060]
variable_max_forwards: [69]
variable_switch_r_sdp: [v=0
o=root 7072041227276668419 3964445222237936217 IN IP4 209.8.16.222
s=session
c=IN IP4 45.12.161.142
t=0 0
m=audio 17172 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
 
variable_endpoint_disposition: [RECEIVED_NOMEDIA]