Multiple endpoints

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

 



Hello Alain,

I tried that but i get:

tid:  23:27:16.039   tcplis:65236  SIP TCP listener ready for incoming
connections at 192.168.1.38:65236
<pjsua.TransportInfo instance at 0x109cb57e8>
23:27:16.515   tcplis:65237  SIP TCP listener destroyed
23:27:16.515   pjsua_core.c  Error creating SIP TCP listener: Object with
the same type exists (PJSIP_ETYPEEXISTS) [status=171002]
Exception: Object: Lib, operation=create_transport(), error=Object with the
same type exists (PJSIP_ETYPEEXISTS)

It looks like pjsip doesn't support multiple listeners...

On Mon, Nov 2, 2015 at 11:06 PM, Alain Totouom <alain.totouom at gmx.de> wrote:

> Hi David,
>
> On 11/02/2015 06:04 PM, David Villasmil Govea wrote:
> > I'm using pjsip python and I need to register 2 clients on the same sip
> > server but using DIFFERENT SOURCE PORTS.
> >
>
> create two different transport objects [1] and use those to send/receive
> your SIP messages with both accounts.
>
> Regards,
> Alain
>
> [1] http://trac.pjsip.org/repos/wiki/Python_SIP/Settings
>
> --
> 1024D/A9F85A52 2000-01-18 Alain Totouom <totouom at gmx.de>
> PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52
>
>
> *Gesendet:* Montag, 02. November 2015 um 23:02 Uhr
> *Von:* "Bill Gardner" <billg at wavearts.com>
> *An:* pjsip at lists.pjsip.org
> *Betreff:* *** GMX Spamverdacht *** Re: [pjsip] Multiple endpoints
> Yes, I mean running two instances. I don't think you can set up pjsip to
> service multiple SIP ports. - Bill
>
> On 11/2/2015 3:54 PM, David Villasmil Govea wrote:
>
> Whe you say:
> for one client and --id=sip:name at ipaddr:port2 --local-port=port2 for the
> other client
>
> Do you mean running pjsua twice? What I need is to run one instance :(
>
> David
>
> On Mon, Nov 2, 2015 at 9:53 PM, David Villasmil Govea <
> david.villasmil at gmail.com> wrote:
>>
>> Thanks Bill...
>> Somehow emails were being sent to the span folder...
>>
>> I will actually try that, but only to see if PJSIP can actually create
>> multiple endpoint..
>>
>> Thanks
>>
>> On Mon, Nov 2, 2015 at 9:42 PM, Bill Gardner <billg at wavearts.com> wrote:
>>>
>>> I dunno about pjsip python, but using pjsua I'd try --id=
>>> sip:name at ipaddr:port1 --local-port=port1 for one client and --id=
>>> sip:name at ipaddr:port2 --local-port=port2 for the other client, along
>>> with all the other options.
>>>
>>> Regards,
>>>
>>> Bill
>>>
>>> On 11/2/2015 3:29 PM, David Villasmil Govea wrote:
>>>
>>> Any help on this, guys?
>>>
>>> On Mon, Nov 2, 2015 at 6:04 PM, David Villasmil Govea <
>>> david.villasmil at gmail.com> wrote:
>>>>
>>>> Hello List,
>>>>
>>>> I'm using pjsip python and I need to register 2 clients on the same sip
>>>> server but using DIFFERENT SOURCE PORTS.
>>>>
>>>> Is this possible? If so, can anuyone point me in the right direction?
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> DVG
>>>>
>>>> --
>>>> Imagination is more important than knowledge
>>>> Albert Einstein
>>>>
>>>
>>>
>>> --
>>> DVG
>>>
>>> --
>>> Imagination is more important than knowledge
>>> Albert Einstein
>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip at lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>
>>
>>
>> --
>> DVG
>>
>> --
>> Imagination is more important than knowledge
>> Albert Einstein
>>
>
>
> --
> DVG
>
> --
> Imagination is more important than knowledge
> Albert Einstein
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> _______________________________________________ Visit our blog:
> http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>


-- 
DVG

-- 
Imagination is more important than knowledge
Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151102/c5e56a2d/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