a2billing + realtime
Настраиваю realtime для биллинга впервые. По мануалам http://forum.asterisk2billing.org/viewto ... e_realtime и http://www.voip-info.org/wiki/view/Asterisk+RealTime все получилось и пиры создаются в базе и подтягиваются оттуда. Но при регистрации пира или выхода из сети выскакивают ворнинги:
| Код: |
| [Apr 23 17:46:49] WARNING[11156]: chan_sip.c:27628 handle_common_options: Unknown directmedia mode '' on line 0 [Apr 23 17:46:49] WARNING[11156]: chan_sip.c:28407 build_peer: '' is not a valid RTP hold time at line 0. Using default. [Apr 23 17:46:49] WARNING[11156]: chan_sip.c:28247 build_peer: no value given for outbound proxy on line 0 of sip.conf.[Apr 23 17:46:49] WARNING[11156]: chan_sip.c:28417 build_peer: '' is not a valid RTP keepalive time at line 0. Using default. |
CLI> realtime load sipusers name 4961652594
| Код: |
| Column Name Column Value -------------------- -------------------- id 4 id_cc_card 26 name 4961652594 accountcode 4961652594 regexten 4961652594 amaflags billing callgroup callerid canreinvite context a2billing DEFAULTip dtmfmode RFC2833 fromuser fromdomain host dynamic insecure language mailbox 4961652594 md5secret nat yes deny permit mask pickupgroup port 53390 qualify no restrictcid rtptimeout rtpholdtimeout secret password type friend username 4961652594 disallow ALL allow ulaw,alaw,gsm,g729 musiconhold regseconds 1335199609 ipaddr xx.xx.xx.xx cancallforward yes fullcontact sip:4961652594@xx.xx.xx.xx:53390;rinstance=b7f73dc506bac1c2 setvar regserver lastms 0 defaultuser auth subscribemwi vmexten cid_number callingpres usereqphone incominglimit subscribecontext musicclass mohsuggest allowtransfer autoframing maxcallbitrate outboundproxy rtpkeepalive useragent eyeBeam release 1102u stamp 52345 callbackextension directmedia no encryption transport |
Если например в параметр directmedia вставляю любое "неподходящее слово". То добавляется ворнинг
| Код: |
| [Apr 23 18:09:51] WARNING[11156]: chan_sip.c:27628 handle_common_options: Unknown directmedia mode 'anyword' on line 0 |
Прошу направить на путь истинный.
_________________
https://github.com/nixonch/a2billing
При заполнении этих полей, та же фигня.
Буду ждать вашего ответа.
С меня причетается
_________________
https://github.com/nixonch/a2billing
`directmedia` enum('yes','no','nonat','update') DEFAULT NULL,
`outboundproxy` varchar(40) DEFAULT NULL,
`rtpholdtimeout` int(11) DEFAULT NULL,
`rtpkeepalive` int(11) DEFAULT NULL,
Ошибки пропали.

_________________
https://github.com/nixonch/a2billing