[Asterisk-Users] Manager Interface "Action: Originate" change
d
mattf
mattf at vicimarketing.com
Wed Mar 31 04:26:38 MST 2004
Try Capitalizing Your Actions And The Parameters For Them:
Action: Login
Login: admin
Secret: mypass
Action: Originate
Exten: 200
Context: stations
Channel: SIP/agent07
Priority: 1
Callerid: James Bond Calling
That should work. We use manager actions extensively in our applications and
the managerAPI is sometimes finicky for capitalisation. and a capitalised
first letter of the action and parameters is how it's written in the code.
Let me know if that helps
MATT---
-----Original Message-----
From: Tony Wasson [mailto:wasson at azxws.com]
Sent: Tuesday, March 30, 2004 7:46 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Manager Interface "Action: Originate" changed
I have recently noticed that the "Action: Originate" options in asterisk
1.0 CVS has changed sometime between 2/23 and 3/18.
I have a 2/23/04 CVS installation (cvs checkout -r v1-0_stable asterisk
) that allows me to make calls like this using the Manager Interface on
port 5038.
action: login
login: admin
secret: mypass
action: originate
exten: 200
context: stations
channel: SIP/agent007
I have a 3/18/04 CVS installation that does NOT work the same way.
Entering the same information in spits out....
Response: Error
Message: Originate with 'Exten' requires 'Context' and 'Priority'
So I've tried adding a priority of 1, like this:
action: originate
exten: 200
context: stations
channel: SIP/agent007
priority: 1
I simply get:
Response: Error
Message: Originate failed
Obviously, something in the Manager code has changed. With the newer
code I am unable to originate calls. Can anyone shed additional light on
how to originate calls under the new 1.0 style Manager Interface?
Tony Wasson
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list