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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat May 24 23:40:43 CDT 2014


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

Matt Jordan commented on ASTERISK-23785:
----------------------------------------

This is not a bug. Outbound registrations don't update the {{sippeers}} or {{sipregs}} table, nor is that their intent.

Changing this behaviour, where the outbound registration updated some database table, would be a new feature and/or improvement to {{chan_sip}}. If that is something you're interested in doing, the appropriate location to discuss such a feature is on the {{asterisk-dev}} mailing list.

> 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
>         Attachments: debug sip register no update db.txt
>
>
> 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