Cramac Posted July 7, 2014 Posted July 7, 2014 Всем привет. Есть сип номер московский и астериск настроенный. Все работает, при звонке есть ivr Хочу подключить жсм модем, вроде прописал все в dongle.conf привязал к нужному, при звонке на мобильный. слышу свое меню, но при попытке что то выбрать (нажимаю 1 или 2) ничего не происходит, т.е. тоны с мобильника не определяются... Как быть и починить? И будет ли работать? Вставить ник Quote
awsswa Posted July 8, 2014 Posted July 8, 2014 не корректно настроен dongle.conf - там есть параметры dtmf Вставить ник Quote
Cramac Posted July 8, 2014 Author Posted July 8, 2014 что не до настроено? # cat dongle.conf[general] interval=15 ; Number of seconds between trying to connect to devices [defaults] context=default ; context for incoming calls group=0 ; calling group rxgain=0 ; increase the incoming volume; may be negative txgain=0 ; increase the outgoint volume; may be negative autodeletesms=yes ; auto delete incoming sms resetdongle=yes ; reset dongle during initialization with ATZ command u2diag=-1 ; set ^U2DIAG parameter on device (0 = disable everything except modem function) ; -1 not use ^U2DIAG command usecallingpres=yes ; use the caller ID presentation or not callingpres=allowed_passed_screen ; set caller ID presentation by default use default network settings mindtmfgap=45 mindtmfduration=80 mindtmfinterval=200 exten=96....79 dtmf=inband [dongle0] rxgain=-5 txgain=-5 audio=/dev/ttyUSB1 ; tty port for audio connection; no default value data=/dev/ttyUSB2 ; tty port for AT commands; no default value imei=35....61 imsi=25....52 Вставить ник Quote
awsswa Posted July 9, 2014 Posted July 9, 2014 Поиском ищите правильные параметры - собака зарыта в этих параметрах mindtmfduration=80 mindtmfinterval=200 Вставить ник Quote
Cramac Posted July 10, 2014 Author Posted July 10, 2014 dtmf=relax не меняет картины. привел к такому варианту: mindtmfgap=0 mindtmfduration=0 mindtmfinterval=100 dtmf=relax стало срабатывать, но только когда прошло приветствие и через раз как то Вставить ник Quote
Cramac Posted July 10, 2014 Author Posted July 10, 2014 в общем вынес еще модем по ближе к GSM сети :) и с такими параметрами заработало как положено, будем тестить... Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.