The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]




Версия для распечатки Пред. тема | След. тема
Новые ответы [ Отслеживать ]
звонки через sip-провайдера, !*! Aleks305, 06-Фев-14, 17:24  [смотреть все]
Добрый день.
Прошу помощи. Подключили провайдера SIP в тестовом режиме, cisco зарегистрировалась
sip транк, show sip-ua register status пишет ок. 40232 -1 1682 yes
Прописал простенький dial-peer на их echo
dial-peer voice 2 voip
  destination-pattern 4444
  session protocol sipv2
  session target dns:sip.zadarma.com

Пытаюсь звонить, не проходит. В дебаге вижу:
*Feb 6 17:30:01.113: //4303/9D074A56812F/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x6A587F28
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 5550000
Called Number : 972592594535
Source IP Address (Sig ): 92.63.XXX.XXX
Destn SIP Req Addr:Port : 172.246.236.218:5070
Destn SIP Resp Addr:Port : 172.246.236.218:5070
Destination Name : 172.246.236.218

*Feb 6 17:30:01.113: //4303/9D074A56812F/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711ulaw
Negotiated Codec Bytes : 160
Nego. Codec payload : 0 (tx), 0 (rx)
Negotiated Dtmf-relay : 6
Dtmf-relay Payload : 101 (tx), 101 (rx)
Source IP Address (Media): 92.63.XXX.XXX
Source IP Port (Media): 17890
Destn IP Address (Media): 172.246.236.218
Destn IP Port (Media): 5072
Orig Destn IP Address:Port (Media): [ - ]:0

*Feb 6 17:30:01.113: //4303/9D074A56812F/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 21
Disconnect Cause (SIP) : 403

Подскажите, куда рыть.
Спасибо.

  • звонки через sip-провайдера, !*! crash, 12:54 , 08-Фев-14 (1)
    >   session target dns:sip.zadarma.com

    для начала заменить на session target sip-server, иначе зачем вы настраивали sip-ua?


    • звонки через sip-провайдера, !*! Aleks305, 16:39 , 08-Фев-14 (2)
      >>   session target dns:sip.zadarma.com
      > для начала заменить на session target sip-server, иначе зачем вы настраивали sip-ua?

      Спасибо за ответ, пробовал уже. Сейчас на своем Asterisk пытаюсь cisco зарегистрировать.
      у меня почему-то в DC#show sip-ua register status
      показываются все номера для телефонов подключаемых по SCCP. Не могу понять почему.
      Line peer expires(sec) registered P-Associ-URI
      ================================ ========== ============ ========== ============
      1 20001 143 no
      10 20017 143 no
      1020 -1 143 no
      11 20004 143 no
      117 20018 143 no
      12 20024 143 no
      150 40001 143 no
      2 20016 143 no
      20 20021 143 no
      21 20011 143 no
      22 20012 143 no
      23 20025 143 no
      30 20019 143 no
      31 20002 143 no
      40 20015 143 no
      41 20014 143 no
      42 20010 143 no
      43 20008 143 no
      50 20006 143 no
      51 20009 143 no
      60 20020 143 no
      61 20003 143 no
      77 20013 143 no
      78 20005 143 no
      81 20027 143 no
      82 20028 143 no
      83 20007 143 no
      88 20026 143 no
      90 20029 143 no
      91 20022 143 no
      92 20023 143 no

      Так как с провайдером не получилось решить вопрос, пытаюсь зарегистрировать cisco на своем asterisk, она мне шлет на Asterisk все эти номера для регистрации: Что типа этого
      [Feb 7 16:12:22] NOTICE[5234]: chan_sip.c:25575 handle_request_register: Registration from '<sip:90@XXXXXXXXXXX>' failed for '92.63.XXXXXX:5060' - No matching peer found
      [Feb 7 16:12:22] NOTICE[5234]: chan_sip.c:25575 handle_request_register: Registration from '<sip:91@XXXXXXXXX>' failed for '92.63.XXXXXXX:5060' - No matching peer found
      [Feb 7 16:12:22] NOTICE[5234]: chan_sip.c:25575 handle_request_register: Registration from '<sip:92@XXXXXXXXXXXX>' failed for '92.63.XXXXXXXX:5060' - No matching peer found

      конфигурация sip-ua:
      sip-ua
        credentials username 1020 password 7 022A375F0Dlsdkjflskdjf realm ipv4:XXXXXXXXXX
        authentication username 1020 password 7 013F35sldkjflskdjf realm ipv4:XXXXXXXXXX
        registrar ipv4:XXXXXXXX expires 3600
        sip-server ipv4:XXXXXXXXX
        connection-reuse
        host-registrar

      Не пойму в чем дело.


      • звонки через sip-провайдера, !*! Aleks305, 01:37 , 10-Фев-14 (3)

        debug ccsip message сейчас показывает ситуацию, как будто при звонке не проходит аутентификация прокси
        *Feb 10 01:51:25.317: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
        Received:
        SIP/2.0 407 Proxy Authentication Required
        Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK100D02077;rport=5060
        From: "Vankuver" <sip:61@sip.zadarma.com>;tag=131CC60C-1D40
        To: <sip:4444@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
        Call-ID: 27F407C2-910B11E3-969BFFC5-883A8A0E@92.63.108.115
        CSeq: 101 INVITE
        Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="Uvf1OFL39Awnou/oMiaFQrf9jyybhFmf", qop="auth"
        Server: kamailio (4.0.3 (x86_64/linux))
        Content-Length: 0


        *Feb 10 01:51:25.325: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
        Sent:
        ACK sip:4444@sip.zadarma.com:5060 SIP/2.0
        Via: SIP/2.0/UDP XXXXXXXXXX:5060;branch=z9hG4bK100D02077
        From: "Vankuver" <sip:61@sip.zadarma.com>;tag=131CC60C-1D40
        To: <sip:4444@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
        Date: Sun, 09 Feb 2014 21:51:25 GMT
        Call-ID: 27F407C2-910B11E3-969BFFC5-883A8A0E@92.63.108.115
        Max-Forwards: 70
        CSeq: 101 ACK
        Allow-Events: telephone-event
        Content-Length: 0

        Cisco при этом зарегана у провайдера SIP
        DC#show sip-ua register status
        Line                             peer       expires(sec) registered P-Associ-URI
        ================================ ========== ============ ========== ============
        40232                            -1         2485         yes

        Конфигурация dial-peer:
        dial-peer voice 2 voip
        translation-profile outgoing outgoing
        destination-pattern 95....
        session protocol sipv2
        session target sip-server
        voice-class codec 1
        voice-class sip outbound-proxy dns:sip.zadarma.com
        voice-class sip bind control source-interface FastEthernet0/0
        voice-class sip bind media source-interface FastEthernet0/0
        dtmf-relay rtp-nte
        no vad

      • звонки через sip-провайдера, !*! Aleks305, 01:38 , 10-Фев-14 (4)
        debug ccsip message сейчас показывает ситуацию, как будто при звонке не проходит аутентификация прокси
        *Feb 10 01:51:25.317: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
        Received:
        SIP/2.0 407 Proxy Authentication Required
        Via: SIP/2.0/UDP XXXXXXXXXXX:5060;branch=z9hG4bK100D02077;rport=5060
        From: "Vankuver" <sip:61@sip.zadarma.com>;tag=131CC60C-1D40
        To: <sip:4444@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
        Call-ID: 27F407C2-910B11E3-969BFFC5-883A8A0E@92.63.108.115
        CSeq: 101 INVITE
        Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="Uvf1OFL39Awnou/oMiaFQrf9jyybhFmf", qop="auth"
        Server: kamailio (4.0.3 (x86_64/linux))
        Content-Length: 0


        *Feb 10 01:51:25.325: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
        Sent:
        ACK sip:4444@sip.zadarma.com:5060 SIP/2.0
        Via: SIP/2.0/UDP XXXXXXXXXX:5060;branch=z9hG4bK100D02077
        From: "Vankuver" <sip:61@sip.zadarma.com>;tag=131CC60C-1D40
        To: <sip:4444@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
        Date: Sun, 09 Feb 2014 21:51:25 GMT
        Call-ID: 27F407C2-910B11E3-969BFFC5-883A8A0E@92.63.108.115
        Max-Forwards: 70
        CSeq: 101 ACK
        Allow-Events: telephone-event
        Content-Length: 0

        Cisco при этом зарегана у провайдера SIP
        DC#show sip-ua register status
        Line                             peer       expires(sec) registered P-Associ-URI
        ================================ ========== ============ ========== ============
        40232                            -1         2485         yes

        Конфигурация dial-peer:
        dial-peer voice 2 voip
        translation-profile outgoing outgoing
        destination-pattern 95....
        session protocol sipv2
        session target sip-server
        voice-class codec 1
        voice-class sip outbound-proxy dns:sip.zadarma.com
        voice-class sip bind control source-interface FastEthernet0/0
        voice-class sip bind media source-interface FastEthernet0/0
        dtmf-relay rtp-nte
        no vad

        • звонки через sip-провайдера, !*! Aleks305, 01:57 , 10-Фев-14 (5)
          >[оверквотинг удален]
          >  translation-profile outgoing outgoing
          >  destination-pattern 95....
          >  session protocol sipv2
          >  session target sip-server
          >  voice-class codec 1
          >  voice-class sip outbound-proxy dns:sip.zadarma.com
          >  voice-class sip bind control source-interface FastEthernet0/0
          >  voice-class sip bind media source-interface FastEthernet0/0
          >  dtmf-relay rtp-nte
          >  no vad

          При попытке звонка на свой asterisk вижу в логах asterisk:
          handle_request_invite: Sending fake auth rejection for device




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру