Call failed to go through, reason (8) Congestion (circuits b
Добавлено: 12 фев 2012, 10:19
Добрый день. Отлаживал ael скрипт не меняя настройки основной системы, но неожиданно звонки перестали проходить.
В логах записано следующее:
Спасибо.
При этом систему тестирую только я и в очереди максимум бывает 1 звонок.[Feb 12 10:14:27] WARNING[11185]: chan_sip.c:17987 handle_response_invite: Received response: "Forbidden" from '"asterisk" <sip:ХХХ@sipnet.ru>;tag=as4f62c20c'
[Feb 12 10:14:27] NOTICE[11523]: pbx_spool.c:339 attempt_thread: Call failed to go through, reason (8) Congestion (circuits busy)
В логах записано следующее:
С чем это может быть связано? Настройки вроде не менял в этот момент. Почему в логах сперва идет: SIP/sipnet-out/ХХХХХХХХХХХ, а потом SIP/sipnet-out-0000000d?[Feb 12 09:07:40] VERBOSE[10477] pbx_spool.c: -- Attempting call on SIP/sipnet-out/ХХХХХХХХХХХ for s@base:1 (Retry 1)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Asked to create a SIP channel with formats: 0x40 (slin)
[Feb 12 09:07:40] VERBOSE[10477] netsock.c: == Using SIP RTP CoS mark 5
[Feb 12 09:07:40] VERBOSE[10477] netsock.c: == Using UDPTL CoS mark 5
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Allocating new SIP dialog for 4253487140fe14893583f16c6bcb0550@127.0.1.1 - INVITE (With RTP)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Setting NAT on RTP to On
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Setting NAT on UDPTL to On
[Feb 12 09:07:40] DEBUG[10477] acl.c: Found IP address for this socket
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Target address 212.53.40.40 is not local, substituting externip
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Setting SIP_TRANSPORT_UDP with address ХХ.ХХ.ХХ.ХХ:5060
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: *** Our native formats are 0x8 (alaw)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: *** Joint capabilities are 0x0 (nothing)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: *** Our capabilities are 0x10c (ulaw|alaw|g729)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: *** AST_CODEC_CHOOSE formats are 0x8 (alaw)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: *** Our preferred formats from the incoming channel are 0x40 (slin)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: This channel will not be able to handle video.
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Outgoing Call for ХХХХХХХХХХХ
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Updating call counter for outgoing call
[Feb 12 09:07:40] DEBUG[3661] chan_sip.c: Checking device state for peer sipnet-out
[Feb 12 09:07:40] DEBUG[3661] devicestate.c: Changing state for SIP/sipnet-out - state 6 (Ringing)
[Feb 12 09:07:40] DEBUG[3661] devicestate.c: device 'SIP/sipnet-out' state '6'
[Feb 12 09:07:40] DEBUG[3668] app_queue.c: Device 'SIP/sipnet-out' changed to state '6' (Ringing) but we don't care because they're not a member of any queue.
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: ** Our capability: 0xc (ulaw|alaw) Video flag: False Text flag: False
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: ** Our prefcodec: 0x40 (slin)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: -- Done with adding codecs to SDP
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Done building SDP. Settling with this capability: 0xc (ulaw|alaw)
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Initializing initreq for method INVITE - callid 7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru
[Feb 12 09:07:40] DEBUG[10477] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru' Request 102: Found
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Acked pending invite 102
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Stopping retransmission on '7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru' of Request 102: Match Found
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Trying to put 'ACK sip:892' onto UDP socket destined for 212.53.40.40:5060
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Auth attempt 1 on INVITE
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: ** Our capability: 0xc (ulaw|alaw) Video flag: False Text flag: False
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: ** Our prefcodec: 0x40 (slin)
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: -- Done with adding codecs to SDP
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Done building SDP. Settling with this capability: 0xc (ulaw|alaw)
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: Trying to put 'INVITE sip:' onto UDP socket destined for 212.53.40.40:5060
[Feb 12 09:07:40] DEBUG[3670] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru' Request 103: Found
[Feb 12 09:07:42] DEBUG[3670] chan_sip.c: Acked pending invite 103
[Feb 12 09:07:42] DEBUG[3670] chan_sip.c: Stopping retransmission on '7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru' of Request 103: Match Found
[Feb 12 09:07:42] DEBUG[3670] chan_sip.c: Trying to put 'ACK sip:892' onto UDP socket destined for 212.53.40.40:5060
[Feb 12 09:07:42] WARNING[3670] chan_sip.c: Received response: "Forbidden" from '"asterisk" <sip:ХХХ@sipnet.ru>;tag=as2668e2e0'
[Feb 12 09:07:42] DEBUG[3670] chan_sip.c: Setting SIP_ALREADYGONE on dialog 7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru
[Feb 12 09:07:42] DEBUG[10477] channel.c: Hanging up channel 'SIP/sipnet-out-0000000d'
[Feb 12 09:07:42] DEBUG[10477] chan_sip.c: Hangup call SIP/sipnet-out-0000000d, SIP callid 7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru
[Feb 12 09:07:42] DEBUG[10477] chan_sip.c: Updating call counter for outgoing call
[Feb 12 09:07:42] DEBUG[3661] chan_sip.c: Checking device state for peer sipnet-out
[Feb 12 09:07:42] DEBUG[3661] devicestate.c: Changing state for SIP/sipnet-out - state 1 (Not in use)
[Feb 12 09:07:42] DEBUG[3661] devicestate.c: device 'SIP/sipnet-out' state '1'
[Feb 12 09:07:42] DEBUG[3668] app_queue.c: Device 'SIP/sipnet-out' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Feb 12 09:07:42] DEBUG[10477] cdr_addon_mysql.c: Inserting a CDR record.
[Feb 12 09:07:42] DEBUG[10477] cdr_addon_mysql.c: SQL command as follows: INSERT INTO cdr (calldate,dst,dcontext,channel,duration,billsec,disposition,amaflags,uniqueid) VALUES ('2012-02-12 09:07:40','s','from-sipnet','SIP/sipnet-out-0000000d','2','0','FAILED','3','1329023260.13')
[Feb 12 09:07:42] DEBUG[10477] cdr_radius.c: Unable to create RADIUS record. CDR not recorded!
[Feb 12 09:07:42] DEBUG[10477] res_config_sqlite.c: SQL query: INSERT INTO ast_cdr (dst,dcontext,channel,start,answer,end,duration,billsec,disposition,amaflags,uniqueid) VALUES ('s','from-sipnet','SIP/sipnet-out-0000000d','2012-02-12 09:07:40','2012-02-12 09:07:40','2012-02-12 09:07:42','2','0','FAILED','DOCUMENTATION','1329023260.13')
[Feb 12 09:07:42] NOTICE[10477] pbx_spool.c: Call failed to go through, reason (8) Congestion (circuits busy)
[Feb 12 09:07:42] DEBUG[3661] chan_sip.c: Checking device state for peer sipnet-out
[Feb 12 09:07:42] DEBUG[3661] devicestate.c: Changing state for SIP/sipnet-out - state 1 (Not in use)
[Feb 12 09:07:42] DEBUG[3661] devicestate.c: device 'SIP/sipnet-out' state '1'
[Feb 12 09:07:42] DEBUG[3668] app_queue.c: Device 'SIP/sipnet-out' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[Feb 12 09:07:43] DEBUG[3670] chan_sip.c: Destroying SIP dialog 7239b21a75baa0ea1dbe1b0a346e9b66@sipnet.ru
[Feb 12 09:08:01] DEBUG[3670] chan_sip.c: Auto destroying SIP dialog '2836774a4a4611e526dbd9f73e0d76d5@sipnet.ru'
[Feb 12 09:08:01] DEBUG[3670] chan_sip.c: Destroying SIP dialog 2836774a4a4611e526dbd9f73e0d76d5@sipnet.ru
Спасибо.