[Freeswitch-dev] Problem send message from code
Hello, I have the following code to send SIP MESSAGE to some endpoins. The problem is that sometimes works, sometimes not and I am not be able to find why. Could you find any problem in that function? Is there any other way to send messages? http://pastebin.com/fnQj00Eg Regards
Are you sending a message to a registered user? Review mod_sofia.c : case SWITCH_EVENT_SEND_MESSAGE: /b On Aug 26, 2013, at 12:48 PM, Juan Antonio Ibañez Santorum <juanito1982@gmail.com> wrote:
Hello,
I have the following code to send SIP MESSAGE to some endpoins. The problem is that sometimes works, sometimes not and I am not be able to find why. Could you find any problem in that function? Is there any other way to send messages?
Regards _________________________________________________________________________ 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
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Yes, always to registered users. El 26/08/2013 18:59, "Brian West" <brian@freeswitch.org> escribió:
Are you sending a message to a registered user?
Review mod_sofia.c : case SWITCH_EVENT_SEND_MESSAGE:
/b
On Aug 26, 2013, at 12:48 PM, Juan Antonio Ibañez Santorum < juanito1982@gmail.com> wrote:
Hello,
I have the following code to send SIP MESSAGE to some endpoins. The problem is that sometimes works, sometimes not and I am not be able to find why. Could you find any problem in that function? Is there any other way to send messages?
Regards _________________________________________________________________________ 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
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Doing some debugging I can see that when contact variable is sip:DEMOR@79.152.74.218:28554 message is sent but when contact variable is sip:DEMOR3@192.168.1.18:5063 ;fs_nat=yes;fs_path=sip%3ADEMOR3%4085.155.168.217%3A5063 using user variable sip-force-contact=NDLB-connectile-dysfunction-2.0 has no different effect May be problem of this contact header? Any idea? Regards 2013/8/26 Brian West <brian@freeswitch.org>
Are you sending a message to a registered user?
Review mod_sofia.c : case SWITCH_EVENT_SEND_MESSAGE:
/b
On Aug 26, 2013, at 12:48 PM, Juan Antonio Ibañez Santorum < juanito1982@gmail.com> wrote:
Hello,
I have the following code to send SIP MESSAGE to some endpoins. The problem is that sometimes works, sometimes not and I am not be able to find why. Could you find any problem in that function? Is there any other way to send messages?
Regards _________________________________________________________________________ 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
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev 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
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Brian West
-
Juan Antonio Ibañez Santorum