[Home]

Summary:ASTERISK-01178: Manager originate ignores Exten parameter.
Reporter:maciejka (maciejka)Labels:
Date Opened:2004-03-09 10:26:52.000-0600Date Closed:2004-09-25 02:54:41
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Manager Originate command e.g.:

Action: Originate
Channel: IAX/polimorfia@192.168.0.2
Exten: 500
CallerId: manager

ignores Exten parameter and always try to connect to s extension (from asterisk console):
Calling using options 'exten=s;callerid=manager;...

Comments:By: James Golovich (jamesgolovich) 2004-03-09 12:53:26.000-0600

I strongly suspect that this is because you aren't passing a 'Context' and 'Priority'.  I use originate all the time with passing exten

By: Brian West (bkw918) 2004-03-09 13:48:31.000-0600

I have to agree with james on this one.

By: maciejka (maciejka) 2004-03-09 14:08:06.000-0600

I have to agree with You both. I have been mislead by python manager client that treats all parameters but channel and extension as optional. Time to close this bug, and enter in pyst bug tracker.

By: James Golovich (jamesgolovich) 2004-03-09 15:10:42.000-0600

While this was more user error, someone else would likely run into the same thing.  So I added some code to CVS to check to make sure if its not an originate with App passed, then it makes sure that exten, context, and priority are passed