|
From: meetmecall <in...@me...> - 2009-12-19 10:15:21
|
I have updated to libosip2-3.3.0. I removed the older version and build the 3.3 from source. I copied the smqueue.config.example to smqueue.config but it is not clear to me what I have to add or change to the config to make it work although I give it a try. I run OpenBTS2.5 and from what I understand OpenBTS and smqueue can coexist on the same system together with Asterisk. As it is now I got a couple of errors like you can see in the output of running smqueue. The "listen_on_port(5063) can't bind to addr ':::5063': Address already in use" seems like a real show stopper. smqueue get the table with registered IMSI numbers asociated with a phone number from Asterisk but how? Is it done by the sip entries in sip.conf. Below is the output of trying to send an sms from phone 1002 to phone 1003. I hope you can help me out. If you have specific testing to do please let me know. If you need any more info to help me out please let me know. Erik root@ubuntu:/usr/src/openbts-2.5.1Lacassine/smqueue# ./smqueue Listening at address '0.0.0.0:5063'. listen_on_port(5063) can't bind to addr ':::5063': Address already in use My own IP address is configured as 127.0.0.1 The HLR registry is at 127.0.0.1:5060 Failed to read queue from file savedqueue.txt Queue contains 0 msgs. === Dec 19 11:05:18 0 queued; waiting. Got SMS '469--bjkqf' from IMSI204203000434438 for 1003. Responding with "202 Queued". Lookup phonenum '1003' to IMSI failed. Bouncing 469--bjkqf from 1002 to 1003: Phone not registered here Lookup phonenum '1002' to IMSI failed. Bouncing 25264--25264 from 411 to 1002: Phone not registered here === Dec 19 11:10:35 1 queued; 0 seconds til No State for 25264--25264 == This message had an error and is being deleted: MSG = MESSAGE sip:1002@127.0.0.1:5602 SIP/2.0 Via: SIP/2.0/UDP 127.0.0.1:5063;branch=123 From: 411 <sip:411@127.0.0.1>;tag=25264 To: <sip:1002@127.0.0.1> Call-ID: eixvp@127.0.0.1 CSeq: 25264 MESSAGE Content-Type: text/plain Content-Length: 62 Can't send your SMS to 1003: Phone not registered here: Test 4 === Dec 19 11:10:35 0 queued; waiting. This is the smqueue.config # Config file for SMS server smqueue # Format of each line is. <key><space><value> # The key name can contain no spaces. # Everything between the first space and the end of the line becomes the value. # Comments must start with "#" at the beginning of the line. # Blank lines are OK. # Logging level #LogLevel DEBUG LogLevel INFO # Logging file. Logs to stdout if this is not defined. # FIXME -- The current smqueue ignores this. LogFile smqueue.log savefile savedqueue.txt # Asterisk interface Asterisk.address 127.0.0.1:5060 # Local SIP config SIP.myPort 5063 SIP.myIP 127.0.0.1 #SIP.myIP 192.168.10.200 #SIP.myIP2 192.168.10.200 #SIP.myIP 192.168.10.200 SIP.myIP2 127.0.0.1 Debug.print_as_we_validate n # Global relay host:port #SIP.global_relay 81.201.82.50:5060 SIP.global_relay > > You need osip2 release 3.3 to build smqueue. > > > On Dec 16, 2009, at 1:30 PM, meetmecall wrote: > >> >> David sugested on the IRC channel that I might have the wrong version >> of Libosip. Locate result in the output below. Should I update or >> install another version of Libosip or should I check for other >> packages? Thanks in advance. >> >> > > > David A. Burgess > Kestrel Signal Processing, Inc. > > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss |