Re: [asterisk-users] Make call in AMI.

2010-11-20 Thread Olivier
2010/11/19 Rodrigo Lang rodrigoferreiral...@gmail.com



 [Nov 19 16:49:56] NOTICE[23371]: chan_local.c:655 local_alloc: No such
 extension/context 04191028...@intermovel creating local channel

can you display interMovel context ?
Is there any entry matching 0419102889 in interMovel context ?
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Make call in AMI.

2010-11-20 Thread Rodrigo Lang

 [Nov 19 16:49:56] NOTICE[23371]: chan_local.c:655 local_alloc: No such
 extension/context 04191028...@intermovel creating local channel

 can you display interMovel context ?
 Is there any entry matching 0419102889 in interMovel context ?


Oh! Like I'm stupid. This basic detail went totally unnoticed. Thanks for
the reply and sorry for my fault. The context:


context interMovel {
_00XX[7-9]XXX = {  saidaGSM(${EXTEN:1}); }
h = { hangupGlobal(); }
}

It worked properly when I added one more zero. Thanks again.



At,
-- 
Rodrigo Lang
Opening your mind - Just another Open Source
sitehttp://openingyourmind.wordpress.com/
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Make call in AMI.

2010-11-19 Thread Rodrigo Lang
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/04191028...@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 04191028...@intermovel creating local channel
[Nov 19 16:49:56] NOTICE[23371]: channel.c:3854 __ast_request_and_dial:
Unable to request channel Local/04191028...@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
sitehttp://openingyourmind.wordpress.com/
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users