[asterisk-users] Comparing origination from CLI and from AMI

Olivier oza-4h07 at myamail.com
Fri Aug 1 02:57:49 CDT 2008


Hi,

Using FOP, I've met a situation which makes me ask this simple question :

Are both A and B commands bellow equivalent ?

A. CLI:
originate SIP/9122 application dial Local/9123 at local

B. AMI/FOP:
192.168.64.5 -> Action: Originate
192.168.64.5 -> Channel: SIP/9122
192.168.64.5 -> Async: True
192.168.64.5 -> Callerid: 9122 Guest2 <9122>
192.168.64.5 -> Exten: 9123
192.168.64.5 -> Context: local
192.168.64.5 -> Priority: 1


I must add both 9122 and 9123 extensions are SIP extensions which default to
"local" context.

When using B (AMI/FOP), I've got a :
    -- Got SIP response 480 "Temporarily Unavailable" back from
192.168.100.195
       > Channel SIP/9122-081d8f68 was never answered.
where 192.168.100.195 is SIP/9122 hardphone IP address

When using A (CLI), everything works ok.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080801/83638101/attachment.htm 


More information about the asterisk-users mailing list