Re: [asterisk-users] How to MessageSend to a SIP from AMI Or CLI?
I haven't used send text before in the ami but I would expect the channel to be the fully qualified one. When you do core show channels in the cli you get a longer channel name that's unique. I'm not 100% on this as I haven't used it but when in the ami it says to send channel, it usually means the unique current channel. The Asterisk wiki at wiki.asterisk.org is pretty good at showing you what's required, although their examples could be better, Hope this helps, Dan Jenkins On Nov 18, 2012, at 6:36, Face falaz...@gmail.com wrote: Hello all, I am running Asterisk 10.10.0 and I can send Message between SIP's no problem. However, I would like to be able to send send Message to a SIP from AMI Or CLI. I check the ListCommands On the AMI and it don't have MessageSend. Therefore, I try the SendText. AMI: Action: SendText Channel: SIP/600 Body: This is a test. Message: This is a test. Extension: 600; Response: Error Message: No such channel Any help would be much appreciated. -- Sincerely, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] How to MessageSend to a SIP from AMI Or CLI?
On 11/18/2012 05:17 AM, Dan Jenkins wrote: snip Hello all, I am running Asterisk 10.10.0 and I can send Message between SIP's no problem. However, I would like to be able to send send Message to a SIP from AMI Or CLI. I check the ListCommands On the AMI and it don't have MessageSend. Therefore, I try the SendText. snip In addition to what Dan said, the MessageSend AMI action was added in Asterisk 11: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_MessageSend While that doesn't help you if you're on Asterisk 10, it will help you if you choose to migrate to Asterisk 11. -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] How to MessageSend to a SIP from AMI Or CLI?
Hello all, I am running Asterisk 10.10.0 and I can send Message between SIP's no problem. However, I would like to be able to send send Message to a SIP from AMI Or CLI. I check the ListCommands On the AMI and it don't have MessageSend. Therefore, I try the SendText. AMI: Action: SendText Channel: SIP/600 Body: This is a test. Message: This is a test. Extension: 600; Response: Error Message: No such channel Any help would be much appreciated. -- Sincerely, -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users