[asterisk-bugs] [JIRA] (ASTERISK-23785) Peer registration not updated in db if asterisk made the registration (proxy)

Dr Lous (JIRA) noreply at issues.asterisk.org
Sat May 24 19:21:43 CDT 2014


Dr Lous created ASTERISK-23785:
----------------------------------

             Summary: Peer registration not updated in db if asterisk made the registration (proxy)
                 Key: ASTERISK-23785
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23785
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/DatabaseSupport
    Affects Versions: 12.2.0
         Environment: Linux Debian, build from source (tarball from website), Full Realtime environment
            Reporter: Dr Lous


When I setup a full RealTime environment, I set sip registration (proxy for receive call) with sippeers table.
*Registration is ok* (I receive my call), but db is not updated with ipaddr/port and others stuff, and make problem after (i.e. get context for call, get registration status from db, ...)

Debug attached, sip debug on, core debug on lvl 9, verbose on

*[For help only]*
Related code : 
* handle_response_register (chan_sip.c), need to add  update_peer(...) for update in db, but *I don't know how to get peer without name in this case*.
* see register_verify (chan_sip.c) for where registration update db fields (this function is called for phone make registration to asterisk)




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



More information about the asterisk-bugs mailing list