[Asterisk-Dev] Manager hack

Dmitri Pavlenkov dmitri at im1.com
Tue May 11 06:41:34 MST 2004


Maybe I'm doing it wrong. I'm not getting any response to my commands,
nor any actions are performed. Here's example:

[Window 1]
[root at localhost root]# telnet localhost 5038
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Asterisk Call Manager/1.0
action: login
username: local
secret: local
 
Response: Success
Message: Authentication accepted

[Window 2]
localhost*CLI> show dialplan test 
[ Context 'test' created by 'pbx_config' ]
  's' =>            1. Playback(demo)
[pbx_config]
                    2. PlayDigits(123)
[pbx_config]

[Window 1]
action: command
parameters: remove extension s at test 2
 
Response: Follows
--END COMMAND--

[Window 2] show dialplan test: same result

[Window 1] ok, try deleting whole extension:
action: command
parameters: remove extension s at test
 
Response: Follows
--END COMMAND--

[Window 2] same result, and just to make sure I use correct command:
localhost*CLI> remove extension s at test 2
Extension s at test with priority 2 removed
localhost*CLI>




Dmitri Pavlenkov
Technical Support
Im1 Web Hosting


-----Original Message-----
From: brian k. west [mailto:brian at bkw.org] 
Sent: Monday, May 10, 2004 8:09 PM
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] Manager hack

No hacking required it will do it.. just issue the command .. you do
realize
that you can use ANY of the cli commands on the manager interface...
people
fail to realize this.

bkw

----- Original Message ----- 
From: "Dmitri Pavlenkov" <dmitri at im1.com>
To: <asterisk-dev at lists.digium.com>
Sent: Monday, May 10, 2004 3:59 PM
Subject: [Asterisk-Dev] Manager hack


> How would I go about enabling add and remove extension commands in
> manager interface?
>
> Dmitri Pavlenkov
> Technical Support
> Im1 Web Hosting
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list