<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am integrating OpenSIPS and Asterisk to use Asterisk to play media (typical media treatment)</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I have a softphone registered to OpenSIPS and when i call a specific number, a simple prompt needs to be played from asterisk. I have the sip configuration and also extensions.conf file setup.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">When i call the specific number, the SIP messages are exchanged but the call drops stating calling number not found (i have the number configured in asterisk though). In OpenSIPS.cfg all i am doing is just calling the function  sethostport("<Asterisk IP>:5060") when receiving the call at this number <div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">If i register the endpoints directly with Asterisk, i can hear the announcement as expected.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Not sure if i am missing something or is there anything that needs to be set specifically in OpenSIPS for this to work? </div><div><br></div></div></div><div dir="ltr" data-setdir="false">Thank you,</div><div dir="ltr" data-setdir="false">DK</div></div></body></html>