[SIP Beyond VoIP] could not get outgoing IP address exception

Saúl Ibarra Corretgé saul at ag-projects.com
Tue Jun 9 16:35:25 CEST 2015


That code tries to get the local IP address and the way it does so is by opening a socket to 1.2.3.4 and checking the local address.

So, I guess you are hitting a dark corner edge-case.

On 09 Jun 2015, at 11:30, Juha Heinanen <jh at tutpro.com> wrote:

> I made a few test calls with latest Blink and always after sending out
> invite and I guess when receiving 180, blink writes to console the error
> message shown below.
> 
> Despite of the error message the call works fine.  I have defined in
> Server Settings Outbound Proxy.
> 
> -- Juha
> 
> error: Exception occured while calling function handle_notification in the GUI thread
> Traceback (most recent call last):
>  File "/usr/lib/python2.7/dist-packages/blink/__init__.py", line 278, in _EH_CallFunctionEvent
>    event.function(*event.args, **event.kw)
>  File "/usr/lib/python2.7/dist-packages/blink/sessions.py", line 854, in handle_notification
>    handler(notification)
>  File "/usr/lib/python2.7/dist-packages/blink/sessions.py", line 884, in _NH_SIPSessionGotProvisionalResponse
>    self.info._update(self)
>  File "/usr/lib/python2.7/dist-packages/blink/sessions.py", line 230, in _update
>    self.local_address = session.account.contact[self.transport].host
>  File "/usr/lib/python2.7/dist-packages/sipsimple/core/_helpers.py", line 122, in __getitem__
>    raise KeyError("could not get outgoing IP address")
> KeyError: 'could not get outgoing IP address'
> _______________________________________________
> SIPBeyondVoIP mailing list
> SIPBeyondVoIP at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipbeyondvoip

--
Saúl Ibarra Corretgé
AG Projects





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20150609/d6105c2f/attachment-0001.pgp>


More information about the SIPBeyondVoIP mailing list