[asterisk-bugs] [JIRA] (ASTERISK-25236) Asterisk reject incoming call from FXO gateway

Smirnov Aleksey (JIRA) noreply at issues.asterisk.org
Wed Jul 8 10:57:33 CDT 2015


Smirnov Aleksey created ASTERISK-25236:
------------------------------------------

             Summary: Asterisk reject incoming call from FXO gateway
                 Key: ASTERISK-25236
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25236
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 13.4.0, 13.2.0
            Reporter: Smirnov Aleksey


We have AddPac 1100F gateway.
On FXO port is set connection plar 4400.
When I call on FXO asterisk reject incomming call with:

Found peer '4401' for '192.168.1.22' from 192.168.1.250:5060

<--- Reliably Transmitting (no NAT) to 192.168.1.250:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.250:5060;branch=z9hG4bKe2550f06a41;received=192.168.1.250
From: <sip:192.168.1.22>;tag=e2550f06a4
To: <sip:4400 at 192.168.1.22>;tag=as4e8b06bb
Call-ID: e26f9d55-8c66-0f12-8006-0002a40846f6 at 192.168.1.250
CSeq: 1 INVITE
Server: Asterisk PBX 13.4.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="221e4c36"
Content-Length: 0

4400 - extension on asterisk
4401 - FXS1 on AddPac, Registered on asterisk by realtime mysql
192.168.1.250 - IP Addpac
192.168.1.22 - IP Asterisk

sip.conf
[test]
type=peer
context=office
host=192.168.1.250
insecure=port,invite

What I found in debug sip is on the asterisk:

Found peer '4401' for '192.168.1.22' from 192.168.1.250:5060

Asterisk found user 4401 for call. Peer for this call is test.
If I add peer test to mysql all work fine.
In older versions (11, 1.8) all works fine with the same configs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list