I have
partially solved the issue.
In the
dialplan I use a execute_on_ring to run:
<action application="event"
data="Event-Name=NOTIFY,uuid=${uuid},event-string=talk,content-type=application/simple-message-summary"/>
This fires a
notify to the phone called, which has nearly the right SIP to- and from-headers.
Unfortunately
the tag=xxxx in the to-header is missing. This tag should be the same as
the tag in the SIP RINGING response from the phone, but somehow it is not
passed on to the NOTIFY.
The result is
that the phone cannot determine which call should be answered, and it does not
go off-hook.
From: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
Sent: 18. juni 2012 15:39
To:
Subject: [Freeswitch-users] sendevent NOTIFY
After some time working with BroadSoft, I have returned to the
FreeSWITCH, and I'm impressed with the overall improvements in consistency and
documentation. Great work!
I have tested the Event Socket sendevent NOTIFY command, and I have
tried to check if I could change the SIP From and SIP To headers to suit my
requirements. It looks as if there is no way.
So is there a way to specify the From- and To-headers, including the
associated tags?
I need this to be able to control the phone sets (set it off-hook).
Thanks /Jon