[asterisk-users] SIP signal through one IP and media through different IPs

Kevin Sandy kevin.sandy at snohio.net
Mon Mar 22 08:15:18 CDT 2010


On 3/20/2010 10:34 AM, bruce bruce wrote:
> Hi Everyone,
> 
> I have a provider who is asking me to send SIP signals through
> 111.111.111.111 and then media through Media 1: 222.222.22.222 and Media
> 2: 244.244.244.244. This provider authenticates by IP and I think is
> using Sonus gear and hence they have some load balancer or something...
> 
> I have always simply done this to work it out:
> 
> host=111.111.111.111
> peer=type
> 
> and everything worked. But now when I do that I have no audio with call
> established. I think it's a problem of me not assigning the media IPs.
> How can I add those to the trunk settings?
> 
> Thanks,
> Bruce

The media information is negotiated as part of the SIP call setup
process, so I don't know of any way (or any reason) to force the media
IPs. Some likely culprits would be incorrect firewall rules or something
mangling the SDP information - I've seen something similar when the
ip_nat_sip kernel module was loaded on a firewall between an Asterisk
server and one of our SIP providers.



More information about the asterisk-users mailing list