[asterisk-bugs] [JIRA] (ASTERISK-26075) Impossible to define two TCP or TLS transports with pjsip
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon May 30 17:54:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-26075:
-----------------------------------
Severity: Minor (was: Major)
> 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