friends-of-freeswitch / switchio

asyncio powered FreeSWITCH cluster control
http://switchio.rtfd.io
Mozilla Public License 2.0
191 stars 28 forks source link

Client shouldn't modify call_tracking_header by default? #48

Open goodboy opened 6 years ago

goodboy commented 6 years ago

When creating a switchio.Client the associated switchio.EventListener.call_tracking_header is modified to be 'switchio_originating_session'. I'm wondering if this should only be done when it's intended for the client to be used as an outbound dialer. Maybe there should be a containing dialer type which provides the originate() interface?