[Freeswitch-users] Sending NOTIFY using sendevent / ESL

Martyn Davies martyn at magiccow.co.uk
Wed Jul 24 10:09:19 MSD 2013


Yes, for example I send this:

sendevent NOTIFY

profile: internal

content-type: application/simple-message-summary

event-string: check-sync

user: {number}

host: {domain}

content-length: 2


OK


I've tried many variations: swapping the domain for the actual IP address,
different profiles etc.




On 23 July 2013 20:58, Raymond Chandler <intralanman at freeswitch.org> wrote:

>  Maybe you could post what you're sending now?
>
> There are a couple of different ways to fire a NOTIFY.  By registration
> with user/host/etc and an arbitrary NOTIFY with from-uri/to-uri/etc
>
> -Ray
>
>
>
> On 07/23/2013 03:45 PM, Martyn Davies wrote:
>
> I've been trying to generate a NOTIFY using sendevent, following some of
> the examples in http://wiki.freeswitch.org/wiki/Mod_event_socket and also
> various stuff found in Jira and historic message trails.
>
>  I can't get it to do anything.  If I switch on events for notify, I can
> see that the sendevent command generates some kind of message (and the
> fields seem to have appropriate URIs and so on), but at the SIP level
> nothing at all happens (I've got wireshark at the client end). I've
> switched on all events on fs_cli, and sofia trace but see nothing to
> suggest that a notify is sent.
>
>  I'd appreciate any suggestions that could make a message flow. Failing
> that, what logs can I switch on to give a clue about where/why the message
> is discarded before making it to SIP?
>
>  I was using FS 1.5.1, just changed to 1.5.3 today (no difference).
> Client software is brand-new Mac Blink client bought last week.
>
>  Regards,
> Martyn
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130724/48172087/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list