[Freeswitch-dev] Problem send message from code

Juan Antonio Ibañez Santorum juanito1982 at gmail.com
Tue Aug 27 15:29:11 MSD 2013


Doing some debugging I can see that when contact variable is

sip:DEMOR at 79.152.74.218:28554

message is sent

but when contact variable is

sip:DEMOR3 at 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 at 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 at 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?
> >
> > http://pastebin.com/fnQj00Eg
> >
> > Regards
> > _________________________________________________________________________
> > 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-dev mailing list
> > FreeSWITCH-dev at 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 at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130827/e1ed434d/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list