Hi all, this is my first day of hands on experience with FreeSwitch, which I have been following for many months now.
We deploy Asterisk boxes, and now that Freepbx runs with Freeswitch, we intend to "migrate" to it as our main platform. I'm really enjoying FS, congratulations! Now for the actual question: The issue is I bought a GSM Gateway, wich I'm trying to send SMS thru it ... and the device documentation says to send a "SIP MESSAGE" to it like: MESSAGE sip: 1...@192.168.1.126:5060;transport=udp SIP/2.0 From: <SIP 1...@192.168.1.100>;tag=5031 To:<SIP: 1...@192.168.1.126> Call-ID: 808807eb-a8b3-dd11-bba6-005056c00...@192.168.1.100 CSeq: 3 MESSAGE Contact: <sip: 1...@192.168.1.100> Max-Forwards: 16 Date: Tue, 08 Apr 2010 06:36:37 GMT User-Agent: Paulo p-hint: usrloc applied Content-Type: text/plain Content-Length: 17 96913511 hi paulo GSM Gateway is at IP 192.168.1.126 ... so I have tried to acomplish it by 2 ways: 1) using mod event sockets: I telnet to server and after auth, issue: sendevent SEND_MESSAGE profile: sipinterface_1 content-length: 18 content-type: text/plain user: 1003 host: 192.168.1.126 96913511 Hello Baby and returns: Content-Type: command/reply Reply-Text: +OK accepted I'm watching SIP traffic (using "sofia profile sipinterface_1 siptrace on") and I see no SIP packet going. then I tried 2) chat sip|1...@192.168.1.132|1...@192.168.1.126|Test message which returns: Error! Message Not Sent 2010-04-10 10:46:34.555510 [ERR] sofia_presence.c:109 Chat proto [dp] from [1...@192.168.1.132] to [1...@192.168.1.126] Test message Invalid Profile 192.168.1.126 So I tought: well, need to configura a profile (wich I understand is created on freepbx "SIP Interfaces" ... so I did, but FS console shows: 2010-04-10 10:25:59.681316 [ERR] sofia.c:1347 Error Creating SIP UA for profile: sipinterface_3 To collect more info, I tried to make similar steps to send SIP MESSAGE to a Granstream HT-486, so I created a "SIP Interface" to it, but returns same error msg: 2010-04-10 10:25:59.868661 [ERR] sofia.c:1347 Error Creating SIP UA for profile: sipinterface_4 Thank for your help, Paulo Cesar Emerique _______________________________________________ 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