[Freeswitch-users] FS is not suitable for MESSAGE, is it?

Iñaki Baz Castillo ibc at aliax.net
Wed Nov 19 02:12:34 PST 2008


Hi, I'm starting with FS and still don't handle very well the dialplan
syntax, but anyway I've realized that FS is not suitable for sending
MESSAGE (instead of INVITE).

I've registered two "internal" users (the default config): 1000 and 1001:

a) INVITE between internal users:
- 1000 calls 1001
- FS asks for authentication
- 1000 resends the INVITE with authorization headers.
- FS calls 1001
- 1001 answers
- FS brigdes the call by sending 200 to 1000.

b) INVITE to external user:
- 1000 calls sip:bob at external_domain.com
- FS asks for authentication
- 1000 resends the INVITE with authorization headers.
- FS replies 404.

c) MESSAGE between internal users:
- 1000 sends MESSAGE to 1001
- FS ***doesn't** ask for authentication    <---- !!!!!!!
- FS replies 200 OK directly
- FS sends the MESSAGE to 1001
- 1001 replies 200 OK to FS

d) MESSAGE to external user:
- 1000 sends MESSAGE to sip:bob at external_domain.com
- FS ***doesn't** ask for authentication    <---- !!!!!!!
- FS replies 200 OK directly
- FS ***doesn't*** send the MESSAGE to the destination user.


Well, I think it's obvious that FS MESSAGE handling is not coherent.
Opinions? is there something to do?

Thanks.








-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the FreeSWITCH-users mailing list