Hello Users .
For last 2 days onwards i'm fighting with this promlem,
In integrating with Asterisk and openSER, No audio when openSER is forworded to Asterisk server in the Same LAN network.
OpenSER and Asterisk are in the Same LAN network. With NAT ,
i forward the the port to 192.168.2.11 of openSER sip port and rtp port.
With out NAT is Working Fine , openSER ip is 192.168.2.11 Asterisk is in 192.168.2.75 alias=sip.hyperion-tech.com
if ( method =="INVITE") { if(uri=~"sip:1234567@sip.hyperion-tech.com || uri=~" sip:12345678@sip.hyperion-tech.com") { route(12); }; };
route[12] { rewrtitehostport("192.168.2.75:5060"); # ASTERISK SERVER if(!t_relay()) { sl_send_error(); exit; }; }