[Freeswitch-users] Simulate incoming SIP Message
Daniel Ivanov
sertys at gmail.com
Tue May 5 18:57:52 MSD 2015
You got it wrong. "Not sending a message to ourselves" means "not sending a
message to the same extension it came from". Just use the fs_cli chat
command and provide a fake sender to get your tests done.
>From wiki :
chat sip|1000 at 172.20.0.1|1001 at 172.20.0.1|Hello chat from freeswitch
On Mon, May 4, 2015 at 12:48 PM, Sergey Safarov <s.safarov at gmail.com> wrote:
> Why you not use sipp?
>
> On Mon, May 4, 2015 at 7:48 AM, Kurtis Heimerl <kheimerl at cs.berkeley.edu>
> wrote:
>
>> Hello FreeSWITCH Users,
>>
>> I am trying to simulate an incoming SIP message in order to test my
>> chatplan programmatically. Basically, I want FS to send itself a SIP
>> message, which will then be routed through the chatplan. I've been able to
>> generate the message using ESL and events, however FS refuses to send it
>> noting that it is "Not sending message to ourselves!"
>>
>> That's exactly what I want it to do. I've used this functionality before
>> for calls, as generating a call that connects back to FS (and hooking it to
>> echo) is a great way to test the dialplan. Is there no way to get FS to
>> send itself a message?
>>
>> Thanks!
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20150505/34761309/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list