<div dir="ltr">Hi,<div><br></div><div>I am facing an issue, in my python script whenever user hangs up Freeswitch crashes with following logs:<br></div><div><br></div><div><div>7f290a7ee000-7f290a7ef000 r--p 0000d000 08:02 129175424 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3</div><div>7f290a7ef000-7f290a7f0000 rw-p 0000e000 08:02 129175424 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.3</div><div>7f290a7f0000-7f290a834000 r-xp 00000000 08:02 129173227 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2</div><div>7f290a834000-7f290aa34000 ---p 00044000 08:02 129173227 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2</div><div>7f290aa34000-7f290aa35000 r--p 00044000 08:02 129173227 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2</div><div>7f290aa35000-7f290aa37000 rw-p 00045000 08:02 129173227 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2</div><div>7f290aa37000-7f290aa50000 r-xp 00000000 08:02 129172855 /usr/lib/x86_64-linux-gnu/librtmp.so.0</div></div><div><br></div><div><br></div><div>I am using version - 1.6.15~64bit</div><div><br></div><div>My Python Script looks something like this;</div><div><br></div><div>def hangup_hook(session, what, args=' '):<br></div><div><div> freeswitch.consoleLog("INFO", "hangup hook for '%s'\n" % what)</div><div><br></div></div><div><div>def handler(session, args):</div><div> </div><div> session.setHangupHook(hangup_hook)</div><div> session.setInputCallback(input_callback)</div><div><br></div><div> print('session object value is ', str(session))</div><div><br></div><div> callerid = session.getVariable('caller_id_number')<br></div><div> call_uuid = session.getVariable('uuid')</div><div><br></div><div> phone_number = callerid[len(callerid)-10:]</div><div> initial_greeting(session, phone_number, call_uuid)</div><div><br></div><div>-- <br></div></div><div><div class="gmail_signature"><div dir="ltr">Regards,<div>Deepika</div><div><a href="https://deepikay.wixsite.com/deepika" target="_blank">https://deepikay.wixsite.com/deepika</a><br></div></div></div>
</div></div>