[asterisk-bugs] [JIRA] (ASTERISK-17523) Qualify for realtime peers does not work

Michael L. Young (JIRA) noreply at issues.asterisk.org
Mon Feb 10 11:43:06 CST 2014


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

Michael L. Young commented on ASTERISK-17523:
---------------------------------------------

I am not sure that there is a bug here.  It would appear that the current behavior is working according to the way it was intended.

I do not agree with this patch.

If a peer is registering to us (dynamic), we should not be sending out pokes if the peer has expired.  The peer may no longer be at the last address registered.  That peer should be re-registering with us anyways to say "Here I am.  This is my current address."

It would appear that this occurs when a peer expires during an Asterisk restart.  Therefore, if the peer sent a registration refresh and it didn't get back a response from Asterisk, it should be sending another registration refresh.

Now, we do have the configuration setting "ignoreregexpire" so that you can still send a call to the peer even though their registration has expired.

What is the problem that is trying to be fixed besides the output from "sip show peers" displaying "Uknown"?

Thanks
                
> Qualify for realtime peers does not work
> ----------------------------------------
>
>                 Key: ASTERISK-17523
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-17523
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Channels/chan_sip/DatabaseSupport
>    Affects Versions: 1.8.20.1, 11.2.1
>            Reporter: Maciej Krajewski
>            Severity: Minor
>         Attachments: fix realtime.txt, full, realtime fix 11.7.0.txt, sip.conf
>
>
> Every time when I run command "sip show peers", every peer has status UNKNOWN, below is a sample output of the peer (jamicque) and friend (test001 who registers to Asterisk).
> sip show peers
> Name/username              Host            Dyn Nat ACL Port     Status     Realtime
> jamicque/jamicque          213.218.116.66              5060     UNKNOWN    Cached RT
> test001/test001            10.0.0.2         D   N      5060     OK (5 ms)  Cached RT
> In additional info is the real-time configuration of test001 and jamicque
> ****** ADDITIONAL INFORMATION ******
> "id","name","accountcode","amaflags","callgroup","callerid","canreinvite",
> "context","defaultip","dtmfmode","fromuser","fromdomain","fullcontact","host",
> "insecure","language","mailbox","md5secret","nat","deny","permit","mask",
> "pickupgroup","port","qualify","restrictcid","rtptimeout","rtpholdtimeout",
> "secret","type","defaultuser","disallow","allow","musiconhold","regseconds",
> "ipaddr","regexten","cancallforward","t38pt_udptl","setvar","id_sip_account",
> "id_foreign_sip_account","call-limit","sendrpid","regserver","useragent",
> "lastms"
> "1","test001","test001","\N","\N","*","no ","CALLEX","\N","\N","\N","\N",
> "sip:test001 at 10.0.0.2:5060^3Brinstance=198163cbdf0a1fbf^3Btransport=UDP",
> "dynamic","\N","\N","11 at CALLEX","\N","yes","\N","\N","\N","\N","5060","yes",
> "\N","\N","\N","test001","friend","test001","all","alaw;g729","\N",
> "1299597595","10.0.0.2","\N","yes","\N","\N","1","\N","9999","no","\N",
> "Zoiper rev.11137","5"
> "14","jamicque","jamicque","\N","\N","\N","no ","CALLEX","\N","\N","\N","sip.freeconet.pl","\N","213.218.116.66",
> "invite,port","\N","\N","\N","no","\N","\N","\N","\N","5060","yes","\N","\N",
> "\N","xxxxxxx","peer","jamicque","all","g729;alaw","\N","0","213.218.116.66",
> "\N","yes","\N","\N","\N","6","9999","no","\N","\N","\N"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list