<style type="text/css">
p{margin:0;padding:0;}
</style>
<div style="color:#000000;font-size:11pt;font-family:돋움;background-color: transparent;">
<p>I have already a PSTN Gateway it is not a SIP trunk but it can convert SIP to PSTN.</p><p>And I the PSTN Gateway IP set private network. i.e. 192.168.102.254</p><p>In "SIP Peering" section of admin panel, I made "test group" and there have "test-gw-1" server it configured same like following;</p><p>-------------------</p><p>Name : test-gw-1</p><p>IP Address : 192.168.102.254 ->it is same IP address with PSTN Gateway because I want to use this PSTN.</p><p>Hostname : " "(empty)</p><p>Port : UDP</p><p>Weight : 1</p><p>-------------------</p><p>Also Peering Rules values it configured all empty. Callee Prefix, Callee Pattern, Caller Pattern, Description.</p><p>And as I opened the log file Kamailio-proxy.log, there are so many logs made at just one call.</p><p>So I attached two log files one is a call from SIP phone to SIP phone as locally and the other one is a call from SIP Phone to PSTN Gateway.</p><p><span style="font-size: 11pt; line-height: 1.2;">I don't know exactly what is point of problem in the log files why PSTN status is always busy.</span></p><p>But as I had inference, it is point why didn't call from SIP phone to PSTN Gateway and it status is always busy.</p><p>------------------</p><p> </p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: No matching rewrite rules for '0112796171' found - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Setting P-Called-Party-ID '<sip:0112796171@192.168.102.254>' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Writing sbc parameters  ;aleg_sst_enable=no;sst_enable=no - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Setting 'sip:192.168.102.254:5060' taken from R-URI as next hop after lb for PSTN call - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Appending P-D-URI 'sip:127.0.0.1:5060;received='sip:192.168.102.254:5060;transport=udp'' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Setting P-Caller-UUID to '0cbfd478-f7eb-445d-9f3c-6061b0f96eb2' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Setting P-Callee-UUID to '0' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1994]: INFO: <script>: Request leaving server, D-URI='sip:127.0.0.1:5080' - R=sip:0112796171@192.168.102.254:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1995]: INFO: <script>: NAT-Reply - S=100 - Connecting M=INVITE IP=192.168.102.60:5060 (127.0.0.1:5080) ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1992]: INFO: <script>: NAT-Reply - S=486 - Busy Here M=INVITE IP=192.168.102.60:5060 (127.0.0.1:5080) ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>Mar 27 01:21:25 spce /usr/sbin/kamailio[1992]: INFO: <script>: Failure route for PSTN call - R=sip:0112796171@sip.baekdoo.local:5060;transport=udp ID=d8bb68a825c52d88dc2813b4e77ace43@192.168.102.60</p><p>------------------------</p><p> </p><p><br></p><p>So I don't know exactly but the SIP Server tried to call the PSTN Gateway as the SIPWISE server IP 127.0.0.1:5080 as local SIP it referenced following a log in upper logs.</p><p><span style="font-size: 11pt; line-height: 1.2;">-------------------------------</span></p><p><p><span style="font-size: 11pt; line-height: 1.2;">Forcing request via B2BUA 'sip:127.0.0.1:5080' - R=sip:0112796171@192.168.102.254:5060;transport=udp</span></p><div><span style="font-size: 11pt; line-height: 1.2;">-------------------------------</span></div></p><p><span style="font-size: 11pt; line-height: 1.2;"><br></span></p><p><span style="font-size: 11pt; line-height: 1.2;">But SIPWISE server couldn't reached to PSTN gateway because IP networks are different each others.</span></p><p><span style="font-size: 11pt; line-height: 1.2;">So SIPWISE can't reached the network 192.168.102.254:5060 that is only my opinion.</span></p><p><br></p><p>Please let me know if you find what was problem from connect with from SIP phone to PSTN network.</p><p><br></p><p>David Ho</p><p><br></p>

<blockquote style="border-left: #000 2px solid;padding:0 0 0 5px;margin-left:5px;"><div style="line-height:18px;font-size:9pt">----------------------원본메일-----------------------<br>보낸사람 : Andreas Granig <agranig@sipwise.com><br>받는사람: spce-user@lists.sipwise.com<br>보낸날짜: 2013-03-26 22:09:50 GMT +0900 (Asia/Seoul)<br>제목: Re: [Spce-user] PSTN GW can register SIPWISE server but GW peerstatus always busy.</div><br><br>Hi,<br>
<br>
On 03/26/2013 11:52 AM, 허윤 wrote:<br>
> So now I trying to solve it could communicate with PSTN.<br>
><br>
> If you were me, how to find the problem that couldn't communicate with PSTN?<br>
><br>
> If you were me, where to configure in SIPWISE?<br>
<br>
Well, do you already have a SIP trunk to some peering provider? If yes, <br>
did you configure it in the "SIP Peering" section of the admin panel <br>
(check the handbook for the how-to)? If yes, what did you put there and <br>
where, and what does the kamailio-proxy.log say for a call towards this <br>
peer?<br>
<br>
Andreas<br>
<br>
_______________________________________________<br>
Spce-user mailing list<br>
Spce-user@lists.sipwise.com<br>
<a href="http://lists.sipwise.com/listinfo/spce-user">http://lists.sipwise.com/listinfo/spce-user</a><br></blockquote><p><br></p>
</div>
<img id='mailexp' width=0 heigh=0 border=0 src='https://mail.kaist.ac.kr/Mail?act=RECEIPT_CHECK&ukey=515248853fece1328e094f77&userid=rea1ity&mhost=kaist.ac.kr&ahost=d0001'>