<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1258"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello,<br>
<br>
I don't know if the latest models from Nokia support AT commands,
but the older models should do it. Maybe googling it you can find
more details.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
On 11/2/10 6:32 AM, peter_green lion wrote:
<blockquote cite="mid:SNT121-W223909610F47D9AF58E5BBBC490@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1258">
<meta name="Generator" content="Microsoft SafeHTML">
Hello,<br>
<br>
On 10/25/10 12:34 PM, peter_green lion wrote:
<blockquote cite="mid:SNT121-W361FA5B2230574157ADED2BC410@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style> hi all,<br>
i am a new bie in kamailio. i use SMS module to send message to
GSM net work.<br>
<br>
my kamailio.cfg is :<br>
<br>
modparam("sms", "modems",
"wavecom[d=/dev/ttyS;c=+84900000022;b=57600; m=new;l=20]")<br>
modparam("sms", "networks", "D1[m=10]; d2[m=10]")<br>
modparam("sms", "links", "wavecom[D1;d2]")<br>
modparam("sms", "default_net", "localhost")<br>
modparam("sms", "domain_str", "D1.d2")<br>
modparam("sms", "max_sms_parts", 10)<br>
modparam("sms", "use_contact", 1)<br>
modparam("sms", "sms_report_type", 1)<br>
<br>
<br>
if(method == "MESSAGE"){<br>
if(has_body("text/plain")){<br>
<br>
<font style="" color="#548dd4">
sms_send_msg_to_net("D1")</font>;<br>
<br>
<br>
}<br>
<br>
}<br>
<br>
<br>
<br>
but when i start kamailio <br>
the log show :<br>
Oct 25 06:28:26 localhost kamailio: ERROR: <core>
[modparam.c:143]: set_mod_param_regex: parameter
<domain_str> not found in module <sms><br>
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<br>
</blockquote>
looking in the sources, I see the parameter is exported under name
"domain".<br>
<br>
Try:<br>
modparam("sms", "domain", ".....")<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
thanks Daniel,<br>
i have fix it, but i have another problem that my NOKIA phone
doesn`t support full AT command.<br>
so can anyone suggest me which model nokia phone support full AT
command or use as GSM modem in SMS module????<br>
thanks all for help me.<br>
Peter Green<br>
<pre class="ecxmoz-signature">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>