[Asterisk-Dev] video in iax2 spec

Stefano Falsetto falsetto at gnu.org
Thu Jul 7 07:11:57 MST 2005


Hi List!

I'm interested in developing audio/video transport in iaxclient. 
I'm reading vtestcall code from iaxclient CVS, and I've some question about 
it.
First of all: the output file. I've still not understand what data format is 
using. It's very sparse, with some data and many 0-padding data... What is 
it?
Second: the video output is broken. I can see only green/purple blobs...

Third: the call terminate unexplectely.
I'm using testcall with following command line:

./testcall -F 23 15 90000 352 288 -V -f iax_output.raw 127.0.0.1

At this moment asterisk is responding calls originated from testcall, and it
say that it is playing the audio files from default extension (I'm using a 
"default" configuration, with dialplan taken from examples). I dont hear 
nothing. I suppose that audio will go to iax_output.raw file, but I don't 
understand where all audio data can be stored in an almost completely 
0-filled file.
After a random time, asterisk hangup with the error reported in following 
output (begining from answer call):

   -- Accepting unauthenticated call from 127.0.0.1, requested format = 4, 
actual format = 2
    -- Executing Wait("IAX2/guest at 127.0.0.1:32834/1", "1") in new stack
    -- Executing Answer("IAX2/guest at 127.0.0.1:32834/1", "") in new stack
    -- Executing DigitTimeout("IAX2/guest at 127.0.0.1:32834/1", "5") in new 
stack
    -- Set Digit Timeout to 5
    -- Executing ResponseTimeout("IAX2/guest at 127.0.0.1:32834/1", "10") in new 
stack
    -- Set Response Timeout to 10
    -- Executing BackGround("IAX2/guest at 127.0.0.1:32834/1", "demo-congrats") 
in new stack
    -- Playing 'demo-congrats' (language 'en')
    -- Executing BackGround("IAX2/guest at 127.0.0.1:32834/1", "demo-instruct") 
in new stack
    -- Playing 'demo-instruct' (language 'en')
Jul  7 16:03:10 WARNING[17205]: chan_iax2.c:1477 attempt_transmit: Max retries 
exceeded to host 127.0.0.1 on IAX2/guest at 127.0.0.1:32834/1 (type = 6, 
subclass = 11, ts=10021, seqno=4)
Jul  7 16:03:10 WARNING[20427]: file.c:550 ast_readaudio_callback: Failed to 
write frame
  == Spawn extension (default, s, 6) exited non-zero on 
'IAX2/guest at 127.0.0.1:32834/1'
    -- Hungup 'IAX2/guest at 127.0.0.1:32834/1'


There is someone that can help me? 
Steve, are you still working to this project?
There is someone that is interested to make this "proof of concept" somethig 
useful?


-- 
Cheers,
  Stefano Falsetto
  GNU Rot[t]Log maintainer
    http://www.gnu.org/software/rottlog



More information about the asterisk-dev mailing list