[sr-dev] [kamailio/kamailio] rtpproxy: ice_candidate_priority_avp has missleading documentation (#1003)

Rick notifications at github.com
Mon Feb 20 15:36:41 CET 2017


### Description

Dokumentation says:
```
If specified and if value of the avp value is not 0, rtpproxy_manage function adds ICE relay candidate attributes to sdp stream(s) containing ICE candidate attributes.
```
I would read it as, if the avp is set and the value is 0 no ICE relay candidate attributes, would be added. Instead a

### Troubleshooting

#### Reproduction


#### Debugging Data


#### Log Messages

```
Feb 20 15:21:45 <local0.err> voip-integration-cust1 kamailio[33439]: ERROR: rtpproxy [rtpproxy.c:2332]: force_rtp_proxy(): invalid ice candidate priority value 0
Feb 20 15:21:51 <local0.err> voip-integration-cust1 kamailio[33439]: ERROR: rtpproxy [rtpproxy.c:2332]: force_rtp_proxy(): invalid ice candidate priority value 0
```

#### SIP Traffic


### Possible Solutions

Accept 0 as a possible value or change documentation to give information that 0 is no valid input.

### Additional Information


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170220/ea3f1824/attachment.html>


More information about the sr-dev mailing list