[asterisk-bugs] [JIRA] (ASTERISK-24549) on 'iax2 reload' all peers are annonced as unreachable via AMI
Birger "WIMPy" Harzenetter (JIRA)
noreply at issues.asterisk.org
Tue Dec 2 20:39:29 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223813#comment-223813 ]
Birger "WIMPy" Harzenetter commented on ASTERISK-24549:
-------------------------------------------------------
Ok, this time I got a partial one. The hints for 3 peers went to unavailable.
I removed the unaffected peers/hints to make things more readable.
The configuration script reloads dialplan, sip and iax.
[Dec 3 03:21:45] Reloading SIP
[Dec 3 03:21:45] WARNING[28895]: chan_sip.c:32109 reload_config: session-minse '60' at line 619 of sip.conf is not allowed to be < 90 secs
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: chan_iax2.c:12444 iax2_poke_peer: Still have a callno...
[Dec 3 03:21:45] NOTICE[23562]: iax2-provision.c:558 iax_provision_reload: No IAX provisioning configuration found, IAX provisioning disabled.
miranda*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
hbc-hah/hbc-hah 87.122.129.253 (D) 255.255.255.255 4569 (T) OK (25 ms)
s-mn24/s-mn24 87.139.190.172 (D) 255.255.255.255 4569 (T) OK (30 ms)
yetim-lmaa/yeti 91.35.39.23 (D) 255.255.255.255 4569 (T) OK (20 ms)
16 iax2 peers [7 online, 9 offline, 0 unmonitored]
miranda*CLI> core show hint ::iax2:
::iax2:hbc-hah at hints : iax2/hbc-hah State:Idle Watchers 0
::iax2:yetim-lmaa at hints : iax2/yetim-lmaa State:Idle Watchers 0
::iax2:s-mn24 at hints : iax2/s-mn24 State:Idle Watchers 0
So far everything looks ok, but on AMI I received:
[03:21:45.587 -9999] event: extensionstatus ::iax2:s-mn24: 4
extensionstatus: iax2/s-mn24:unreachable
[03:21:45.587 - 0] event: extensionstatus ::iax2:hbc-hah: 4
extensionstatus: iax2/hbc-hah:unreachable
[03:21:45.589 - 2] event: extensionstatus ::iax2:yetim-lmaa: 4
extensionstatus: iax2/yetim-lmaa:unreachable
The hints in the dialplan:
exten => ::iax2:s-mn24,hint,iax2/s-mn24
exten => ::iax2:hbc-hah,hint,iax2/hbc-hah
exten => ::iax2:yetim-lmaa,hint,iax2/yetim-lmaa
No further messages have been received via AMI for those peers so they seem to be unavailable until they change state for another reason.
> on 'iax2 reload' all peers are annonced as unreachable via AMI
> --------------------------------------------------------------
>
> Key: ASTERISK-24549
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24549
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_iax2
> Affects Versions: 11.14.0
> Environment: Listening for status information on AMI
> Reporter: Birger "WIMPy" Harzenetter
> Assignee: Birger "WIMPy" Harzenetter
> Severity: Minor
>
> After doing an 'iax2 reload' you get extensionstatus 4 events for all peers. Unfortunately they don't clear on the next successful qualify.
> So if you track the state of your peers, they stay in the unreachable state until the next call passes on that peer.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list