lkcverma9 / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

No early audio in outgoing sipml call to an extension. #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When i call from an extension registered through sipml5 to my another asterisk 
extension , I can hear the audio when call is been answered . For that 
extension , i am playing a playback audio before call answer. But , i cannot 
hear that audio. When i check asterisk , audio is playing but cannot hear that 
audio. Sipml5 event at that case is not connected. 

Is there any method to get early media before connected event.

Original issue reported on code.google.com by iju4u...@gmail.com on 24 Apr 2015 at 5:20

GoogleCodeExporter commented 9 years ago
I am new to sipml5 and webrtc. Does i need to add any sip headers to hear early 
audio

Original comment by iju4u...@gmail.com on 24 Apr 2015 at 5:22

GoogleCodeExporter commented 9 years ago
Early media can be played with no answer by editing sip conf values.

1) Set "prematuremedia" param to 'no' 2) Set "progressinband" param to 'never'

Then giving Progress() command at beginning of dial plan and later a 
Playback(demo-congrats,noanswer) will play the audio on caller side.

Original comment by iju4u...@gmail.com on 29 Apr 2015 at 5:46