PJSIP library listens on a different host IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all;

I was tryin the follwoing code snippet ;
================================================================================
import sys
import pjsua as pj

LOG_LEVEL=3

while 1:
        lib = pj.Lib()
        lib.init(log_cfg = pj.LogConfig(level=LOG_LEVEL))
        # Create UDP transport which listens to any available port
        transport = lib.create_transport(pj.TransportType.UDP,
                                     pj.TransportConfig(5060))
        print "\nListening on", transport.info().host,
        print "port", transport.info().port, "\n"
        # Start the library
        lib.start()
==================================================================================

on printing the host IP( transport.info().host )   i get a different IP ,
which is diffrent from my host machine. on which i m executing my code..

What could be the reason for this? Any pointers in this regard will be of
great help.

Regards
Sv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081209/94a8ee6e/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux