<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Rizwan,<br>
<br>
that is the right approach .<br>
<br>
For adding an Asterisk as SBC you can use the section route[PSTN]
at kamailio.cfg<br>
<br>
#!ifdef WITH_PSTN<br>
# PSTN GW Routing<br>
#<br>
# - pstn.gw_ip: valid IP or hostname as string value, example:<br>
# pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address"<br>
#<br>
# - by default is empty to avoid misrouting<br>
pstn.gw_ip = "IP_OF_YOUR_ASTERISK"<br>
pstn.gw_port = "5060"<br>
#!endif<br>
<br>
Make kamailio IP as trusted IP in your asterisk sip.conf like<br>
<br>
[kamailio]<br>
type=friend<br>
context=outgoing-kamailio<br>
host=[IP_OF_YOUR_KAMAILIO]<br>
port=5060<br>
qualify=no<br>
;trustrpid=yes<br>
;sendrpid=yes<br>
deny=0.0.0.0/0.0.0.0<br>
permit=[IP_OF_YOUR_KAMAILIO]<br>
<br>
add outgoing trunk Data to your asterisk sip.conf and
extensions.conf section [outgoing-kamailio]<br>
<br>
and that is it.<br>
<br>
<br>
Regards<br>
Rainer<br>
<br>
<br>
<br>
<br>
Am 24.03.2014 16:23, schrieb Rizwan Khan:<br>
</div>
<blockquote
cite="mid:CALByW_ED6-QCCGHCb+OgW9HMv-x-9tz3KM24bGqUOJUqJ-X9fg@mail.gmail.com"
type="cite">
<p dir="ltr">Is my question not well phrased? Or is too general?
Can anyone help with a document or an older thread which could
help me? </p>
<p dir="ltr">Thanks </p>
<div class="gmail_quote">On Mar 24, 2014 1:57 PM, "Rizwan Khan"
<<a moz-do-not-send="true" href="mailto:rizkhan@gmail.com">rizkhan@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>I want the following setup:</div>
<div><br>
</div>
<div>1 Kamailio server to handle internal calls (A/V), IM
and Presence.</div>
<div>1 Asterisk or any other way to communicate with an NGN
where I will create the SIP Trunk to route calls outside
of the network.</div>
<div><br>
</div>
<div>Is this the right approach or there is a way to
directly communicate with the NGN to make a SIP trunk by
using some external modules. </div>
<div><br>
</div>
<div>Any guidelines will be highly appreciated.</div>
<div><br>
</div>
<br clear="all">
<div>Rizwan Khan<br>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Rainer Piper</b>
<br>
NOC - +49 (0)228 97167161 - sip.soho-piper.de
<br>
NOC - +49 (0)2247 9064188 - sip.tele33.de - sip.tefonix.de - D293
</div>
</body>
</html>