Вы не авторизованы

Вы можете читать сообщения. Если вы хотите создать новую тему или присоединиться к обсуждению, пройдите процедуру регистрации или авторизуйтесь.

RSS
OutgoingSpoolFailed ... неправильно проходит звонок
 
Подскажите пожалуйста по такому вопросу. Есть внутренние телефоны - 101 и 103. С них идет звонок на клиента с номером "7346629****". С номера 101 звонок идет нормально, а с 103 - идет звонок не на клиента, а ан номер 101.

Звонок выполняется через SDK.Originate(....)

Параметры, передаваемые с 101:
Channel - SIP/101
Context - SIP-PHONE-126277462053663a66148b7
Exten - 7346629****
Priority - "1"
TimeOut = ""
CallerID = "..." <101>
Variable = ""
Account = ""
Application = ""
Data = ""
Async = "1"
Codecs = ""
EarlyMedia = ""
ActionID = "93e43"
Результат = ""

Параметры, передаваемые с 103:

Channel - SIP/103
Context - SIP-PHONE-10478390553704d0c7759d
Exten - 7346629****
Priority - "1"
TimeOut = ""
CallerID = "... " <103>
Variable = ""
Account = ""
Application = ""
Data = ""
Async = "1"
Codecs = ""
EarlyMedia = ""
ActionID = "02100"
Результат = ""

Лог, полученный при звонке со 101:

<listener state='Start thread processing Event' />

<generic event="Newchannel" privilege="call,all" channel="Local/0000111@internal-00000172;1" channelstate="0" channelstatedesc="Down" calleridnum="" calleridname="" accountcode="" exten="0000111" context="internal" uniqueid="askozia-1399974386.856" />

<generic event="Newchannel" privilege="call,all" channel="Local/0000111@internal-00000172;2" channelstate="4" channelstatedesc="Ring" calleridnum="" calleridname="" accountcode="" exten="0000111" context="internal" uniqueid="askozia-1399974386.857" />

<generic event="NewAccountCode" privilege="call,all" channel="Local/0000111@internal-00000172;1" uniqueid="askozia-1399974386.856" accountcode="" oldaccountcode="" />

<generic event="NewCallerid" privilege="call,all" channel="Local/0000111@internal-00000172;1" calleridnum="" calleridname="" uniqueid="askozia-1399974386.856" cid_callingpres="67 (Number Unavailable)" />

<generic event="HangupRequest" privilege="call,all" channel="Local/0000111@internal-00000172;2" uniqueid="askozia-1399974386.857" />

<generic event="Hangup" privilege="call,all" channel="Local/0000111@internal-00000172;2" uniqueid="askozia-1399974386.857" calleridnum="<unknown>" calleridname="<unknown>" connectedlinenum="<unknown>" connectedlinename="<unknown>" cause="0" cause_txt="Unknown" />

<generic event="Hangup" privilege="call,all" channel="Local/0000111@internal-00000172;1" uniqueid="askozia-1399974386.856" calleridnum="<unknown>" calleridname="<unknown>" connectedlinenum="<unknown>" connectedlinename="<unknown>" cause="0" cause_txt="Unknown" />

<generic event="OriginateResponse" privilege="call,all" response="Failure" channel="Local/0000111@internal" context="" exten="" reason="0" uniqueid="<null>" calleridnum="<unknown>" calleridname="<unknown>" />

<generic event="Newchannel" privilege="call,all" channel="Local/0000555@internal-00000173;1" channelstate="0" channelstatedesc="Down" calleridnum="" calleridname="" accountcode="" exten="0000555" context="internal" uniqueid="askozia-1399974387.858" />

<generic event="Newchannel" privilege="call,all" channel="Local/0000555@internal-00000173;2" channelstate="4" channelstatedesc="Ring" calleridnum="" calleridname="" accountcode="" exten="0000555" context="internal" uniqueid="askozia-1399974387.859" />

<generic event="NewAccountCode" privilege="call,all" channel="Local/0000555@internal-00000173;1" uniqueid="askozia-1399974387.858" accountcode="" oldaccountcode="" />

<generic event="NewCallerid" privilege="call,all" channel="Local/0000555@internal-00000173;1" calleridnum="" calleridname="" uniqueid="askozia-1399974387.858" cid_callingpres="67 (Number Unavailable)" />

<generic event="HangupRequest" privilege="call,all" channel="Local/0000555@internal-00000173;2" uniqueid="askozia-1399974387.859" />

<generic event="Hangup" privilege="call,all" channel="Local/0000555@internal-00000173;2" uniqueid="askozia-1399974387.859" calleridnum="<unknown>" calleridname="<unknown>" connectedlinenum="<unknown>" connectedlinename="<unknown>" cause="0" cause_txt="Unknown" />

<generic event="Hangup" privilege="call,all" channel="Local/0000555@internal-00000173;1" uniqueid="askozia-1399974387.858" calleridnum="<unknown>" calleridname="<unknown>" connectedlinenum="<unknown>" connectedlinename="<unknown>" cause="0" cause_txt="Unknown" />

<generic event="OriginateResponse" privilege="call,all" response="Failure" channel="Local/0000555@internal" context="" exten="" reason="0" uniqueid="<null>" calleridnum="<unknown>" calleridname="<unknown>" />




А вот лог, полученный при исходящем звонке со 103:

<generic event="NewAccountCode" privilege="call,all" channel="OutgoingSpoolFailed" uniqueid="askozia-1399974251.855" accountcode="" oldaccountcode="" />

<generic event="Dial" privilege="call,all" subevent="End" channel="OutgoingSpoolFailed" uniqueid="askozia-1399974251.855" dialstatus="CHANUNAVAIL" />

<generic event="Newstate" privilege="call,all" channel="OutgoingSpoolFailed" channelstate="7" channelstatedesc="Busy" calleridnum="" calleridname="" connectedlinenum="" connectedlinename="" uniqueid="askozia-1399974251.855" />

<generic event="SoftHangupRequest" privilege="call,all" channel="OutgoingSpoolFailed" uniqueid="askozia-1399974251.855" cause="16" />

<generic event="Hangup" privilege="call,all" channel="OutgoingSpoolFailed" uniqueid="askozia-1399974251.855" calleridnum="<unknown>" calleridname="<unknown>" connectedlinenum="<unknown>" connectedlinename="<unknown>" cause="58" cause_txt="Bearer capability not available" />

<generic event="OriginateResponse" privilege="call,all" actionid="d535c" response="Failure" channel="SIP/103" context="SIP-PHONE-10478390553704d0c7759d" exten="7346629****" reason="0" uniqueid="<null>" calleridnum="103" calleridname="RE..." />


Подскажите - в чем может быть проблема? Звонок со 101 выполняется в программе под полными правами, со 103 - под ограниченными, но звонок должен идти
Изменено: matrosov - 13.05.2014 15:07:42
 
Вероятно в /etc/asterisk/sip.conf не определена учетная запись 103
Читают тему (гостей: 1)