[Asterisk-video] 3G Video Call PRI Debug Output

Konrad Różycki konrad.rozycki at voipnews.pl
Thu Dec 2 09:56:14 CST 2010


W dniu 2010-12-02 15:35, Mitul Limbani pisze:
> Hi Klaus,
>
> Quoting Klaus Darilion<klaus.mailinglists at pernau.at>:
>
>> H324M is "tunneled" through Asterisk as voice, thus it uses a
>> certain codec. Often there are problems if for some reason the
>> Asterisk does codec translation and thus destroys the digital H324M
>> stream.
>>
>> While the call is hanging in H324m_gw_answer() debug the channels:
>>> core show channels
>> you should see the incoming and the local pseudo channel
>>
>> Then analyze the channels (you can use the [tab] key to autocomplete
>> the channel names) - take a look which codecs they use and if they
>> match:
> Output of core show channels and core show channel Local/xxxxx,1 -
> core show channel Local/XXXX,2 and core show channel DAHDI/1-1
>
> ubuntu*CLI>  show channels
> Channel              Location             State   Application(Data)
> Local/peeloon at 3gp_vi peeloon at 3gp_videos:1 Up      h324m_gw_answer()
> Local/peeloon at 3gp_vi peeloon at 3gp_videos:1 Up      (None)
> DAHDI/1-1            7642 at from-pstn:1     Up      h324m_gw(peeloon at 3gp_videos)
> 3 active channels
> 2 active calls
> The 'show channels' command is deprecated and will be removed in a
> future release. Please use 'core show channels' instead.
> ubuntu*CLI>  show ch
> channel       channels      channeltypes  channeltype
> ubuntu*CLI>  show channel Lo
> Local/peeloon at 3gp_videos-3a75,2  Local/peeloon at 3gp_videos-3a75,1
> ubuntu*CLI>  show channel Local/peeloon at 3gp_videos-3a75,2
>    -- General --
>              Name: Local/peeloon at 3gp_videos-3a75,2
>              Type: Local
>          UniqueID: 1291298595.120
>         Caller ID: 9869173860
>    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: 0h0m15s
>     Direct Bridge:<none>
> Indirect Bridge:<none>
>    --   PBX   --
>           Context: 3gp_videos
>         Extension: peeloon
>          Priority: 1
>        Call Group: 0
>      Pickup Group: 0
>       Application: h324m_gw_answer
>              Data: (Empty)
>       Blocking in: ast_waitfor_nandfds
>     CDR Variables:
> level 1: dnid=
> level 1: clid=9869173860
> level 1: src=9869173860
> level 1: dst=peeloon
> level 1: dcontext=3gp_videos
> level 1: channel=Local/peeloon at 3gp_videos-3a75,2
> level 1: lastapp=h324m_gw_answer
> level 1: start=2010-12-02 19:33:15
> level 1: answer=2010-12-02 19:33:15
> level 1: duration=0
> level 1: billsec=0
> level 1: disposition=ANSWERED
> level 1: amaflags=DOCUMENTATION
> level 1: uniqueid=1291298595.120
>
> ubuntu*CLI>  show channel Local/peeloon at 3gp_videos-3a75,1
>    -- General --
>              Name: Local/peeloon at 3gp_videos-3a75,1
>              Type: Local
>          UniqueID: 1291298595.119
>         Caller ID: 9869173860
>    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: 0h0m17s
>     Direct Bridge:<none>
> Indirect Bridge:<none>
>    --   PBX   --
>           Context: 3gp_videos
>         Extension: peeloon
>          Priority: 1
>        Call Group: 0
>      Pickup Group: 0
>       Application: (N/A)
>              Data: (None)
>       Blocking in: (Not Blocking)
>     CDR Variables:
> level 1: dnid=
> level 1: dst=peeloon
> level 1: dcontext=3gp_videos
> level 1: channel=Local/peeloon at 3gp_videos-3a75,1
> level 1: start=2010-12-02 19:33:15
> level 1: duration=0
> level 1: billsec=0
> level 1: disposition=NO ANSWER
> level 1: amaflags=DOCUMENTATION
> level 1: uniqueid=1291298595.119
>
> ubuntu*CLI>  show channel DAHDI/1-1
>    -- General --
>              Name: DAHDI/1-1
>              Type: DAHDI
>          UniqueID: 1291298595.118
>         Caller ID: 9869173860
>    Caller ID Name: (N/A)
>       DNID Digits: 7642
>             State: Up (6)
>             Rings: 1
>     NativeFormats: 0x4 (ulaw)
>       WriteFormat: 0x4 (ulaw)
>        ReadFormat: 0x4 (ulaw)
>    WriteTranscode: No
>     ReadTranscode: No
> 1st File Descriptor: 20
>         Frames in: 1035
>        Frames out: 1031
>    Time to Hangup: 0
>      Elapsed Time: 0h0m21s
>     Direct Bridge:<none>
> Indirect Bridge:<none>
>    --   PBX   --
>           Context: from-pstn
>         Extension: 7642
>          Priority: 1
>        Call Group: 0
>      Pickup Group: 0
>       Application: h324m_gw
>              Data: peeloon at 3gp_videos
>       Blocking in: ast_waitfor_nandfds
>         Variables:
> CALLEDTON=65
> PRIREDIRECTREASON=UNKNOWN
> ANI2=0
> TRANSFERCAPABILITY=DIGITAL
>
>     CDR Variables:
> level 1: dnid=7642
> level 1: clid=9869173860
> level 1: src=9869173860
> level 1: dst=7642
> level 1: dcontext=from-pstn
> level 1: channel=DAHDI/1-1
> level 1: lastapp=h324m_gw
> level 1: lastdata=peeloon at 3gp_videos
> level 1: start=2010-12-02 19:33:15
> level 1: answer=2010-12-02 19:33:16
> level 1: duration=0
> level 1: billsec=0
> level 1: disposition=ANSWERED
> level 1: amaflags=DOCUMENTATION
> level 1: uniqueid=1291298595.118
>
>   From the above, I can however see that the NativeFormats are amr|h263|h263p
>
> Do not know whats the problem, mebbe you can suggest me further,
>
> Regards,
> Mitul Limbani
> Enterux Solutions,
> www.enterux.com
> +91-9820332422
>
>
Hello,

     Did You try to add option "TDMV_HWEC_PERSIST_DISABLE = YES" to 
wanpipe config and disable
  echo cancellation on that port?

Cheers,
-- 
Konrad Rozycki



More information about the asterisk-video mailing list