I am using asterisk 13.3.2 and pjproject 2.4.
On asterisk cli I am executing
channel originate pjsip/timbrazo/sip:email@example.com extension 100@timbrazo
[timbrazo] type = endpoint aors = timbrazo [timbrazo] type = identify endpoint = timbrazo match = 172.18.21.6 [timbrazo] type = aor contact=sip:172.18.21.231:5060
exten => s,1,Wait(2)
exten => s,n,Hangup
my server has 2 IP addresses
when i execute the ‘channel outgoing’ command the INVITE is sent with 172.18.21.229 address.
how can i configure pjchan so that the INVITE is sent with 172.18.21.231 address ?