[Asterisk-video] Hear only noise in Video call

2011-09-27 Thread Jack Smith
Hi,

I am trying to get the 3G call working through E1. i have tried both bc and
llc but both does'nt seems to be working. The call is landing and all i hear
is a noise. I don't have echo cancellation turned on. The same problem
occurs even when i try on SIP using h324_gw and h324_gw_answer.

Any ideas what could be causing the problem

Thanks in advance.

Asterisk - 1.4.21.1 with patch 10217
libpri-1.4.4 with patch 13055
zaptel-1.4.7

my dialplan -

[from-dialer1]
exten => _X.,1,Set(__phonenumber=${phonenumber})
exten => _X.,n,h324m_call(play@from-dialer1)
exten => play,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => play,n,Set(CHANNEL(userinformationlayer1)=38)
exten => play,n,Dial(Zap/g1/${phonenumber},30)
exten => play,n,Hangup()

[video-campaign1]
exten => play,1,Wait(1)
exten => play,n,mp4play(/var/tmp/jefflew.3gp)
exten => play,n,Hangup()


zapata.conf -

[channels]
language=en
signalling=pri_cpe
switchtype=euroisdn
;rxwink=300
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
pridialplan=unknown
prilocaldialplan=unknown
transfer=yes
cancallforward=yes
busydetect=yes
busycount=8
callreturn=no
echocancel=no
echocancelwhenbridged=no
echotraining=yes
rxgain=8.2
txgain=1.0
context=default
h324m=llc

group=1
channel => 1-15
channel => 17-31


mp4info /var/tmp/jefflew.3gp -

mp4info version 1.5.0.1
/var/tmp/jefflew.3gp:
Track   TypeInfo
201 video   H.263, 441.280 secs, 35 kbps, 176x144 @ 6.954768 fps
65335   hintPayload H263-2000 for track 201
101 audio   AMR, 441.280 secs, 13 kbps, 8000 Hz
65435   hintPayload AMR for track 101
1   od  Object Descriptors
2   scene   BIFS

Asterisk log

[Sep 27 13:50:16] VERBOSE[3374] logger.c: -- Attempting call on
Local/XX@from-dialer1 for play@video-campaign1:1 (Retry 1)
[Sep 27 13:50:16] DEBUG[3375] pbx.c: Launching 'Set'
[Sep 27 13:50:16] VERBOSE[3375] logger.c: -- Executing
[XX@from-dialer1:1] Set("Local/XX@from-dialer1-5f0c,2",
"__phonenumber=XX") in new stack
[Sep 27 13:50:16] DEBUG[3375] pbx.c: Launching 'h324m_call'
[Sep 27 13:50:16] VERBOSE[3375] logger.c: -- Executing
[XX@from-dialer1:2] h324m_call("Local/XX@from-dialer1-5f0c,2",
"play@from-dialer1") in new stack
[Sep 27 13:50:16] DEBUG[3375] app_h324m.c: h324m_call
[Sep 27 13:50:16] DEBUG[3375] channel.c: Set channel
Local/XX@from-dialer1-5f0c,2 to read format amr
[Sep 27 13:50:16] DEBUG[3375] channel.c: Set channel
Local/XX@from-dialer1-5f0c,2 to write format amr
[Sep 27 13:50:16] DEBUG[3375] channel.c: Copying hard-transferable variable
phonenumber.
[Sep 27 13:50:16] DEBUG[3376] pbx.c: Launching 'Set'
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- Executing
[play@from-dialer1:1] Set("Local/play@from-dialer1-8274,2",
"CHANNEL(transfercapability)=VIDEO") in new stack
[Sep 27 13:50:16] DEBUG[3376] pbx.c: Launching 'Set'
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- Executing
[play@from-dialer1:2] Set("Local/play@from-dialer1-8274,2",
"CHANNEL(userinformationlayer1)=38") in new stack
[Sep 27 13:50:16] DEBUG[3376] pbx.c: Launching 'Dial'
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- Executing
[play@from-dialer1:3] Dial("Local/play@from-dialer1-8274,2",
"Zap/g1/XX|30") in new stack
[Sep 27 13:50:16] DEBUG[3376] chan_zap.c: Using channel 1
[Sep 27 13:50:16] DEBUG[3376] chan_zap.c: zt_new: ps.curlaw=ZT_LAW_ALAW,
setting deflaw to AST_FORMAT_ALAW
[Sep 27 13:50:16] DEBUG[3376] dsp.c: dsp busy pattern set to 0,0
[Sep 27 13:50:16] DEBUG[3376] rtp.c: Channel 'Zap/1-1' has no RTP, not doing
anything
[Sep 27 13:50:16] DEBUG[3376] channel.c: Copying hard-transferable variable
phonenumber.
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- digital call, setting user
information layer 1 to 38 (0x26)
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- zap call: h324musellc=1,
ast->userinformationlayer1=38
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- Requested transfer
capability: 0x18 - VIDEO
[Sep 27 13:50:16] DEBUG[3376] devicestate.c: Notification of state change to
be queued on device/channel Zap/1-1
[Sep 27 13:50:16] DEBUG[] devicestate.c: Changing state for Zap/1-1 -
state 0 (Unknown)
[Sep 27 13:50:16] DEBUG[3376] devicestate.c: Notification of state change to
be queued on device/channel Zap/1
[Sep 27 13:50:16] DEBUG[3355] app_queue.c: Device 'Zap/1-1' changed to state
'0' (Unknown) but we don't care because they're not a member of any queue.
[Sep 27 13:50:16] DEBUG[] channel.c: Avoiding initial deadlock for
channel '0x84d4bb0'
[Sep 27 13:50:16] VERBOSE[3376] logger.c: -- Called g1/XX
[Sep 27 13:50:16] DEBUG[] devicestate.c: Changing state for Zap/1 -
state 2 (In use)
[Sep 27 13:50:16] DEBUG[3355] app_queue.c: Device 'Zap/1' changed to state
'2' (In use) but we don't care because they're not a member of any queue.
[Sep 27 13:50:16] DEBUG[3337] chan_zap.c: Queuing frame from
PRI_EVENT_PROCEEDING o

Re: [Asterisk-video] Generate outbound 3g call will .call file and local channel

2011-09-08 Thread Jack Smith
Hi,

I think you may have to change the dialplan to something like this to say
that its h324m_call first and you may not require h324_gw_answer and h324_gw
since you would have a 3G call and all you need to do is transmit the video.

[from-dialer1]
exten => 665,1,h324m_call(666@from-dialer1)
exten => _X.,1,Set(CHANNEL(transfercapability)=VIDEO)
exten => _X.,n,Set(CHANNEL(userinformationlayer1)=38)
exten => _X.,n,Dial(Zap/g0/${EXTEN},30)
exten => _X.,n,Hangup()

Jack

On Thu, Sep 8, 2011 at 8:04 PM, Konstantinos Liadakis
wrote:

> Hello Jack,
>
> I have already tried to use h324m_call instead of h324m_gw, but again when
> h324m_gw_answer() is reached, call again hangs up
>
> Thank you very much for your input
>
> Regards
>
> Dinos
>
>
> --
> __**__**_
> -- 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

Re: [Asterisk-video] Generate outbound 3g call will .call file and local channel

2011-09-08 Thread Jack Smith
Are you sure you do not need h324m_call if you wish to make an outbound
video call over PRI. I suspect the hangup maybe related to this.

Jack

On Thu, Sep 8, 2011 at 7:45 PM, Konstantinos Liadakis
wrote:

> Hello again Mitul and thank you for your reply,
>
> I followed your instructions but still again when h324m_gw_answer() is
> reached, call hungs up. Any more suggestions?
>
> Thank you again, your help is very much appreciated!
>
> Best regards
>
> Dinos
>
> My call file
>
> Channel: Local/X@from-dialer1/n
>
> CallerId: 1506
> Context: video-campaign1
> Extension: play
> Priority: 1
> Set: CHANNEL(transfercapability)=**VIDEO
> Set: CHANNEL(userinformationlayer1)**=38
>
> My dialplan
>
>
> [from-dialer1]
> exten => _X.,1,Set(CHANNEL(**transfercapability)=VIDEO)
> exten => _X.,n,Set(CHANNEL(**userinformationlayer1)=38)
> exten => _X.,n,Dial(Zap/g0/${EXTEN},30)
> exten => _X.,n,Hangup()
>
>
> [video-campaign1]
> exten => play,1,h324m_gw(play2@video-**campaign1)
> exten => play2,1,h324m_gw_answer()
> exten => play2,n,mp4play(file.3gp)
> exten => play2,n,Hangup()
>
> -- Attempting call on Local/XX@from-dialer1/**n for
> play@video-campaign1:1 (Retry 1)
>-- Executing [XX@from-dialer1:1] 
> Set("Local/XX@from-**dialer1-fa03,2",
> "CHANNEL(transfercapability)=**VIDEO") in new stack
>-- Executing [XX@from-dialer1:2] 
> Set("Local/XX@from-**dialer1-fa03,2",
> "CHANNEL(**userinformationlayer1)=38") in new stack
>-- Executing [XX@from-dialer1:3] 
> Dial("Local/XX@from-**dialer1-fa03,2",
> "Zap/g0/XX|30") in new stack
>
>-- digital call, setting user information layer 1 to 38 (0x26)
>-- zap call: h324musellc=0, ast->userinformationlayer1=38
>-- Requested transfer capability: 0x18 - VIDEO
>-- Called g0/XX
>-- Zap/1-1 is proceeding passing it to Local/XX@from-dialer1-**
> fa03,2
>
>-- Zap/1-1 is ringing
>-- Zap/1-1 answered Local/XX@from-dialer1-**fa03,2
> > Channel Local/XX@from-dialer1-**fa03,1 was answered.
>-- Executing [play@video-campaign1:1] 
> h324m_gw("Local/XX@**from-dialer1-fa03,1",
> "play2@video-campaign1") in new stack
>-- Executing [play2@video-campaign1:1] 
> h324m_gw_answer("Local/play2@**video-campaign1-5a2e,2",
> "") in new stack
>
>-- Channel 0/1, span 1 got hangup request, cause 16
>-- Hungup 'Zap/1-1'
>  == Spawn extension (from-dialer1, XX, 3) exited non-zero on
> 'Local/XX@from-**dialer1-fa03,2'
>-- Executing [h@from-dialer1:1] 
> NoOp("Local/XX@from-**dialer1-fa03,2",
> "Hangupcause1:16") in new stack
>-- Executing [h@from-dialer1:2] 
> NoOp("Local/XX@from-**dialer1-fa03,2",
> "Dialstatus1:ANSWER") in new stack
>-- Executing [h@from-dialer1:3] 
> NoOp("Local/XX@from-**dialer1-fa03,2",
> "Reason1:") in new stack
>-- Executing [h@from-dialer1:4] 
> Hangup("Local/XX@from-**dialer1-fa03,2",
> "") in new stack
>  == Spawn extension (from-dialer1, h, 4) exited non-zero on
> 'Local/XX@from-**dialer1-fa03,2'
>  == Spawn extension (video-campaign1, play2, 1) exited non-zero on
> 'Local/play2@video-campaign1-**5a2e,2'
>-- Executing [h@video-campaign1:1] 
> NoOp("Local/play2@video-**campaign1-5a2e,2",
> "Hangupcause2:0") in new stack
>-- Executing [h@video-campaign1:2] 
> NoOp("Local/play2@video-**campaign1-5a2e,2",
> "Dialstatus2:") in new stack
>-- Executing [h@video-campaign1:3] 
> NoOp("Local/play2@video-**campaign1-5a2e,2",
> "Reason2:") in new stack
>-- Executing [h@video-campaign1:4] 
> Hangup("Local/play2@video-**campaign1-5a2e,2",
> "") in new stack
>  == Spawn extension (video-campaign1, h, 4) exited non-zero on
> 'Local/play2@video-campaign1-**5a2e,2'
>  == Spawn extension (video-campaign1, play, 1) exited non-zero on
> 'Local/XX@from-**dialer1-fa03,1'
>-- Executing [h@video-campaign1:1] 
> NoOp("Local/XX@from-**dialer1-fa03,1",
> "Hangupcause2:0") in new stack
>-- Executing [h@video-campaign1:2] 
> NoOp("Local/XX@from-**dialer1-fa03,1",
> "Dialstatus2:") in new stack
>-- Executing [h@video-campaign1:3] 
> NoOp("Local/XX@from-**dialer1-fa03,1",
> "Reason2:") in new stack
>-- Executing [h@video-campaign1:4] 
> Hangup("Local/XX@from-**dialer1-fa03,1",
> "") in new stack
>  == Spawn extension (video-campaign1, h, 4) exited non-zero on
> 'Local/XX@from-**dialer1-fa03,1'
> [2011-09-08 16:59:53] NOTICE[3895]: pbx_spool.c:351 attempt_thread: Call
> completed to Local/XX@from-dialer1/**n
>
>
>
> --
> __**__**_
> -- 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
>
--
_