[Freeswitch-users] Sip chat messages
Mathieu Rene
mrene_lists at avgs.ca
Fri Jul 16 07:53:34 PDT 2010
Hi,
You can also say profilename/sip:user at host in order to send it directly, althrough that wasn't there at first :)
103: if (!strncasecmp(user, "sip:", 4)) {
to_uri = user;
}
131: if (!to_uri && !sofia_reg_find_reg_url(profile, user, host, buf, sizeof(buf))) {
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
On 2010-07-16, at 5:50 AM, Daniel-Constantin Mierla wrote:
> Hello,
>
> On 7/16/10 5:11 PM, Meftah Tayeb wrote:
>> hello
>> i am using from console:
>> chat sip|1003 at external|883510000000094 at XXX.XXX.XXX.XXX|hello
>> but is not sending it
>> i see unvalid profile X.X.X.X
>> why?
>> is not pocible to send chat msg to external uri?
>>
>
> the error seems related to the profile in this case, anyhow sending
> instant messaging works only for destinations registered to local
> freeswitch (see mod_sofia/sofia_presence.c, line 131).
>
> I was close to get into a project working with freeswitch and instant
> messaging, at that time I looked a bit in the sources and should be fair
> easy to make it work for other destinations, but I had no time to do it,
> test and send the patch. Maybe I will find some before cluecon if no one
> does it meanwhile.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.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
More information about the FreeSWITCH-users
mailing list