How use Linphone SDK with Asterisk?

Work I did yet,

  • Install asterisk in Ubuntu(Guest OS)
  • Install Linphone exe on my Host OS(Windows)
  • Use PJSIP for creating an extension
  • Register those extensions(Only 2 extension for test only) in Linphone
  • Make a call and check audio is coming and going clearly, And It is perfect

What I have to do now,

  • Now as I can see on Linphone( we can use sdk for making a custom app
  • I want to make python script using that I can take stream audio
  • So using Linphone app I make calls using Asterisk server but to take audio stream I want python script