[asterisk-users] call file vs. originate

Richard Lyman pchammer at dynx.net
Fri Mar 30 09:46:30 MST 2007


Nathan Bell wrote:
> I'm having trouble getting the manager interface to behave properly; 
> specifically the Originate event.
>
> If I create an originate event as below, the calling phone will 
> auto-answer (as it's supposed to) but the receiving phone never rings. 
> It will timeout at 20 seconds.
>
> Action: Originate
> Channel: Local/201 at from-sip2
> Context: from-sip
> Extension: 154
> Priority: 1
> CallerID: John Doe <201>
>
> This is rather odd, as if I create a nearly identical call file in 
> /var/spool/asterisk/outgoing (below) the receiving phone rings correctly.
>
> Channel: Local/201 at from-sip2
> Context: from-sip
> Extension: 154
> Priority: 1
> CallerID: John Doe <201>
*snipped

depending on your manager.c

you will find that manager originate need 'Exten: ..' not 'Extension: ..'
meaning, if you attempt to use 'Extension: ..' it will autofallthru (if 
set) to 's' extension in dialplan.

good luck



More information about the asterisk-users mailing list