[Asterisk-video] No video through openvox b100p rdsi bri

Felipe Flores felipeflorest at gmail.com
Tue Sep 8 22:08:04 CDT 2009


Hello Liu
I've the TIFFReverseBits comment out,
How can I check AMR codec/decodec ?
Those tests were made in asterisk-1.4.25.1
with this amr patch
http://lists.digium.com/pipermail/asterisk-video/attachments/20090710/46cafa99/attachment.txt
Taken from the list:
http://lists.digium.com/pipermail/asterisk-video/2009-July/002689.html
-------------------------------------------------------------------------------------------------------------
Here is the output for codecs:
video*CLI> show codecs
Disclaimer: this command is for informational purposes only.
        It does not indicate anything about your configuration.
        INT    BINARY        HEX   TYPE       NAME   DESC
--------------------------------------------------------------------------------
          1 (1 <<  0)      (0x1)  audio       g723   (G.723.1)
          2 (1 <<  1)      (0x2)  audio        gsm   (GSM)
          4 (1 <<  2)      (0x4)  audio       ulaw   (G.711 u-law)
          8 (1 <<  3)      (0x8)  audio       alaw   (G.711 A-law)
         16 (1 <<  4)     (0x10)  audio   g726aal2   (G.726 AAL2)
         32 (1 <<  5)     (0x20)  audio      adpcm   (ADPCM)
         64 (1 <<  6)     (0x40)  audio       slin   (16 bit Signed Linear
PCM)
        128 (1 <<  7)     (0x80)  audio      lpc10   (LPC10)
        256 (1 <<  8)    (0x100)  audio       g729   (G.729A)
        512 (1 <<  9)    (0x200)  audio      speex   (SpeeX)
       1024 (1 << 10)    (0x400)  audio       ilbc   (iLBC)
       2048 (1 << 11)    (0x800)  audio       g726   (G.726 RFC3551)
       4096 (1 << 12)   (0x1000)  audio       g722   (G722)
       8192 (1 << 13)   (0x2000)  audio        amr   (AMR NB)
      65536 (1 << 16)  (0x10000)  image       jpeg   (JPEG image)
     131072 (1 << 17)  (0x20000)  image        png   (PNG image)
     262144 (1 << 18)  (0x40000)  video       h261   (H.261 Video)
     524288 (1 << 19)  (0x80000)  video       h263   (H.263 Video)
    1048576 (1 << 20) (0x100000)  video      h263p   (H.263+ Video)
    2097152 (1 << 21) (0x200000)  video       h264   (H.264 Video)
-------------------------------------------------------------------------------------------------------------
With mp4play i've got:
[3gp_videos]

exten => _X.,1,H324m_gw_answer()
exten => _X.,n,mp4play(/var/videos/videoplay.mp4)
-------------------------------------------------------------------------------------------------------------
    -- Executing [0012166503 at from-misdn:1] Goto("mISDN/1-u2",
"default|0012166503|1") in new stack
    -- Goto (default,0012166503,1)
    -- Executing [0012166503 at default:1] h324m_gw("mISDN/1-u2",
"0012166503 at 3gp_videos") in new stack
    -- Executing [0012166503 at 3gp_videos:1]
h324m_gw_answer("Local/0012166503 at 3gp_videos-b15b,2", "") in new stack
video*CLI> show channel Local/0012166503 at 3gp_vide
Local/0012166503 at 3gp_videos-b15b,2  Local/0012166503 at 3gp_videos-b15b,1
video*CLI> show channel Local/0012166503 at 3gp_videos-b15b,1
 -- General --
           Name: Local/0012166503 at 3gp_videos-b15b,1
           Type: Local
       UniqueID: 1252464663.7
      Caller ID: 992773912
 Caller ID Name: (N/A)
    DNID Digits: (N/A)
          State: Up (6)
          Rings: 0
  NativeFormats: 0x182000 (amr|h263|h263p)
    WriteFormat: 0x2000 (amr)
     ReadFormat: 0x2000 (amr)
 WriteTranscode: No
  ReadTranscode: No
1st File Descriptor: -1
      Frames in: 2
     Frames out: 0
 Time to Hangup: 0
   Elapsed Time: 0h0m18s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: 3gp_videos
      Extension: 0012166503
       Priority: 1
     Call Group: 0
   Pickup Group: 0
    Application: (N/A)
           Data: (None)
    Blocking in: ast_waitfor_nandfds
      Variables:
MISDN_PID=4

  CDR Variables:
level 1: dst=0012166503
level 1: dcontext=3gp_videos
level 1: channel=Local/0012166503 at 3gp_videos-b15b,1
level 1: start=2009-09-08 21:51:03
level 1: duration=0
level 1: billsec=0
level 1: disposition=NO ANSWER
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1252464663.7

video*CLI> show channel Local/0012166503 at 3gp_videos-b15b,2
 -- General --
           Name: Local/0012166503 at 3gp_videos-b15b,2
           Type: Local
       UniqueID: 1252464663.8
      Caller ID: 992773912
 Caller ID Name: (N/A)
    DNID Digits: (N/A)
          State: Up (6)
          Rings: 0
  NativeFormats: 0x182000 (amr|h263|h263p)
    WriteFormat: 0x2000 (amr)
     ReadFormat: 0x2000 (amr)
 WriteTranscode: No
  ReadTranscode: No
1st File Descriptor: -1
      Frames in: 0
     Frames out: 0
 Time to Hangup: 0
   Elapsed Time: 0h0m21s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: 3gp_videos
      Extension: 0012166503
       Priority: 1
     Call Group: 0
   Pickup Group: 0
    Application: h324m_gw_answer
           Data: (Empty)
    Blocking in: ast_waitfor_nandfds
      Variables:
MISDN_PID=4

  CDR Variables:
level 1: clid=992773912
level 1: src=992773912
level 1: dst=0012166503
level 1: dcontext=3gp_videos
level 1: channel=Local/0012166503 at 3gp_videos-b15b,2
level 1: lastapp=h324m_gw_answer
level 1: start=2009-09-08 21:51:03
level 1: answer=2009-09-08 21:51:03
level 1: duration=0
level 1: billsec=0
level 1: disposition=ANSWERED
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1252464663.8

video*CLI> show channel mISDN/1-u2
 -- General --
           Name: mISDN/1-u2
           Type: mISDN
       UniqueID: 1252464663.6
      Caller ID: 992773912
 Caller ID Name: (N/A)
    DNID Digits: (N/A)
          State: Up (6)
          Rings: 1
  NativeFormats: 0x8 (alaw)
    WriteFormat: 0x8 (alaw)
     ReadFormat: 0x8 (alaw)
 WriteTranscode: No
  ReadTranscode: No
1st File Descriptor: 29
      Frames in: 1607
     Frames out: 1607
 Time to Hangup: 0
   Elapsed Time: 0h0m26s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: default
      Extension: 0012166503
       Priority: 1
     Call Group: 0
   Pickup Group: 0
    Application: h324m_gw
           Data: 0012166503 at 3gp_videos
    Blocking in: ast_waitfor_nandfds
      Variables:
CALLTYPE=DIGITAL
TRANSFERCAPABILITY=DIGITAL
MISDN_URATE=-1
MISDN_ADDRESS_COMPLETE=1
MISDN_PID=4

  CDR Variables:
level 1: clid=992773912
level 1: src=992773912
level 1: dst=012166503
level 1: dcontext=default
level 1: channel=mISDN/1-u2
level 1: lastapp=h324m_gw
level 1: lastdata=0012166503 at 3gp_videos
level 1: start=2009-09-08 21:51:03
level 1: answer=2009-09-08 21:51:03
level 1: duration=0
level 1: billsec=0
level 1: disposition=ANSWERED
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1252464663.6

  == Spawn extension (3gp_videos, 0012166503, 1) exited non-zero on
'Local/0012166503 at 3gp_videos-b15b,2'
  == Spawn extension (default, 0012166503, 1) exited non-zero on
'mISDN/1-u2'

Thanks for your help

Felipe


On Tue, Sep 8, 2009 at 8:30 PM, Liu Jianquan <liujianquan at gmail.com> wrote:

> Hi, there's a patch for h324m reversing bits, be sure that you have remove
> note from TIFFReverseBits  in h324m.cpp,
>
> //TIFFReverseBits(buffer,len);   //remove the note if mISDN
>
> and you'd better check AMR codec/decodec.
>
> Have you tried MP4Play?
>
>
> Liu
>
>
>
> 2009/9/9 Felipe Flores <felipeflorest at gmail.com>
>
> Hello Liu
>> Thanks for your response
>> Adding that recommendation to my dialplan i've the next output
>>
>> -- Executing [0012166503 at from-misdn:1] Goto("mISDN/1-u1",
>> "default|0012166503|1") in new stack
>>     -- Goto (default,0012166503,1)
>>     -- Executing [0012166503 at default:1] h324m_gw("mISDN/1-u1",
>> "0012166503 at 3gp_videos") in new stack
>>     -- Executing [0012166503 at 3gp_videos:1]
>> h324m_gw_answer("Local/0012166503 at 3gp_videos-87c5,2", "") in new stack
>> video*CLI> show channels
>> Channel              Location             State   Application(Data)
>> Local/0012166503 at 3gp 0012166503 at 3gp_video Up      h324m_gw_answer()
>> Local/0012166503 at 3gp 0012166503 at 3gp_video Up      (None)
>> mISDN/1-u1           0012166503 at default:1 Up      h324m_gw(0
>> video*CLI> misdn show channel mISDN/1-u1
>> * Pid:3 Prt:1 Ch:1 Mode:TE Org:I dad:0012166503 oad:992773912 rad:
>> ctx:default state:CONNECTED
>>
>> video*CLI> show channel mISDN/1-u1
>>  -- General --
>>            Name: mISDN/1-u1
>>            Type: mISDN
>>        UniqueID: 1252442299.3
>>       Caller ID: 992773912
>>  Caller ID Name: (N/A)
>>     DNID Digits: (N/A)
>>           State: Up (6)
>>           Rings: 1
>>   NativeFormats: 0x8 (alaw)
>>     WriteFormat: 0x8 (alaw)
>>      ReadFormat: 0x8 (alaw)
>>  WriteTranscode: No
>>   ReadTranscode: No
>> 1st File Descriptor: 29
>>       Frames in: 2071
>>      Frames out: 2071
>>  Time to Hangup: 0
>>    Elapsed Time: 0h0m34s
>>   Direct Bridge: <none>
>> Indirect Bridge: <none>
>>  --   PBX   --
>>         Context: default
>>       Extension: 0012166503
>>        Priority: 1
>>      Call Group: 0
>>    Pickup Group: 0
>>     Application: h324m_gw
>>            Data: 0012166503 at 3gp_videos
>>     Blocking in: ast_waitfor_nandfds
>>       Variables:
>> CALLTYPE=DIGITAL
>> TRANSFERCAPABILITY=DIGITAL
>> MISDN_URATE=-1
>> MISDN_ADDRESS_COMPLETE=1
>> MISDN_PID=3
>>
>>   CDR Variables:
>> level 1: clid=992773912
>> level 1: src=992773912
>> level 1: dst=012166503
>> level 1: dcontext=default
>> level 1: channel=mISDN/1-u1
>> level 1: lastapp=h324m_gw
>> level 1: lastdata=0012166503 at 3gp_videos
>> level 1: start=2009-09-08 15:38:19
>> level 1: answer=2009-09-08 15:38:19
>> level 1: duration=0
>> level 1: billsec=0
>> level 1: disposition=ANSWERED
>> level 1: amaflags=DOCUMENTATION
>> level 1: uniqueid=1252442299.3
>>   == Spawn extension (3gp_videos, 0012166503, 1) exited non-zero on
>> 'Local/0012166503 at 3gp_videos-87c5,2'
>>   == Spawn extension (default, 0012166503, 1) exited non-zero on
>> 'mISDN/1-u1'
>>
>> As a result i can't save any video 3gp file
>>
>> Thanks for your help
>>
>>
>>
>> On Tue, Sep 8, 2009 at 9:14 AM, Liu Jianquan <liujianquan at gmail.com>wrote:
>>
>>> Hi, the 3g video call should not be answered immediately , you'd better
>>> use h324m_gw and h324m_gw_answer ,  just try this dialplan:
>>>
>>>
>>>
>>> [from-misdn]
>>> exten => _X.,1,Goto(default,${EXTEN},1)
>>>
>>> [default]
>>>
>>> exten => _X.,1,H324m_gw(${EXTEN}@3gp_videos)
>>>
>>>
>>> [3gp_videos]
>>>
>>>
>>>
>>> exten => _X.,,1,H324m_gw_answer()
>>>
>>> exten => _X.,n,mp4save(/tmp/test.3gp)
>>>
>>>
>>>
>>> Liu
>>>
>>>
>>> 2009/9/3 Felipe Flores <felipeflorest at gmail.com>
>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> Hello
>>>> i´ve installed asterisk 1.4.19.1 + misdn-1.2 + video apps on debian
>>>> lenny system
>>>> I´ve configured my dialplan with
>>>>  exten => _X.,1,Answer()
>>>>  exten => _X.,n,mp4save(/tmp/test.3gp)
>>>>  exten => _X.,n,Hangup()
>>>>
>>>> My schema and test are:
>>>> 3gp cell ===> RDSI BRI ==> Asterisk  = only audio no video
>>>> sip phone (eyebeam) ==> Asterisk = audio and video
>>>>
>>>> Are my RDSI or 3GP providers the problem ?
>>>>
>>>> Here are my mp4info file details:
>>>> eyebeam => Asterisk
>>>> Track   Type    Info
>>>> 1       audio   G.711 uLaw, 100.200 secs, 64 kbps, 8000 Hz
>>>> 2       hint    Payload PCMU for track 1
>>>> 3       video   H264 Unknown Profile 2 at unknown level 1, 95.411 secs,
>>>> 172 kbps, 176x144 @ 14.254122 fps
>>>> 4       hint    Payload H264 for track 3
>>>>
>>>> File from : 3gp=> RDSI BRI ==> Asterisk
>>>> Track   Type    Info
>>>> 1       audio   G.711 aLaw, 30.840 secs, 64 kbps, 8000 Hz
>>>> 2       hint    Payload PCMA for track 1
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>>
>>>> asterisk-video mailing list
>>>> To UNSUBSCRIBE or update options visit:
>>>>   http://lists.digium.com/mailman/listinfo/asterisk-video
>>>>
>>>
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>
>>> asterisk-video mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>   http://lists.digium.com/mailman/listinfo/asterisk-video
>>>
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-video mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-video
>>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-video
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20090908/5f840757/attachment-0001.htm 


More information about the asterisk-video mailing list