[Asterisk-video] no video by Originate
Emmanuel BUU
emmanuel.buu at ives.fr
Mon May 25 15:43:01 CDT 2009
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 :
> 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--
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-video
>
>
More information about the asterisk-video
mailing list