Two transport with same type

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

 



Dear Sir,

Is it possible to create two transport with same type, ie TCP only
when creating transport it will call pjsip_tpmgr_register_tpfactory
but this function check for same transport that already exist
for (p=mgr->factory_list.next; p!=&mgr->factory_list; p=p->next) {
	if (p->type == tpf->type) {
	    status = PJSIP_ETYPEEXISTS;
	    break;
	}

what I want to do is to create two TCP transport each listening
different interface adddress.
create and destroy will no good for me because STUN binding may take long time.


Regards

Yeffri



[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