[Asterisk-video] Error while compiling app_transcoder

Tobias Wolf tobias.wolf at evision.de
Mon Nov 10 17:19:28 CST 2008


Emmanuel BUU schrieb:
> Tobias Wolf a écrit :
>> Emmanuel BUU schrieb:
>>   
>>> probably ffmpeg
>>>
>>> and it is probable that in your case ffmpeg was compiled from source 
>>> and therefore installed by default in /usr/local/lib maybe this 
>>> conflict with another version of ffmpeg library installed on your system.
>>>     
>> the problems was that ffmpeg compiles per default without shared libs. 
>> once i recompiled ffmpeg with shared libs enabled, and after that 
>> compiled app_transcode again it succesfully loaded in asterisk.
>>
>> tomorrow i will see, if i get it into action ;)
>>
>> another question arises to me:
>>
>> if i got an incoming call, it maybe of interest to me, if it is an video 
>> call or just an voice call. normal voice calls i could route to an voip 
>> phone with no video capabilities but video calls should go to devices 
>> that support video.
>>   
> There is a channel variable that is set when you receive an ISDN 
> incoming call and that enables you to differenciate the processing of 
> audio and video calls
well, thanks ;) this i thought for myself too, because it would be the 
easiest way. my first guess was to use the function CHANNEL():
R/O 	*videonativeformat* 	format used natively for video


This sounded just like the information i wanted. But
exten => 555,n,Set(video=${CHANNEL(videonativeformat)})

keeps being empty, whatever call i make (with video or without video).

Other variables i tried were:

${ANI2}                 * The ANI2 Code provided by the network on the 
incoming call.
                        (ie, Code 29 identifies call as a Prison/Inmate 
Call)
${CALLTYPE}             * Type of call (Speech, Digital, etc)

ANI2 keeps being 0 and CALLTYPE keeps being empty ...

any other variables i overlooked so far that might proof useful ?


regards,

tobias



More information about the asterisk-video mailing list