[Freeswitch-users] Sending NOTIFY using sendevent / ESL

Martyn Davies martyn at magiccow.co.uk
Thu Aug 1 20:52:27 MSD 2013


Thanks Robert, I've got the NOTIFY coming out now!  Those from-uri and
to-uri fields are both really needed.


On 1 August 2013 17:15, Robert Hadley <robert.hadley at teotech.com> wrote:

>  Hi Martyn,****
>
> ** **
>
> A couple suggestions.****
>
> 1. sendevent is not an api command, do not prefix with api or bgapi****
>
> 2. sofia debugging:
> http://wiki.freeswitch.org/wiki/Sofia-SIP#Debugging_Sofia-SIP, re: sofia
> loglevel all****
>
> ** **
>
> We send this text to the event socket which sends a check-sync notify to
> the phone.  The wiki example is missing the to/from-uri lines, please
> update it.****
>
> ** **
>
> sendevent NOTIFY****
>
> profile: internal****
>
> content-type: application/simple-message-summary****
>
> event-string: check-sync****
>
> user: 1200@<domain>****
>
> host: <domain>****
>
> from-uri: sip:1200@<domain>****
>
> to-uri: sip:1200@<device IP>****
>
> ** **
>
> ** **
>
> Regards,****
>
> Robert****
>
> ** **
>
> *From:* Martyn Davies [mailto:martyn at magiccow.co.uk]
> *Sent:* Thursday, August 01, 2013 4:21 AM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Sending NOTIFY using sendevent / ESL****
>
> ** **
>
> Regarding my "sendevent' not working: can anyone suggest useful
> diagnostics/traces I could switch on to find out why no NOTIFY results from
> my API request?****
>
> ** **
>
> Regards,****
>
> Martyn****
>
> ** **
>
> On 23 July 2013 20:45, Martyn Davies <martyn at magiccow.co.uk> 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.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130801/16369ef3/attachment.html 


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