[asterisk-users] Make call in AMI.

Rodrigo Lang rodrigoferreiralang at gmail.com
Fri Nov 19 12:55:56 CST 2010


Good afternoon list.

I need to make calls via AMI, but I need to leave the links in their
respective contexts, to mobile phone calls by leaving out the context of
mobile and so on.

Already configured the settings that way, but I do not like the the Action
Originate do it. I tried several ways, none successfully. What came closer
to work the way I need is this:

action: originate
channel: Local/04191028897 at interMovel
context: returnCall
extension: *10198
priority: 1
async: true

"interMovel" is my context.

But the answer on the Asterisk console was this:

[Nov 19 16:49:56] NOTICE[23371]: chan_local.c:655 local_alloc: No such
extension/context 04191028897 at interMovel creating local channel
[Nov 19 16:49:56] NOTICE[23371]: channel.c:3854 __ast_request_and_dial:
Unable to request channel Local/04191028897 at interMovel
[Nov 19 16:49:56] ERROR[3843]: pbx.c:8396 device_state_cb: Received invalid
event that had no device IE
[Nov 19 16:49:56] ERROR[3843]: app_queue.c:862 device_state_cb: Received
invalid event that had no device IE


I need to do the links go out into different channels according to what is
configured in the dialplan and dynamically. I can make a call by calling the
channel normally, thus:

action: originate
channel: DAHDI/g1/04191028897
context: returnCall
extension: *10198
priority: 1
async: true


Does anyone have any idea how to do?


Thank you in advance,
-- 
Rodrigo Lang
Opening your mind - Just another Open Source
site<http://openingyourmind.wordpress.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101119/9c363b26/attachment.htm 


More information about the asterisk-users mailing list