[Freeswitch-users] Sent aastra-xml event via esl?
Tim St. Pierre
fs-list at communicatefreely.net
Sat Feb 5 01:09:08 MSK 2011
I'm trying to use ESL to send an event to aastra phones, so I can get
them to execute an XML script and do other fancy things.
To start, I'm just testing using a simple telnet connection to make sure
it will work.
I can successfully connect, and do things like "api help", etc.
Here's what I have been sending:
user: 5101 at communicatefreely.net
I get this response:
I don't see anything at all go out to the phone.
Here's the phone I want to get the event:
sofia status profile internal user 5101 at communicatefreely.net
User: 5101 at communicatefreely.net
Contact: "Tim St. Pierre"
Agent: Aastra 6731i/188.8.131.52
Status: Registered(UDP-NAT)(unknown) EXP(2011-02-04 17:21:56)
MWI-Account: 5101 at eccentricartists.communicatefreely.net
Total items returned: 1
What is the syntax of the user: and host: headers? Is the host: the
switch I want to respond to the event, or the IP address of the phone?
I need FS to send the event to the phone based on it's registration.
More information about the FreeSWITCH-users