[asterisk-bugs] [JIRA] (ASTERISK-20963) iax2 not responding to registration packets

Jonathan Rose (JIRA) noreply at issues.asterisk.org
Wed Feb 6 13:21:59 CST 2013


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

Jonathan Rose commented on ASTERISK-20963:
------------------------------------------

So I've been trying to get either of the two noteworthy versions (1.8.18.0 and 1.8.19.0-rc1) for this issue to behave in the manner described to be working here without luck. In both versions for me, it appears to register properly using the configurations provided for the peer and the general settings (and nothing else in the configs), but there is a key discrepency between how it's working for me and how it is described to be working in 1.8.18.0 by sdolloff.

When Asterisk receives the first REGREQ from fax001 (identical to the ones in your pcap), Asterisk responds with a CTOKEN response instead of a REGAUTH. I'm under the impression that this isn't meant to be needed since you explicitly set the option requirecalltoken=no, but using the configuration blocks you provided, that appears to be how it is responding and that seems to be a somewhat notable discrepancy between the response I'm seeing and the one I expected per your description. Right now the only reason I can think for that initial response to be different for the same request is if the configs you provided differ from the ones you are using.

If you could, please provide a full iax.conf that you are confident reproduces the dialog as you've shown it and then change sensitive data like passwords and ip addresses as necessary.
                
> iax2 not responding to registration packets
> -------------------------------------------
>
>                 Key: ASTERISK-20963
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20963
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 1.8.19.0
>         Environment: centos 5.2
>            Reporter: sdolloff
>            Assignee: sdolloff
>            Severity: Critical
>         Attachments: consolecapture.txt, iax18.pcap, iax19.pcap, iax20.pcap
>
>
> using iaxmodem to connect to asterisk peers on localhost. asterisk shows no data from 'iax2 set debug on'.  tcpdump shows no response to registration packets to asterisk.  works in 1.8.18.0 but not 1.8.19.0-rc1 or subsequent versions.  iax.conf entry:  
> {noformat}
> ; fax001
> [fax001]
> callerid=Fax001 <0000000000>
> secret=somesecretword
> context=mycontext
> type=friend
> host=dynamic
> transfer=no
> qualify=no
> requirecalltoken=no
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list