Posted: Mon Apr 07, 2008 3:56 pm Post subject: [Asterisk-video] 3G phone -> PRI -> asterisk :: cannot get h
Dear team,
I'm a new user on this forum, and I'm tring to test video loopback from 3G phone -> PRI -> asterisk. I've started with h324m_loopback() feature of app_h324m from sip.fontventa.com intalled in Asterisk SVN-oej-videocaps-r111931M-/trunk ( on Centos 5.1 i386).
I've successfully compiled libh324m.so and all it's prerequisites.
Whenever i make a 3G call I've get connected but did not get any video/audio back (the mobile phone is freeses on "getting video.."), and after ~10 seconds get disconnected. On my CentOS box i'm using Sangoma a104d PRI card (wanrouter drives).
-- Accepting call from '0546394390' to '5650200' on channel 0/1, span 1
-- Executing [5650200@from-video:1] Answer("Zap/1-1", "") in new stack
q931.c:2755 q931_connect: call 4330 on channel 1 enters state 8 (Connect Request)
-- Executing [5650200@from-video:2] h324m_loopback("Zap/1-1", "") in new stack
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 4330/0x10EA) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
q931.c:3513 q931_receive: call 4330 on channel 1 enters state 10 (Active)
< Protocol Discriminator: Q.931 (8) len=9
< Call Ref: len= 2 (reference 4330/0x10EA) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
-- Processing IE 8 (cs0, Cause)
q931.c:3620 q931_receive: call 4330 on channel 1 enters state 12 (Disconnect Indication)
I've made further debuggings and have found that :
1. Frame* H245ChannelsFactory::GetFrame() in src/H245ChannelsFactory.cpp:298 returns NULL
thus no frame has been procceded by:
while ((frame=H324MSessionGetFrame(id))!=NULL) in app_h324m_loopback in app_h324m.c:572.
this means that:
chan->remoteChannel is not set in H245ChannelsFactory::OnEstablishIndication
in src/H245ChannelsFactory.cpp.
I think that somehow connected to that - no h245m event has been triggered on PRI.
Please, let me know if you find anything on this issue.
*CLI> -- Accepting call from '0546394390' to '5650200' on channel 0/1, span 1
-- Executing [5650200@from-video:1] Answer("Zap/1-1", "") in new stack
-- Executing [5650200@from-video:2] h324m_gw("Zap/1-1", "chicken@3gp_videos") in new stack
[Apr 13 13:43:57] WARNING[3978]: channel.c:752 ast_best_codec: Don't know any of 0x2000 formats
-- Executing [chicken@3gp_videos:1] Echo("Local/chicken@3gp_videos-b3ce;2", "") in new stack
On Thu, Apr 10, 2008 at 10:35 AM, Klaus Darilion <klaus.mailinglists@pernau.at (klaus.mailinglists@pernau.at)> wrote:
Quote:
Hi Leonid!
Could you try if h234m_gw() and echo() works?
regards
klaus
Leonid Berson schrieb:
> Dear team,
>
> I'm a new user on this forum, and I'm tring to test video loopback from
> 3G phone -> PRI -> asterisk. I've started with h324m_loopback()
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum