SMS Server Tools 3
This site is hosted by Kekekasvi.com
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. Please login or register. Sun Feb 28, 2021 03:46
SMSTools3 Community » Help and support Bottom

USB modem Huawei and incoming call

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
FreeBSD 8.2:
Name and model of a modem / phone: Huawei 173
Interface: USB

Sorry for my english.

I have connect usb modem Huawei 173 to my computer.
I cand send and recieve sms.

But my qustion is:

Does exist method to define situation when phone call come to modem?
And does exist method to get phone number when call coming to modem?

I don't need to answer to call, only get number and hang up.

I have next devices in my file system:

# ls -l /dev/ttyU*
crw------- 1 root wheel 0, 131 1 дек 15:41 /dev/ttyU0.0
crw------- 1 root wheel 0, 132 1 дек 15:41 /dev/ttyU0.0.init
crw------- 1 root wheel 0, 133 1 дек 15:41 /dev/ttyU0.0.lock
crw------- 1 root wheel 0, 137 1 дек 15:41 /dev/ttyU0.1
crw------- 1 root wheel 0, 138 1 дек 15:41 /dev/ttyU0.1.init
crw------- 1 root wheel 0, 139 1 дек 15:41 /dev/ttyU0.1.lock
crw------- 1 root wheel 0, 143 1 дек 15:41 /dev/ttyU0.2
crw------- 1 root wheel 0, 144 1 дек 15:41 /dev/ttyU0.2.init
crw------- 1 root wheel 0, 145 1 дек 15:41 /dev/ttyU0.2.lock

I am sorry, this question is not about smsd but if anybody knows something about solution please direct me to the right direction.

I can write small unix program if exists only non standart solution.

Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
I found this topic http://smstools3.kekekasvi.com/topic.php?id=299 and will try that method

Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
This is pert of my config:



but nothing happens when a call comes to modem:
- no files in /var/spool/sms/phonecall
- no hangup
- no execution of eventhandler

What I can use to get reaction from modem when call is coming?

Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
When I try to use modem in Window with it Huawei program that program define when come incoming call.

Does exist some AT command for modem that modem start respond to incoming call?

Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
When incoming call come "RING" is in /dev/cuaU0.2
How I can say this fact to smsd in it config?

Member
Registered:
Jun 2009
Location: Russian Federation
please try global and modem settings : "phonecalls" in smsd.conf

Member
Registered:
Jun 2009
Location: Russian Federation
What is your version of smsd?


« Last edit by VVV on Tue Dec 06, 2011 16:07, 112 months ago. »
Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
This is my config file:



I use smstools-3.1.14:



I have next devices:



« Last edit by Vic on Tue Dec 06, 2011 18:48, 112 months ago. »
Member
Registered:
Jun 2009
Location: Russian Federation
I think you can't use php script as eventhandler:
eventhandler = /var/src/smsop.php
'smsdconf' Syntax Highlight powered by GeSHi

As far as I know, bash script must be used here.
For example such as in link : http://smstools3.kekekasvi.com/topic.php?id=299
Please try to use bash script.

Member
Registered:
Dec 2011
Location: Zelenograd, Russian Federation
Topic owner
My php script work perfectly with sms.
It does not matter what type of script used.

Now I would like to add parameter to config file and change sources of program to read messages from second port to define incoming call.


« Last edit by Vic on Fri Dec 09, 2011 10:38, 112 months ago. »
Member
Registered:
Jun 2009
Location: Russian Federation
What shows loglevel=7 ?

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.

Fatal error: Call to a member function usebb_die() on a non-object in /var/www/smstools3/sources/common.php on line 187