Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / UTM5(netup)+Asterisk

UTM5(netup)+Asterisk

1 234>
Откуда: Ачинск
Сообщений: 24

UTM5(netup)+Asterisk

Всем, привет! Кто делал связку http://voip.rus.net/tiki-index.php?page=asterisk-utm
кто делал отзовитесь или может подскажет. Жду советов.
2009-01-25 19:49

Avatara of dnz63
Сообщений: 177

Re: UTM5(netup)+Asterisk

Работает
2009-01-25 20:51

Откуда: Ачинск
Сообщений: 24

Re: UTM5(netup)+Asterisk

может подскажешь, есть вопросы, напиши аську или мыло куда стукнуться тебя
2009-01-25 20:58

Откуда: Ачинск
Сообщений: 24

Re: UTM5(netup)+Asterisk

Товарищи, отпишитесь кто настраивал, пожалуйста, жду!
ICQ 239397689, e-mail: avdoshkin@mail.ru
2009-01-26 09:20

Откуда: Kharkov
Сообщений: 89

Re: UTM5(netup)+Asterisk

Что за форум бесплатных фрилансеров вы тут устраиваете?Пишите проблему, что не получается, что делали.Общественности может тоже интересно будет следить за ходом...
2009-01-26 10:45

Откуда: Ачинск
Сообщений: 24

Re: UTM5(netup)+Asterisk

Проблема, в следующем. Связку настроил по http://voip.rus.net/tiki-index.php?page=asterisk-utm.
1) Баланс проверяет если положительный то дает звонить если нет то нет
2)Но в отчетах телефонии иногда появляется дата начала звонки и окончания и все, а остального нет.
Лог звонка:
[Jan 26 14:59:55] == Parsing '/usr/local/etc/asterisk/extconfig.conf': [Jan 26 14:59:55] Found
[Jan 26 14:59:55] Connected to Asterisk 1.4.22.1 currently running on mail (pid = 10374)
Verbosity is at least 3
[Jan 26 15:00:06] -- Executing [89029258686@sip_auth:1] AGI("SIP/56922-29c1b000", "agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922") in new stack
[Jan 26 15:00:06] -- Launched AGI Script /usr/local/share/asterisk/agi-bin/agi-rad-auth.agi
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: AGI Environment Dump:
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- accountcode =
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- callerid = 56922
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- calleridname = 56922
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- callingani2 = 0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- callingpres = 0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- callingtns = 0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- callington = 0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- channel = SIP/56922-29c1b000
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- context = sip_auth
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- dnid = 89029258686
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- enhanced = 0.0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- extension = 89029258686
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- language = ru
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- priority = 1
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- rdnis = unknown
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- request = agi-rad-auth.agi
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- type = SIP
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: -- uniqueid = 1232956806.16
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: RADIUS server response type = 2
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=Service-Type value=Framed-User
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=Framed-Protocol value=PPP
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=Cisco-AVPair value=xpgk-ep-number=56924;56922;56923
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=Cisco-AVPair value=h323-ivr-in=terminal-alias:56924;56922;56923;
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=h323-credit-amount value=1099.96
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=h323-credit-time value=72000
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=h323-return-code value=0
[Jan 26 15:00:06] -- agi-rad-auth.agi|Mode=Account&Username=56922&Password=56922: attr: name=h323-currency value=USD
[Jan 26 15:00:06] -- AGI Script Executing Application: (UserEvent) Options: (_SIP_Auth|User-Name: 56922|DNID: |Channel: SIP/56922-29c1b000)
[Jan 26 15:00:06] -- AGI Script agi-rad-auth.agi completed, returning 0
[Jan 26 15:00:06] -- Executing [89029258686@sip_auth:2] Dial("SIP/56922-29c1b000", "OH323/9999#79029258686@80.237.13.33") in new stack
[Jan 26 15:00:06] -- H.323 call to 9999#79029258686@80.237.13.33 with codec(s) g729 alaw ulaw
[Jan 26 15:00:06] -- Outbound H.323 call to destination '9999#79029258686@80.237.13.33', channel 'OH323/9999#79029258686@80.237.13.33-f0e8f03d'.
[Jan 26 15:00:06] -- Called 9999#79029258686@80.237.13.33
[Jan 26 15:00:12] -- OH323/9999#79029258686@80.237.13.33-f0e8f03d is ringing
[Jan 26 15:00:30] -- OH323/9999#79029258686@80.237.13.33-f0e8f03d answered SIP/56922-29c1b000
[Jan 26 15:00:30] WARNING[10374]: chan_oh323.c:1785 oh323_indicate: Don't know how to indicate condition 20


tail -f /netup/utm5/log/radius.log
?Debug : Jan 26 15:03:01 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 226

?Debug : Jan 26 15:03:01 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:01 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:01 AcctServer: Next...
?Debug : Jan 26 15:03:01 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:01 RADIUS Stream[plugin]: Account <4056> with balance <-400.039>
?Debug : Jan 26 15:03:12 RADIUS DBA: No interim update enabled session <1> found. Setting to default (if enabled).
?Debug : Jan 26 15:03:16 RADIUS Stream[plugin]: Ping reply received
?Debug : Jan 26 15:03:30 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:30 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:30 RADIUS Packet: Size <171>; HDR.Size <171>
?Debug : Jan 26 15:03:30 AuthServer: Recv...
?Debug : Jan 26 15:03:30 AuthServer: Packet from NAS <127.0.0.1>
?Debug : Jan 26 15:03:30 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:30 AuthServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 1; ID: 65
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 2>[16]: c18075874cd2d9469a1bcff67f83bc65
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[5]: 3536393232
<Vendor: 9; Attr: 1>[21]: 63616c6c2d69643d313233323935373031302e3139
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:30 AuthServer: User <56922> connecting
?Debug : Jan 26 15:03:30 AuthServer: Session for sessionid <56922> not found in <127.0.0.1> cache
?Debug : Jan 26 15:03:30 RADIUS DBA: Info for login <56922> found. type <3>
?Debug : Jan 26 15:03:30 RADIUS DBA: Password found for tel login:56922
?Debug : Jan 26 15:03:30 AuthServer: Auth scheme: PAP
?Debug : Jan 26 15:03:30 AuthServer: PAP: <56922> vs <56922>
?Debug : Jan 26 15:03:30 AuthServer: PAP: Authorized user <56922>
?Debug : Jan 26 15:03:30 AuthServer: Tel session limit:0 session count:0 for user:56922
?Debug : Jan 26 15:03:30 AuthServer: No Called-Station-Id present in radius packet! Registration request ? Using login string and sending Accept!
?Debug : Jan 26 15:03:30 AuthServer: Tel num:<56924>. Setting xpgk-ep-number/h323-ivr-in ...
?Debug : Jan 26 15:03:30 AuthServer: Tel num:<56922>. Setting xpgk-ep-number/h323-ivr-in ...
?Debug : Jan 26 15:03:30 AuthServer: Tel num:<56923>. Setting xpgk-ep-number/h323-ivr-in ...
?Debug : Jan 26 15:03:30 AuthServer: Sending xpgk-ep-number <xpgk-ep-number=56924;56922;56923>
?Debug : Jan 26 15:03:30 AuthServer: Sending h323-ivr-in <h323-ivr-in=terminal-alias:56924;56922;56923;>
?Debug : Jan 26 15:03:30 AuthServer: Sending timeout h323-credit-time=72000
?Debug : Jan 26 15:03:30 AuthServer: Sending h323-credit-amount=1099.96
?Debug : Jan 26 15:03:30 AuthServer: Calling fill radius attributes for service. Attr storage size <0>
?Debug : Jan 26 15:03:30 AuthServer: Calling fill radius attributes for slink. Attr storage size <0>
?Debug : Jan 26 15:03:30 AuthServer: Calling fill radius attributes for NAS. Attr storage size <0>
Notice: Jan 26 15:03:30 AuthServer: Login OK <56922> from NAS <127.0.0.1> CLID <> Calling-station <56922>
?Debug : Jan 26 15:03:30 AuthServer: Setting interim update interval from config
?Debug : Jan 26 15:03:30 AuthServer: Auth reply: RPacket:
Code: 2; ID: 65
<Vendor: 0; Attr: 6>[4]: 00000002
<Vendor: 0; Attr: 7>[4]: 00000001
<Vendor: 9; Attr: 1>[32]: 7870676b2d65702d6e756d6265723d35363932343b35363932323b3536393233
<Vendor: 9(0); Attr: 1>[45]: 683332332d6976722d696e3d7465726d696e616c2d616c6961733a35363932343b35363932323b35363932333b
<Vendor: 9; Attr: 101>[26]: 683332332d6372656469742d616d6f756e743d313039392e3936
<Vendor: 9; Attr: 102>[22]: 683332332d6372656469742d74696d653d3732303030
<Vendor: 9; Attr: 103>[18]: 683332332d72657475726e2d636f64653d30
<Vendor: 9; Attr: 110>[17]: 683332332d63757272656e63793d555344

?Debug : Jan 26 15:03:30 RADIUS Packet: raw data constructed! size <240>
?Debug : Jan 26 15:03:30 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:30 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:30 AuthServer: Next...
?Trace : Jan 26 15:03:30 AuthServer: Process loop step
?Debug : Jan 26 15:03:30 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:38 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:38 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:38 RADIUS Packet: Size <145>; HDR.Size <145>
?Debug : Jan 26 15:03:38 AcctServer: Recv...
?Debug : Jan 26 15:03:38 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 227
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000003
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:38 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:38 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:03:38 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:38 AcctServer: Acct-Interim-Update packet
?Debug : Jan 26 15:03:38 AcctServer: Acct-Start: User <56922>
?Debug : Jan 26 15:03:38 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jan 26 15:03:38 AcctServer: Updating session <SIP/56922-29c19000> input/output octets <0>/<0> session time <0>
?Debug : Jan 26 15:03:38 RADIUS DBA: Info for login <56922> found. type <3>
?Debug : Jan 26 15:03:38 RADIUS DBA: Password found for tel login:56922
?Debug : Jan 26 15:03:38 RADIUS DBA: info for user found. type <3> info addr <139598848>
?Debug : Jan 26 15:03:38 RADIUS DBA: search_user_info return info <139598848>
?Debug : Jan 26 15:03:38 RADIUS DBA: search_user_info return valid info
?Debug : Jan 26 15:03:38 RADIUS DBA: Setting interim interval <0> for session id <SIP/56922-29c19000>
?Debug : Jan 26 15:03:38 RADIUS DBA: TELTARIFF: called number <> calling number <> direction id <0> zone id <0>
?Debug : Jan 26 15:03:38 RADIUS DBA: Calling send_session_log_init_sync ...
?Debug : Jan 26 15:03:38 RADIUS Stream[plugin]: send_session_log_init_sync
?Debug : Jan 26 15:03:38 RADIUS Stream[plugin]: init log id <19>
?Debug : Jan 26 15:03:38 RADIUS DBA: Interim updating session <SIP/56922-29c19000> with timestamp <1232957018>
?Debug : Jan 26 15:03:38 RADIUS Stream[plugin]: edit log id <19>
?Debug : Jan 26 15:03:38 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 227

?Debug : Jan 26 15:03:38 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:38 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:38 AcctServer: Next...
?Debug : Jan 26 15:03:38 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:42 RADIUS DBA: No interim update enabled session <1> found. Setting to default (if enabled).
?Debug : Jan 26 15:03:42 RADIUS DBA: No interim update enabled session <19> found. Setting to default (if enabled).
?Debug : Jan 26 15:03:43 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:43 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:43 RADIUS Packet: Size <145>; HDR.Size <145>
?Debug : Jan 26 15:03:43 AcctServer: Recv...
?Debug : Jan 26 15:03:43 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 228
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000003
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:43 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:43 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:03:43 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:43 AcctServer: Acct-Interim-Update packet
?Debug : Jan 26 15:03:43 AcctServer: Acct-Start: User <56922>
?Debug : Jan 26 15:03:43 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jan 26 15:03:43 AcctServer: Updating session <SIP/56922-29c19000> input/output octets <0>/<0> session time <0>
?Debug : Jan 26 15:03:43 RADIUS DBA: Interim updating session <SIP/56922-29c19000> with timestamp <1232957023>
?Debug : Jan 26 15:03:43 RADIUS Stream[plugin]: edit log id <19>
?Debug : Jan 26 15:03:43 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 228

?Debug : Jan 26 15:03:43 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:43 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:43 AcctServer: Next...
?Debug : Jan 26 15:03:43 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:46 RADIUS Stream[plugin]: Ping reply received
?Debug : Jan 26 15:03:48 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:48 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:48 RADIUS Packet: Size <145>; HDR.Size <145>
?Debug : Jan 26 15:03:48 AcctServer: Recv...
?Debug : Jan 26 15:03:48 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 229
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000003
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:48 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:48 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:03:48 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:48 AcctServer: Acct-Interim-Update packet
?Debug : Jan 26 15:03:48 AcctServer: Acct-Start: User <56922>
?Debug : Jan 26 15:03:48 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jan 26 15:03:48 AcctServer: Updating session <SIP/56922-29c19000> input/output octets <0>/<0> session time <0>
?Debug : Jan 26 15:03:48 RADIUS DBA: Interim updating session <SIP/56922-29c19000> with timestamp <1232957028>
?Debug : Jan 26 15:03:48 RADIUS Stream[plugin]: edit log id <19>
?Debug : Jan 26 15:03:48 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 229

?Debug : Jan 26 15:03:48 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:48 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:48 AcctServer: Next...
?Debug : Jan 26 15:03:48 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:53 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:53 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:53 RADIUS Packet: Size <145>; HDR.Size <145>
?Debug : Jan 26 15:03:53 AcctServer: Recv...
?Debug : Jan 26 15:03:53 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 230
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000003
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:53 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:53 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:03:53 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:53 AcctServer: Acct-Interim-Update packet
?Debug : Jan 26 15:03:53 AcctServer: Acct-Start: User <56922>
?Debug : Jan 26 15:03:53 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jan 26 15:03:53 AcctServer: Updating session <SIP/56922-29c19000> input/output octets <0>/<0> session time <0>
?Debug : Jan 26 15:03:53 RADIUS DBA: Interim updating session <SIP/56922-29c19000> with timestamp <1232957033>
?Debug : Jan 26 15:03:53 RADIUS Stream[plugin]: edit log id <19>
?Debug : Jan 26 15:03:53 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 230

?Debug : Jan 26 15:03:53 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:53 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:53 AcctServer: Next...
?Debug : Jan 26 15:03:53 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:03:58 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:03:58 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:03:58 RADIUS Packet: Size <145>; HDR.Size <145>
?Debug : Jan 26 15:03:58 AcctServer: Recv...
?Debug : Jan 26 15:03:58 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 231
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000003
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137

?Debug : Jan 26 15:03:58 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:58 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:03:58 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:03:58 AcctServer: Acct-Interim-Update packet
?Debug : Jan 26 15:03:58 AcctServer: Acct-Start: User <56922>
?Debug : Jan 26 15:03:58 AcctServer: Acct-Session-Time (46) not present in accounting packet.
?Debug : Jan 26 15:03:58 AcctServer: Updating session <SIP/56922-29c19000> input/output octets <0>/<0> session time <0>
?Debug : Jan 26 15:03:58 RADIUS DBA: Interim updating session <SIP/56922-29c19000> with timestamp <1232957038>
?Debug : Jan 26 15:03:58 RADIUS Stream[plugin]: edit log id <19>
?Debug : Jan 26 15:03:58 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 231

?Debug : Jan 26 15:03:58 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:03:58 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:03:58 AcctServer: Next...
?Debug : Jan 26 15:03:58 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:04:00 RadiusSocket: RADIUS packet successfully received
?Debug : Jan 26 15:04:00 RadiusSocket: RADIUS raw data obtained
?Debug : Jan 26 15:04:00 RADIUS Packet: Size <417>; HDR.Size <417>
?Debug : Jan 26 15:04:00 AcctServer: Recv...
?Debug : Jan 26 15:04:00 AcctServer: Packet from <127.0.0.1> packet dump: RPacket:
Code: 4; ID: 232
<Vendor: 0; Attr: 1>[5]: 3536393232
<Vendor: 0; Attr: 4>[4]: 7f000001
<Vendor: 0; Attr: 30>[0]:
<Vendor: 0; Attr: 31>[0]:
<Vendor: 0; Attr: 40>[4]: 00000002
<Vendor: 0; Attr: 44>[18]: 5349502f35363932322d3239633139303030
<Vendor: 0; Attr: 46>[4]: 00000000
<Vendor: 9; Attr: 1>[22]: 73657373696f6e2d70726f746f636f6c3d7369707632
<Vendor: 9(0); Attr: 1>[21]: 63616c6c2d69643d313233323935373031302e3139
<Vendor: 9; Attr: 2>[18]: 5349502f35363932322d3239633139303030
<Vendor: 9; Attr: 24>[48]: 683332332d636f6e662d69643d4533393831343733203839333844353145203733413946423342204636414337333137
<Vendor: 9; Attr: 25>[48]: 683332332d73657475702d74696d653d30383a30333a33302e30303020555443204d6f6e204a616e2032362032303039
<Vendor: 9; Attr: 28>[50]: 683332332d636f6e6e6563742d74696d653d30303a30303a30302e3030302055544320546875204a616e2020312031393730
<Vendor: 9; Attr: 29>[53]: 683332332d646973636f6e6e6563742d74696d653d30303a30303a30302e3030302055544320546875204a616e2020312031393730
<Vendor: 9; Attr: 30>[24]: 683332332d646973636f6e6e6563742d63617573653d3136

?Debug : Jan 26 15:04:00 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:04:00 AcctServer: Acct packet with session ID: SIP/56922-29c19000
?Debug : Jan 26 15:04:00 RADIUS DBA: NAS found. Data size <0>
?Debug : Jan 26 15:04:00 AcctServer: Acct-Stop packet
?Debug : Jan 26 15:04:00 RADIUS DBA: Session erase ... login type <3>
?Debug : Jan 26 15:04:00 RADIUS DBA: login type login_tel
?Debug : Jan 26 15:04:00 RADIUS DBA: Calling tel_calculate cost. session_time_not_present <0> NOW <1232957040>
?Debug : Jan 26 15:04:00 RADIUS Tarif: UT for telephony called. tkey:0 start:0 stop:0
?Debug : Jan 26 15:04:00 RADIUS Tarif: Telephony service <230> free time <0>
?Debug : Jan 26 15:04:00 RADIUS Tarif: UT cost_info sum:0.0000 setup_time <0>
?Debug : Jan 26 15:04:00 RADIUS DBA: VoIP Discount: TR ID 0: 0.000 for 0 sec setup_time <0>
?Debug : Jan 26 15:04:00 RADIUS Tarif: UT tkey <0> downloaded <0>
?Debug : Jan 26 15:04:00 RADIUS DBA: VoIP calculated cost: 0.000
?Debug : Jan 26 15:04:00 RADIUS Stream[plugin]: finish log id <19>
?Debug : Jan 26 15:04:00 AcctServer: Reply packet dump: RPacket:
Code: 5; ID: 232

?Debug : Jan 26 15:04:00 RadiusSocket: Moving RADIUS packet into send queue
?Debug : Jan 26 15:04:00 RadiusSocket: RADIUS raw data sent
?Debug : Jan 26 15:04:00 AcctServer: Next...
?Debug : Jan 26 15:04:00 RadiusSocket: Waiting for RADIUS raw data
?Debug : Jan 26 15:04:00 RADIUS Stream[plugin]: Account <4056> with balance <-400.039>
?Debug : Jan 26 15:04:12 RADIUS DBA: No interim update enabled session <1> found. Setting to default (if enabled).
2009-01-26 11:04

Avatara of litnimax
Откуда: Москва
Сообщений: 3421

Re: UTM5(netup)+Asterisk

С такими логами сюда - http://asteriskpbx.ru/pastebin и потом ссылку сюда.
Иначе читать тему невозможно!
http://pbxware.ru - все для Asterisk! || Switchvox - сделано на Asterisk! Подробности на http://switchvox.ru
2009-01-26 12:46

Avatara of litnimax
Откуда: Москва
Сообщений: 3421

Re: UTM5(netup)+Asterisk

2)Но в отчетах телефонии иногда появляется дата начала звонки и окончания и все, а остального нет.
Чего нет?
http://pbxware.ru - все для Asterisk! || Switchvox - сделано на Asterisk! Подробности на http://switchvox.ru
2009-01-26 12:46

Откуда: Ачинск
Сообщений: 24

Re: UTM5(netup)+Asterisk

нет, ID-аккаунта, Вызываемый абонент, Вызывающий абанент, Порт NAS, Логин, Зона, Направление, цена. Только дата начала и дата окончания
2009-01-26 13:10

Откуда: Ачинск
Сообщений: 24

Re: UTM5(netup)+Asterisk

log: asterisk + utm5_radius
http://asteriskpbx.ru/pastebin/9
2009-01-26 13:56

1 234>
Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru