[asterisk-dev] Usage `context` argument of Background app

Igor Goncharovsky igor.goncharovsky at gmail.com
Tue Mar 9 04:36:57 CST 2010


Hello All,

I have trying to use context parameter of Background app. Description say
that `If a 'context' is specified, this is the dialplan context that this
application will use when exiting to a dialed extension`. In the reality I
have found that Background only use specified context only if it have
one-digit extension dialed. In case of more digits of extension application
alway exit to context where it used.

I think that ast_copy_string(chan->context, args.context,
sizeof(chan->context)) must be executed always before exiting application.
Please confirm my suggestion before posting to issues.asterisk.org

-- 
Regards,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100309/5c638f43/attachment.htm 


More information about the asterisk-dev mailing list