My WebRTC pages use call.mydomain.com to communicate with the Asterisk server at ip _AST_IP_.
The end users ip is _USR_IP_
All other domain names of *.mydomain.com are on ip _MAIN_IP_.
As of Asterisk 13.10.0 (Asterisk 13.9.1 is just fine) I get an error either at the beginning of a call or at the end (usually at the end).
When this happens at the start of the call, the call is not processed (that’s bad).
When a call is processed, it can last for hours and not show the message, as soon as the call is terminated, the message will apear (I can live with that).
VERBOSE res_http_websocket.c: WebSocket connection from ’ _USR_IP_:45947’ for protocol ‘sip’ accepted using version '13’
VERBOSE chan_sip.c: Registered SIP ‘1’ at _USR_IP_:45947
WARNING chan_sip.c: sip_xmit of 0x7f42f001e250 (len 575) to _MAIN_IP_:45947 returned -1: Operation not permitted
Working configuration is Asterisk 13.9.1, Jansson 2.8, pjproject 2.5.5
I tested Asterisk 13.9.1, 13.10.0, 13.11.1, 13.11.2 with Jansson 2.8/2.7 pjproject 2.5.5/2.4.5.
To be sure I enabled/disabled all firewall rules during testing.
My questions :
- Why is the ip address of the wrong server used in sending a critical message, instead of sending it to the end user ?
- Where in the code should I start looking to try and create a bug fix ?
- Do I need to bump this up to JIRA ?