[asterisk-users] Originate calls with AMI.
Guillaume Yziquel
guillaume.yziquel at citycable.ch
Thu Sep 3 16:30:08 CDT 2009
Hello.
Matt Riddell a écrit :
>
> To start with I'd do (just rearranging but makes me feel better):
>
> Action: originate
> Channel: SIP/zoiper
> Context: internal
> Exten: yziquel
> Priority: 1
> Timeout: 30
> Callerid: yziquel
Thank you for your answer.
> But also, are you sure that the extension yziquel exists in the internal
> context?
Yes, it does.
I finally got it right (no rearrangement) with
> Action: originate
> Channel: SIP/zoiper
> WaitTime: 30
> CallerId: yziquel
> Exten: yziquel
> Context: internal
> Priority: 1
Somehow surprised that the only needed change was to change Timeout to
Waitime...
> type the following:
>
> dialplan show internal
Here it is:
> seldon*CLI> dialplan show internal
> [ Context 'internal' created by 'pbx_config' ]
> '500' => 1. Verbose(1|Echo test application) [pbx_config]
> 2. Echo() [pbx_config]
> 3. Hangup() [pbx_config]
> 'yziquel' => 1. Verbose(1|Extension yziquel) [pbx_config]
> 2. Dial(SIP/yziquel|30) [pbx_config]
> 3. Hangup() [pbx_config]
> 'zoiper' => 1. Verbose(1|Extension zoiper) [pbx_config]
> 2. Dial(SIP/zoiper|30) [pbx_config]
> 3. Hangup() [pbx_config]
>
> -= 3 extensions (9 priorities) in 1 context. =-
Thanks a lot.
--
Guillaume Yziquel
http://yziquel.homelinux.org/
More information about the asterisk-users
mailing list