[SR-Users] SMS module not found parameter.

peter_green lion betergreen at live.com
Mon Oct 25 12:34:27 CEST 2010


hi all,
i am a new bie in kamailio. i use SMS module to send message to GSM net work.

my kamailio.cfg is :

modparam("sms", "modems", "wavecom[d=/dev/ttyS;c=+84900000022;b=57600; m=new;l=20]")
modparam("sms", "networks", "D1[m=10]; d2[m=10]")
modparam("sms", "links", "wavecom[D1;d2]")
modparam("sms", "default_net", "localhost")
modparam("sms", "domain_str", "D1.d2")
modparam("sms", "max_sms_parts", 10)
modparam("sms", "use_contact", 1)
modparam("sms", "sms_report_type", 1)


if(method == "MESSAGE"){
                if(has_body("text/plain")){

                        sms_send_msg_to_net("D1");

               
                }

        }



but when i start kamailio 
the log show :
Oct 25 06:28:26 localhost kamailio: ERROR: <core> [modparam.c:143]: set_mod_param_regex: parameter <domain_str> not found in module <sms>
Oct 25 06:28:26 localhost kamailio: : <core> [cfg.y:3333]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 173, column 42: Can't set module parameter


please help to configure it correct.
i use wavecom modem and some infomation:
baudrate=57600
c=+84900000022
ip server:192.168.1.100
modem connect with server via com1 (/dev/ttyS0)
and kamailio version 3.0.2
thanks for help me.
Peter Green

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20101025/a0c9e384/attachment.htm>


More information about the sr-users mailing list