[Asterisk-Users] SendText

Seth Remington sremington at saberlogic.com
Mon Nov 15 08:50:36 MST 2004


On Sun, 2004-11-14 at 13:02, Alessandro Gatti wrote:
> Hello,
> 
> I was trying to use SendText to send a message to an extension, but it seems
> as if the message is being sent to the caller instead of the callee...
> 
> e.g.: exten => 123, 1, SendText(hello world)
> 
> Does anyone have any suggestion on how to override the behavior?
> 
> Many thanks,
> 
> Alex

Well, like most applications it performs on the channel that called it.
That means the "caller" in the terms you used. So when you dial
extension 123 in your example the SendText() application will send
"hello world" to you since you are the channel that executed it.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559




More information about the asterisk-users mailing list