[asterisk-bugs] [JIRA] (ASTERISK-26075) Impossible to define two TCP or TLS transports with pjsip
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Thu Jun 2 20:20:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton closed ASTERISK-26075.
-----------------------------------
Resolution: Not A Bug
Closing this out since it isn't a bug with Asterisk and seems to be a feature request for the PJSIP library.
If this ends up requiring additions or changes to Asterisk in the future, please open a new issue with patches (submitted with a license agreement for the Asterisk project). Thanks!
> Impossible to define two TCP or TLS transports with pjsip
> ---------------------------------------------------------
>
> Key: ASTERISK-26075
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26075
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 13.8.1
> Environment: Debian 8 64bits
> Reporter: Ludovic Gasc (Eyepea)
> Severity: Minor
>
> Hi,
> with pjsip, if I configure two UDP transports, it works pretty well:
> [udp_5060]
> type=transport
> protocol=udp
> bind=0.0.0.0:5060
> [udp_7000]
> type=transport
> protocol=udp
> bind=0.0.0.0:7000
> But, if I configure two TCP or TLS, I've this error message:
> [May 31 00:31:59] ERROR[20488]: res_pjsip/config_transport.c:279 transport_apply: Transport 'tcp_7000' could not be started: Object with the same type exists (PJSIP_ETYPEEXISTS)
> [May 31 00:31:59] ERROR[20488]: res_sorcery_config.c:318 sorcery_config_internal_load: Could not create an object of type 'transport' with id 'tcp_7000' from configuration file 'pjsip.conf'
> My configuration:
> [tcp_5060]
> type=transport
> protocol=tcp
> bind=0.0.0.0:5060
> [tcp_7000]
> type=transport
> protocol=tcp
> bind=0.0.0.0:7000
> Based of my understanding of documentation, this scenario should be possible, especially because it works with UDP:
> https://wiki.asterisk.org/wiki/display/AST/PJSIP+Configuration+Sections+and+Relationships#PJSIPConfigurationSectionsandRelationships-TRANSPORT
> I'm wrong or it's a bug ?
> Thanks for your answer.
> Have a nice day.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list