Posted: Mon May 25, 2009 1:16 am Post subject: [Asterisk-video] no video by Originate
Hi, all!
i have two ip video phone: 2004,2005,when 2004 directly call 2005,they
both can hear voice and watch video. but if i init call by AMI
command: Originate:
Action: Originate
Channel: SIP/2004
Context: from-internal
Exten: 2005
Priority: 1
...
After,2004 link with 2005,only 2004 can watch 2005's video. but 2005
can only hear voice without video. I am puzzeld. can someone give me
some advise?
my asterisk is 1.4.24
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Mon May 25, 2009 7:57 pm Post subject: [Asterisk-video] no video by Originate
Ha !
This is another video limitation of the official Asterisk stack.
Here is the reason : in manager.c
in the function, you could add the following (not fully tested)
static int action_originate(struct mansession *s, const struct message *m)
{
(...)
} else if (!ast_strlen_zero(app)) {
res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR |
AST_FORMAT_H263 | AST_FORMAT_H263_PLUS | AST_FORMAT_H264, data, to,
app, appdata, &reason, 1, l, n, vars, account, NULL);
} else {
if (exten && context && pi)
res = ast_pbx_outgoing_exten(tech,
AST_FORMAT_SLINEAR | AST_FORMAT_H263 | AST_FORMAT_H263_PLUS |
AST_FORMAT_H264, data, to, context, exten, pi, &reason, 1, l, n, vars,
account, NULL);
}
salzh a écrit :
Quote:
Hi, all!
i have two ip video phone: 2004,2005,when 2004 directly call 2005,they
both can hear voice and watch video. but if i init call by AMI
command: Originate:
Action: Originate
Channel: SIP/2004
Context: from-internal
Exten: 2005
Priority: 1
...
After,2004 link with 2005,only 2004 can watch 2005's video. but 2005
can only hear voice without video. I am puzzeld. can someone give me
some advise?
my asterisk is 1.4.24
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
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