[Asterisk-video] H324m gateway RTSP issue
anurag agarwal
anurag_agarwaljan at yahoo.co.in
Wed Feb 16 03:16:55 CST 2011
Hi,
I have successfully installed the H324m gateway and trying to use rtsp but we are facing the following issue :
1. when we use the trans-coder then our asterisk is die...
[3g]
exten => s,1,h324m_gw(3333 at rtsp)
[rtsp]
exten => 3333,1,Set(CHANNEL(transfercapability)=DIGITAL)exten => 3333,n,wait()exten => 3333,n,h324m_gw_answer()exten => 3333,n,Transcode(,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
[camera]
exten => s,1,Answer()
exten => s,n,rtsp(rtsp://192.168.1.130:554/mpeg4)
exten => s,n,Hangup()
2. Again we are trying it with rtsp: this time my call is connected but when it reaches to rtsp step then call is disconnected with the following error msg : can anyone please suggest the way forward ,our dial plan & error logs as below :
-----------------------------------------------------------------------------------------------------------
[3g]
exten => s,1,h324m_gw(3333 at rtsp)
[rtsp]
exten => 3333,1,Set(CHANNEL(transfercapability)=DIGITAL)
exten => 3333,n,wait()
exten => 3333,n,h324m_gw_answer()
exten =>
3333,n,rtsp(rtsp://192.168.1.130:554/mpeg4)
------------------------------------------------------------------------------------------------------------
-- Executing [s at 3g:1] h324m_gw("Zap/42-1", "3333 at rtsp") in new stack
-- Executing
[3333 at rtsp:1] Set("Local/3333 at rstp-4405,2",
"CHANNEL(transfercapability)=DIGITAL") in new stack
-- Executing
[3333 at rtsp:2] Wait("Local/3333 at rtsp-4405,2", "") in new
stack
-- Executing [3333 at rtsp:3] h324m_gw_answer("Local/3333 at rtsp-4405,2", "") in new
stack
-- Executing [3333 at rtsp:4] rtsp("Local/3333 at rtsp-4405,2",
"rtsp://192.168.1.130:554/mpeg4") in new stack
[Feb 16 19:52:00]
WARNING[6841]: app_rtsp.c:1383 rtsp_play: >rtsp play
[Feb 16 19:52:00]
WARNING[6841]: channel.c:2781 set_format: Unable to find a codec translation
path from unknown to unknown
[Feb 16 19:52:00] ERROR[6841]: app_rtsp.c:1678
rtsp_play: No media found
[Feb 16 19:52:00] WARNING[6841]: app_rtsp.c:2060
rtsp_play: <rtsp_play
== Auto fallthrough, channel 'Local/3333 at rtsp-4405,2' status
is 'UNKNOWN'
== Spawn extension (3g, s, 1) exited non-zero on
'Zap/42-1'
-- Hungup 'Zap/42-1'
------------------------------------------------------------------------------------------------------------------------------------
Thanks
Anurag --- On Sun, 13/2/11, anurag agarwal <anurag_agarwaljan at yahoo.co.in> wrote:
From: anurag agarwal <anurag_agarwaljan at yahoo.co.in>
Subject: Re: [Asterisk-video] H324m gateway mp4 play
To: asterisk-video at lists.digium.com
Date: Sunday, 13 February, 2011, 9:45 AM
Thanks Liu,
I have tried the same, out of 5 calls 2 calls are working fine but 3 calls are stuck up in the H324m_gw_answer() & doesn't go to the next step... please suggest...
Regds
Anurag
--- On Sat, 12/2/11, Liu Jianquan
<liujianquan at gmail.com> wrote:
From: Liu Jianquan <liujianquan at gmail.com>
Subject: Re: [Asterisk-video] H324m gateway mp4 play
To: "Development discussion of video media support in Asterisk" <asterisk-video at lists.digium.com>
Date: Saturday, 12 February, 2011, 5:22 PM
Hi, try blow:
[3gphone]
exten =>
444444,1,h324m_gw(3333 at video)
[video]
exten => 3333,1,h324m_gw_answer()
exten =>
3333,n,mp4play(/tmp/jefflew.3gp)
Wayne Lau
CTO @ http://www.51asterisk.com
MSN: liu0755 at 21cn.com
-----ORI-----
Sender:
asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com]代表 anurag
agarwal
Time: 2011年2月12日 19:09
Rece: Development
discussion of video media support in Asterisk
Subject: Re:
[Asterisk-video] H324m gateway mp4 play
Hi,
1. I have downloaded a 3gp file from the i6net.com. the mp4info
command for that file shows :
[root at localhost tmp]# mp4info jefflew.3gp
mp4info version 1.5.0.1
jefflew.3gp:
Track Type Info
201 video H.263, 441.280 secs, 35 kbps,
176x144 @ 6.954768 fps
65335 hint Payload H263-2000 for track
201
101 audio AMR, 441.280 secs, 13 kbps, 8000
Hz
65435 hint Payload AMR for track 101
1 od Object
Descriptors
2 scene BIFS
1. if i try to mp4play this file on a sip extnesion it works
fine
2. if i try to mp4play this file from a 3G
phone-->PRI--->Asterisk--->dialplan , i dont see any video or
audio on the 3G phone
the dial plan is :
[3gphone]
exten => 444444,1,h324m_gw(3333 at video)
[video]
exten => 3333,1,mp4play(/tmp/jefflew.3gp)
pl let me know how to play a generic mp4 file [downloaded from
internet or recorded on a samsung/nokia [mpeg4] ]
Thanks
Anurag Agarwal
--- On Sat, 12/2/11, Liu Jianquan
<liujianquan at gmail.com> wrote:
From:
Liu Jianquan <liujianquan at gmail.com>
Subject: Re:
[Asterisk-video] H324m gateway mp4 play
To: "Development discussion
of video media support in Asterisk"
<asterisk-video at lists.digium.com>
Date: Saturday, 12
February, 2011, 2:11 PM
Plz post your dialplan details
here, maybe you forget h324m_gw() before
h324m_answer?
Wayne Lau
CTO @
http://www.51asterisk.com
MSN: liu0755 at 21cn.com
-----Ori-----
Sender:
asterisk-video-bounces at lists.digium.com
[mailto:asterisk-video-bounces at lists.digium.com]Response
anurag agarwal
Time: 2011-2-12
1:30
Rece: Development discussion of video media support
in Asterisk
Subject: [Asterisk-video] H324m gateway mp4
play
Hi
i've successfully installed h324m gateway and all
required files for making 3G calls over ISDN and playing a mp4
file. i've first tried to connect 2 sip phones and did a
recording of video and saved it as mp4 file. the said mp4 file
also plays if i call in an sip extension and try to play it
under dial plan.
now i want to make a 3G call over PRI that i connected to
asterisk box and play that mp4 file. the prob is when i make
the 3G call - on my phone it just displays "waiting for image"
adn then hangs up after a few seconds..on the astrisk debug
- i see that the call is struck at h324m_answer
...i want to know what can be wrong ? i also have a doubt if i
have to add something like "
Set(CHANNEL(transfercapability)=VIDEO)" before trying to
play the file ??
pls help
-----Inline
Attachment Follows-----
--
_____________________________________________________________________
--
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
-----Inline Attachment Follows-----
--
_____________________________________________________________________
-- 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/20110216/1d19a60a/attachment-0001.htm>
More information about the asterisk-video
mailing list