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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jul 8 16:18:35 CDT 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=226833#comment-226833 ] 

Rusty Newton commented on ASTERISK-25236:
-----------------------------------------

We require additional debug to continue with triage of your issue. Please follow the instructions on the wiki [1] for how to collect debugging information from Asterisk. For expediency, where possible, attach the debug with a '.txt' file extension so that the debug will be usable for further analysis.

We need the debug from your example scenario for both failing and working scenarios. That is, for both the 13 and 11.

Be sure to follow the documentation explicitly. You need to make sure the DEBUG and VERBOSE log channels appear in your log before attaching the resulting log to the issue.


Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information



> 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.2.0, 13.4.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:
> {noformat}
> 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
> {noformat}
> 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
> {noformat}
> sip.conf
> [test]
> type=peer
> context=office
> host=192.168.1.250
> insecure=port,invite
> {noformat}
> 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