[asterisk-users] chan_sip -> pjsip - address binding

marek cervajs64 at gmail.com
Wed Nov 25 07:55:56 CST 2020


hi,

i want gradually migrate to pjsip

i have 2 network interfaces with a lot of endpoints on both (both UDP)
eth0 1.1.1.1
eth1 2.2.2.2

i want start migrate endpoints to pjsip on 2.2.2.2:5070

but configuration like this is not possible

sip.conf

[general]
bindaddr = 0.0.0.0
bindport = 5060

pjsip.conf
[udp]
type = transport
bind = 2.2.2.2:5070
protocol = udp


[Nov 25 14:44:18] ERROR[3442]: res_pjsip/config_transport.c:664 
transport_apply: Transport 'udp' could not be started: Cannot assign 
requested address

[Nov 25 14:44:18] ERROR[3442]: res_sorcery_config.c:420 
sorcery_config_internal_load: Could not create an object of type 
'transport' with id 'udp' from configuration file


is there some other way?

thanks

Marek





More information about the asterisk-users mailing list