Hello David,
sorry for the late
response.
Thank you for the
example. Yes, I tried it already.
But the problem is this
part:
user: 1005host: 192.168.10.4I am trying to send this
Message to my gateway.
sofia status:
Name Type Date State
=================================================================================================
external profile sip:mod_sofia@ip-Address:Port RUNNING (0)
external::gateway gateway sip:login@realm
REGED
Von:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von David Villasmil
Gesendet: Donnerstag, 9. August
2012 14:07
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users]
sendevent to Gateway
Have you tried:
Example of sendevent with a message
body, the length of the body is specified by content-length:
sendevent NOTIFYprofile: internalcontent-type: application/simple-message-summaryevent-string: check-syncuser: 1005host: 192.168.10.4content-length: 2 OKAnother example with a notify:
sendevent NOTIFYprofile: internalcontent-type: application/simple-message-summaryevent-string: check-syncuser: 1005host: 99.157.44.194content-length: 2 OKResults in a packet like this:
NOTIFY sip:1005@99.157.44.203 SIP/2.0Via: SIP/2.0/UDP 99.157.44.194;rport;branch=z9hG4bKpH2DtBDcDtg0NMax-Forwards: 70From: <sip:1005@99.157.44.194>;tag=Dy3c6Q1y15v5STo: <sip:1005@99.157.44.194>Call-ID: 129d1446-0063-122c-15aa-001a923f6a0fCSeq: 104766492 NOTIFYContact: <sip:mod_sofia@99.157.44.194:5060>User-Agent: FreeSWITCH-mod_sofia/1.0.trunk-9578:9586Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISHSupported: 100rel, timer, precondition, path, replacesEvent: check-syncAllow-Events: talk, presence, dialog, call-info, sla, include-session-description, presence.winfo, message-summarySubscription-State: terminated;timeoutContent-Type: application/simple-message-summaryContent-Length: 2 OKOn Wed, Aug 8, 2012 at 10:40 AM, Lappe, Adam <Adam.Lappe@qsc.de>
wrote:
I am trying to send a
NOTIFY Message to my Gateway that looks like this:
NOTIFY
sip:(address)@(host):(port) SIP/2.0
VIA: SIP/2.0/UDP
(address):(port)
From:;tag=1
To:
Call-ID: whatever
CSeq: 1 NOTIFY
Contact:
Event: message-summary
Subscription-State: terminated
Content-Type:
application/simple-message-summary
Content-Length: 23
Messages-Waiting: yes
Is it possible to make the FreeSWITCH send such a
message to my gateway?
Thanks,
Adam
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von David Villasmil
Gesendet: Dienstag, 7. August 2012
11:59
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users]
sendevent to Gateway
Hello,
What EXCATLY do
you want to send?
David
On Tue, Aug 7,
2012 at 11:48 AM, Lappe, Adam <Adam.Lappe@qsc.de> wrote:
I am still looking for a solution.
Is there no one who has an idea?
Thanks,
Adam
Von: freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Lappe, Adam
Gesendet: Freitag, 3. August 2012
11:53
An: 'FreeSWITCH-users@lists.freeswitch.org'
Betreff: [Freeswitch-users]
sendevent to Gateway
Hi all,
i
am trying to make the freeswitch send a event (or SIP Message) to my gateway.
I
can only find examples how to send events to registered endpoint but not to my
gateway.
Shouldn’t
it be possible to do this via the event socket?
Thanks
in advance and best regards,
Adam
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org