EvoluxBR / greenswitch

Battle proven FreeSWITCH Event Socket Protocol client implementation with Gevent
Other
126 stars 50 forks source link

Added function to return specified channel variable #58

Open nickvsnetworking opened 4 years ago

nickvsnetworking commented 4 years ago

Added a simple function to get a specific FreeSWITCH channel variable passed to it, for example to get the sip_received_ip channel variable:

sip_received_ip = self.session.get_channel_variable('sip_received_ip') print(str(sip_received_ip))

List of channel variables for FreeSWITCH.