<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[SipToSis Skype Gateway Bridge Forum]]></title>
		<link>http://www.mhspot.com/stsforum/index.php</link>
		<description><![CDATA[The most recent topics at SipToSis Skype Gateway Bridge Forum.]]></description>
		<lastBuildDate>Fri, 03 Sep 2010 10:18:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Problem receiving 603 from gateway]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=345&amp;action=new</link>
			<description><![CDATA[Hi,

I am currently a SIP A/S to call out to a skype phone using the siptosis gateway.

All works well if I accept the call on the skype phone i.e. connection is established between my xlite softphone and the skype client. However, if the skpe client rejects the call, the gateway then sends back a 603 response to my SIP A/S. The response looks as such:-

SIP/2.0 603 Decline
Via: SIP/2.0/UDP 192.168.12.124:5070;branch=z9hG4bKC0A80C7CFFFFFFFFB458287B01094
Via: SIP/2.0/TCP 192.168.12.123:5070;branch=z9hG4bKC0A80C7BFFFFFFFFD1F463CA010225
Via: SIP/2.0/UDP 192.168.12.124:5070;branch=z9hG4bKC0A80C7CFFFFFFFFB458287B01092
Via: SIP/2.0/UDP 192.168.30.117:48902;branch=z9hG4bK-d8754z-d12110611976f14a-1---d8754z-;rport
To: "damien" <sip:73001@ubiquity.net>
From: "73003" <sip:73003@ubiquity.net>;tag=9c6a0606
Call-ID: MjI5YzhkZTQ1OGVmYzA1Y2NkMjBmODVmNTE1ZjA5Y2M.
CSeq: 1 INVITE
Server: mjsip stack 1.6 sts.2
Content-Length: 0

Our SIP A/S complains at the To header as it doesnt  contain a tag to identify the callee end point. After looking at the SIP Spec we have deduced that the response To header should have a tag, and as such, this would seem to be a bug with the gateway.

Additionally, is 603 the best response to send.  What if we fork out to more than one sykpe client, where multiple clients could potentially answer the initial INVITE. A 603 would not be valid in such a case. Would a 486 be a better response???<br><br><a rel="nofollow" target="_blank" href="http://www.kqzyfj.com/aa73qgpmgo375A6C77354854CA4"><img src="http://www.awltovhc.com/hb66p59y31NRPUQWRRNPOSPOWUO" alt="Internet Phone Service" border="0"/></a>]]></description>
			<author><![CDATA[dummy@example.com (mfesteba)]]></author>
			<pubDate>Fri, 03 Sep 2010 10:18:17 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=345&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[silence when call from sip to skype]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=344&amp;action=new</link>
			<description><![CDATA[Hello
I use new version of siptosis gateway  SipToSis_20100810 on Windows XP mashine
When I try to call from SIP phone through skype on PSTN with siptosis gateway often hear silence.
Maybe there is some option in configs that can help with this issue?]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Mon, 30 Aug 2010 14:20:50 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=344&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Debian init script]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=305&amp;action=new</link>
			<description><![CDATA[Here is init script I made to start stsProxy and stsTrunk seems to work fine. If any one has comments or suggestions to it please add or feel free to modify it post and better ways of doing this. I am amateur linux user.

Just save the code to: /etc/init.d/siptosis 
then:$ chmod +x /etc/init.d/siptosis
then:$ update-rc.d siptosis defaults 

[code]#!/bin/sh
#
### BEGIN INIT INFO
# Provides:       siptosis
# Required-Start: asterisk
# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    Start siptosis connector
### END INIT INFO
# Note on runlevels:
# 0 - halt/poweroff                     6 - reboot
# 1 - single user                       2 - multiuser without network exported
# 3 - multiuser w/ network (text mode)  5 - multiuser w/ network and X11 (xdm)
#
case "$1" in
    start)
        echo -n "Starting stsProxy and stsTrunk "
        #Start stsProxy
        cd /usr/share/stsproxy
        nohup ./stsProxy_Control start >/dev/null &
        #Start stsTrunk
        cd /usr/share/siptosis
        nohup ./stsTrunk_Control start >/dev/null &
        ;;
    stop)
        #Stop stsProxy
        cd /usr/share/stsproxy
        nohup ./stsProxy_Control stop >/dev/null &
        #Stop stsTrunk
        cd /usr/share/siptosis
        nohup ./stsTrunk_Control stop >/dev/null &
        ;;
    restart)
        $0 stop
        $0 start
        ;;
    status)
        #Status stsProxy
        cd /usr/share/stsproxy
        ./stsProxy_Control status

        #Status stsTrunk
        cd /usr/share/siptosis
        ./stsTrunk_Control status
        ;;
    *)
        echo "Usage: $0 {start|stop|restart|status}"
        exit 1
        ;;
esac
exit 0
[/code]]]></description>
			<author><![CDATA[dummy@example.com (vones)]]></author>
			<pubDate>Fri, 27 Aug 2010 01:48:59 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=305&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[SipToSis not working on 64bit Win7 system]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=343&amp;action=new</link>
			<description><![CDATA[Hi,

we have working SipToSis on many machines without problems. However on one of the newest machines we run Win7 64bit and we always get the "java.exe not found" error message. Java is installed, so why does it not work?


Thanks,

Reto]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Thu, 26 Aug 2010 12:54:02 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=343&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[xvfb skype problem?]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=342&amp;action=new</link>
			<description><![CDATA[I been trying to figure out whats the problem. Here is what I am doing if any one knows howto fix or what where else I should look to diagnose more please let me know. I been on this for a while now ;( Everything is working if I just use SiptoSis as a single connection. But now I am trying to setup the trunks. Skype works fine in gnome. 

Here is what I am doing and the out put. 

# ./stsTrunk_Control config 01
Stopping Channel=stsTrunk_01
Starting Channel=stsTrunk_01 in Config Mode
Starting Skype on display :0.0
Starting SipToSis Config Mode
root@system:/usr/share/siptosis# Warning: Tried to connect to session manager, None of the authentication protocols specified are supported

When I run it Skype pops up and sits on the screen asking for the login info. Soon as I put it in and try to sign it it just disappears. I am running it as root I get this error.

If I run as user I dont get any skype window just this error:

$ ./stsTrunk_Control config 01
./stsTrunk_Control: line 70: tmp_testexists: Permission denied
cat: tmp_testexists: No such file or directory
rm: cannot remove `tmp_testexists': No such file or directory
Error: Xvfb not in path

and if I change the permissions to the user I get

$ ./stsTrunk_Control config 01
Stopping Channel=stsTrunk_01
Starting Channel=stsTrunk_01 in Config Mode
Starting Skype on display :0.0
Starting SipToSis Config Mode
No protocol specified
xterm Xt error: Can't open display: :0.0

Running:
Linux system 2.6.32-5-amd64 #1 SMP Sat Jul 24 01:47:24 UTC 2010 x86_64 GNU/Linux
Debian squeeze / Gnome
Skype v2.1.0.81<br><br><a rel="nofollow" target="_blank" href="http://www.jdoqocy.com/2581ft1zt0GKINJPKKGIHLLHJMQ"><img src="http://www.ftjcfx.com/g677ax0pvtEIGLHNIIEGFJJFHKO" alt="Once You Know, You Newegg" border="0"/></a>]]></description>
			<author><![CDATA[dummy@example.com (vones)]]></author>
			<pubDate>Mon, 23 Aug 2010 13:32:39 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=342&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Mac OSX: Incompatible minimum and maximum heap sizes specified]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=341&amp;action=new</link>
			<description><![CDATA[Hi Folks,

Trying to install it on a OSX 10.6, fresh install.
Java version is (java -version, java installed at /usr/bin/java)

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)

When I try to run the script for the first time, I get:

macmini:sip2sis test$ ./SipToSis_osx
Launching SipToSis
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified

Any ideas what could be the error?]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Sat, 21 Aug 2010 16:01:51 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=341&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Linux 64 bit?]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=340&amp;action=new</link>
			<description><![CDATA[Good day SipToSis users, i was wondering if linux 64 bit is absolutely required ? i have my system i686 debian, and i am planning to install siptosis and trunkbuilder fo linux.

So do i need to get absolutely 64 bit ?]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Fri, 20 Aug 2010 12:42:57 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=340&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Calls disconnect after ~10 seconds]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=339&amp;action=new</link>
			<description><![CDATA[I have gotten Sip to Skype to work as expected, but Skype to Sip calls only last 10 seconds or so before they hang up.  Here are the relevant logs and configs.

siptosis log
[code]
2010-08-16 22:35:19,232 Starting SipToSis v20090214
2010-08-16 22:35:19,239 os=Linux arch=i386 ver=2.6.18-194.11.1.el5
2010-08-16 22:35:19,239 javaVer=1.6.0_12 - Sun Microsystems Inc.
2010-08-16 22:35:19,257 Codec Error: GSMTRI - Codec won't instantiate - local.ua.sscodecs.SSCodec_GSMTRI
2010-08-16 22:35:19,257 Codec: GSMTRI not loaded.
2010-08-16 22:35:19,338 Available Codecs: PCMU(0),PCMA(8),iLBC(98),speex(97)
2010-08-16 22:35:19,338 DTMF rfc2833(101)
2010-08-16 22:35:19,338 initSkype - If stuck, check Skype online & API auth
2010-08-16 22:35:19,427 SkypeVer:2.1.0.81
2010-08-16 22:35:19,471 SkypeUserId:someSkypeUser
2010-08-16 22:35:19,480 Config - skypeClientSupportsMultiCalls:false  concurrentCallLimit:1
2010-08-16 22:35:19,481 SipToSis contact_url=<sip:SkypeCaller@127.0.0.1:5070>
2010-08-16 22:35:19,481 RTP Ports: 63200-63200  Local Skype Ports: 64432-64433
2010-08-16 22:35:19,631 WAITING FOR INCOMING CALL
2010-08-17 10:34:38,677 callReceived - incoming Skype Call from:Jane Doe [jane.doe] status:RINGING
2010-08-17 10:34:38,683 callReceived - Direct Sip Dial to:sip:75973@127.0.0.1:5060 from:"jane.doe" <sip:Skype_Caller@127.0.0.1:5060>
2010-08-17 10:34:38,683 UAC: CALLING sip:75973@127.0.0.1:5060
2010-08-17 10:34:38,701
Attempting call From:"jane.doe" <sip:Skype_Caller@127.0.0.1:5060> To:<sip:75973@127.0.0.1:5060>
2010-08-17 10:34:38,706 skypeCallStatus - RINGING
2010-08-17 10:34:41,500 ACCEPTED/CALL
2010-08-17 10:34:43,231 Starting codec: PCMU/8000(0) rfc2833Type(101)
2010-08-17 10:34:43,282 updating RTP media destination to:127.0.0.1:13604 from:75.xx.xx.164:13604 <==PUBLIC IP OUTSIDE NAT
2010-08-17 10:34:43,293 RtpSender Address locked.
2010-08-17 10:34:43,327 skypeCallStatus - INPROGRESS
2010-08-17 10:35:35,040 rtp Timeout: hanging up
2010-08-17 10:35:35,045 SkypeAudioSender stats - packets:434 underRuns:266 maxLatency:20ms avgLatency:20ms
2010-08-17 10:35:35,051 RTPSender stats - packets:1868 underRuns:29 maxLatency:180ms avgLatency:104ms
2010-08-17 10:35:35,067 SkypeAudioReceiver stats - packets:696
2010-08-17 10:35:35,286 RTPReceiver stats - packets:434 timeOuts:272
2010-08-17 10:36:27,011 ToSIP: sip:75973@127.0.0.1:5060 FromSkype: jane.doe CallTime: 1:43
2010-08-17 10:36:27,013 WAITING FOR INCOMING CALL
2010-08-17 10:36:27,298 skypeCallStatus - Complete: FINISHED
[/code]

asterisk full
[code]
[2010-08-17 10:34:38] VERBOSE[2851] netsock.c:   == Using SIP RTP TOS bits 184
[2010-08-17 10:34:38] VERBOSE[2851] netsock.c:   == Using SIP RTP CoS mark 5
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [75973@from-trunk:1] Set("SIP/skype-00000003", "__FROM_DID=75973") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [75973@from-trunk:2] ExecIf("SIP/skype-00000003", "0 ?Set(CALLERID(name)=Skype_Caller)") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [75973@from-trunk:3] Set("SIP/skype-00000003", "__CALLINGPRES_SV=allowed_not_screened") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [75973@from-trunk:4] Set("SIP/skype-00000003", "CALLERPRES()=allowed_not_screened") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [75973@from-trunk:5] Goto("SIP/skype-00000003", "ext-group,700,1") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (ext-group,700,1)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:1] Macro("SIP/skype-00000003", "user-callerid,") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/skype-00000003", "AMPUSER=Skype_Caller") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("SIP/skype-00000003", "0?report") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/skype-00000003", "1?Set(REALCALLERIDNUM=Skype_Caller)") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("SIP/skype-00000003", "AMPUSER=") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/skype-00000003", "AMPUSERCIDNAME=") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/skype-00000003", "1?report") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-user-callerid,s,9)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:9] GotoIf("SIP/skype-00000003", "0?continue") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:10] Set("SIP/skype-00000003", "__TTL=64") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:11] GotoIf("SIP/skype-00000003", "1?continue") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-user-callerid,s,18)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-user-callerid:18] NoOp("SIP/skype-00000003", "Using CallerID "jane.doe" <Skype_Caller>") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:2] GotoIf("SIP/skype-00000003", "1?skipdb") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (ext-group,700,4)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:4] Set("SIP/skype-00000003", "__NODEST=") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:5] Set("SIP/skype-00000003", "__BLKVM_OVERRIDE=BLKVM/700/SIP/skype-00000003") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:6] Set("SIP/skype-00000003", "__BLKVM_BASE=700") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:7] Set("SIP/skype-00000003", "DB(BLKVM/700/SIP/skype-00000003)=TRUE") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:8] Set("SIP/skype-00000003", "RRNODEST=") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:9] Set("SIP/skype-00000003", "__NODEST=700") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:10] GosubIf("SIP/skype-00000003", "0?sub-rgsetcid,s,1") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:11] Set("SIP/skype-00000003", "RecordMethod=Group") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:12] Macro("SIP/skype-00000003", "record-enable,701-702,Group") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:1] GotoIf("SIP/skype-00000003", "1?check") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-record-enable,s,4)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:4] ExecIf("SIP/skype-00000003", "0?MacroExit()") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:5] GotoIf("SIP/skype-00000003", "1?Group:OUT") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-record-enable,s,6)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:6] Set("SIP/skype-00000003", "LOOPCNT=2") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:7] Set("SIP/skype-00000003", "ITER=1") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:8] GotoIf("SIP/skype-00000003", "1?continue") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-record-enable,s,13)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:13] Set("SIP/skype-00000003", "ITER=2") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:14] GotoIf("SIP/skype-00000003", "1?begin") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-record-enable,s,8)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:8] GotoIf("SIP/skype-00000003", "1?continue") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-record-enable,s,13)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:13] Set("SIP/skype-00000003", "ITER=3") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:14] GotoIf("SIP/skype-00000003", "0?begin") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:15] GotoIf("SIP/skype-00000003", "0?IN") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-record-enable:16] ExecIf("SIP/skype-00000003", "1?MacroExit()") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:13] Set("SIP/skype-00000003", "RingGroupMethod=ringall") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [700@ext-group:14] Macro("SIP/skype-00000003", "dial,20,m(default)t,701-702") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-dial:1] GotoIf("SIP/skype-00000003", "1?dial") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Goto (macro-dial,s,3)
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-dial:3] AGI("SIP/skype-00000003", "dialparties.agi") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:  dialparties.agi: Starting New Dialparties.agi
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:  dialparties.agi: Caller ID name is 'jane.doe' number is 'Skype_Caller'
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: USE_CONFIRMATION:  'FALSE'
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: RINGGROUP_INDEX:   ''
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:  dialparties.agi: Methodology of ring is  'ringall'
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Added extension 701 to extension map
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Added extension 702 to extension map
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Extension 701 cf is disabled
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Extension 702 cf is disabled
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Extension 701 do not disturb is disabled
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Extension 702 do not disturb is disabled
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: extnum 701 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: DbDel CALLTRACE/701 - Caller ID is not defined
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: extnum 702 has:  cw: 1; hascfb: 0 [] hascfu: 0 []
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: DbDel CALLTRACE/702 - Caller ID is not defined
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- dialparties.agi: Filtered ARG3: 701-702
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: NODEST: 700 adding M(auto-blkvm) to dialopts: m(default)tM(auto-blkvm)
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:        > dialparties.agi: NODEST: 700 blkvm enabled macro already in dialopts: m(default)tM(auto-blkvm)
[2010-08-17 10:34:38] VERBOSE[6461] res_agi.c:     -- <SIP/skype-00000003>AGI Script dialparties.agi completed, returning 0
[2010-08-17 10:34:38] VERBOSE[6461] pbx.c:     -- Executing [s@macro-dial:7] Dial("SIP/skype-00000003", "SIP/701&SIP/702,20,m(default)tM(auto-blkvm)") in new stack
[2010-08-17 10:34:38] VERBOSE[6461] netsock.c:   == Using SIP RTP TOS bits 184
[2010-08-17 10:34:38] VERBOSE[6461] netsock.c:   == Using SIP RTP CoS mark 5
[2010-08-17 10:34:38] VERBOSE[6461] app_dial.c:     -- Called 701
[2010-08-17 10:34:38] VERBOSE[6461] netsock.c:   == Using SIP RTP TOS bits 184
[2010-08-17 10:34:38] VERBOSE[6461] netsock.c:   == Using SIP RTP CoS mark 5
[2010-08-17 10:34:38] VERBOSE[6461] app_dial.c:     -- Called 702
[2010-08-17 10:34:38] VERBOSE[6461] res_musiconhold.c:     -- Started music on hold, class 'default', on SIP/skype-00000003
[2010-08-17 10:34:38] VERBOSE[6461] app_dial.c:     -- SIP/701-00000004 is ringing
[2010-08-17 10:34:39] VERBOSE[6461] app_dial.c:     -- SIP/702-00000005 is ringing
[2010-08-17 10:34:41] VERBOSE[6461] app_dial.c:     -- SIP/702-00000005 answered SIP/skype-00000003
[2010-08-17 10:34:41] VERBOSE[6461] pbx.c:     -- Executing [s@macro-auto-blkvm:1] Set("SIP/702-00000005", "__MACRO_RESULT=") in new stack
[2010-08-17 10:34:41] VERBOSE[6461] pbx.c:     -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/702-00000005", "Deleting: BLKVM/700/SIP/skype-00000003 TRUE") in new stack
[2010-08-17 10:34:41] VERBOSE[6461] res_musiconhold.c:     -- Stopped music on hold on SIP/skype-00000003
[2010-08-17 10:34:51] WARNING[2851] chan_sip.c: Maximum retries exceeded on transmission 238138041187@127.0.0.1 for seqno 1 (Critical Response) -- See doc/sip-retransmit.txt.
[2010-08-17 10:34:51] WARNING[2851] chan_sip.c: Hanging up call 238138041187@127.0.0.1 - no reply to our critical packet (see doc/sip-retransmit.txt).
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [h@macro-dial:1] Macro("SIP/skype-00000003", "hangupcall") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/skype-00000003", "1?skiprg") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Goto (macro-hangupcall,s,4)
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:4] GotoIf("SIP/skype-00000003", "0?skipblkvm") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:5] NoOp("SIP/skype-00000003", "Cleaning Up Block VM Flag: BLKVM/700/SIP/skype-00000003") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:6] NoOp("SIP/skype-00000003", "Deleting: BLKVM/700/SIP/skype-00000003 ") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:7] GotoIf("SIP/skype-00000003", "1?theend") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Goto (macro-hangupcall,s,9)
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:     -- Executing [s@macro-hangupcall:9] Hangup("SIP/skype-00000003", "") in new stack
[2010-08-17 10:34:51] VERBOSE[6461] app_macro.c:   == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/skype-00000003' in macro 'hangupcall'
[2010-08-17 10:34:51] VERBOSE[6461] app_macro.c:   == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/skype-00000003' in macro 'dial'
[2010-08-17 10:34:51] VERBOSE[6461] pbx.c:   == Spawn extension (ext-group, 700, 14) exited non-zero on 'SIP/skype-00000003'
[/code]

trunk config
[code]
[skype]
disallow=all
allow=ulaw&alaw&ilbc&speex
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
host=127.0.0.1
incominglimit=1
nat=never
port=5070
qualify=yes
secret=someSecret
type=peer
username=Skype_Caller
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/xxx.xxx.255.255
insecure=invite,port
[/code]

siptosis.cfg
[code]
#        SipToSis configuration file
# ___________________________________________
#
configWatchInterval=0
logConfigFile=log.properties
siptoskypeauthfile=SipToSkypeAuth.props
skypetosipauthfile=SkypeToSipAuth.props
SkypeOutDialingRulesFile=SkypeOutDialingRules.props
SipOutDialingRulesFile=SipOutDialingRules.props
ua_jar=ua.jar
audioPriorityIncrease=0
jitterLevel=2
skype_connect=yes
skype_audioportbase=64432
enableSkypeDtmfDetector=yes
SkypeDtmfDetectorHitThreshold=90
SkypeDtmfDetectorSilenceThreshold=6
sendSipDtmfToSkype=yes
sendSkypeDtmfToSip=yes
inbandFullTimeDtmfDetection=yes
JoinManualSkypeOutboundCallToSip=no
SkypeInboundAllChannelsBusyAction=refuse
SkypeInboundSipDestUnavailableAction=refuse
SipInboundAllChannelsBusyAction=busy
skypeclientsupportsmulticalls=no
concurrentcalllimit=1
autoShutdownMinutes=0
pintimeout=8
pinretrylimit=3
destinationtimeout=12
destinationretrylimit=3
pinFile=clips/enterPin.wav
destinationFile=clips/enterDest.wav
dialingFile=clips/dialing.wav
invalidPinFile=clips/invalidPin.wav
invalidDestFile=clips/invalidDest.wav
skypePinFile=clips/enterPin.wav
skypeDestinationFile=clips/enterDest.wav
skypeDialingFile=clips/dialing.wav
skypeInvalidPinFile=clips/invalidPin.wav
skypeInvalidDestFile=clips/invalidDest.wav
handleEarlyMedia=yes
sendSkypeIM=no
skypeimmessage=You are about to receive a Skype Voice call from [callerid].
sendSkypeImDelay=2
transport_protocols=udp
host_port=5070
username=SkypeCaller
passwd=somePassword
from_url="SkypeCaller" <sip:Skype_Caller@127.0.0.1:5060>
keepalive_time=45000
audio=yes
audio_port=63200
noRtpReceivedAutoHangupSeconds=30
audio_codec=PCMU,PCMA,GSMTRI,ILBC,SPEEX
audio_frame_size=240,240,160,240,160
audio_avp=-1,-1,-1,98,97
skype_audiooutgain=1,1,1,1,1
skype_audioingain=1.5,1.5,1.5,1.5,1.5
FilterParams=NONE
enableSendRTPtoReceivedAddress=yes
lockRtpSendAddressAfterPackets=1
dtmf2833payloadtype=101
enableSIPInbandDtmfDetector=no
SipDtmfDetectorHitThreshold=30
SipDtmfDetectorSilenceThreshold=6
useViaRport=yes
useViaReceived=yes
sendResponseUsingOutboundProxy=no
baseFailureResponse=403
skypeRefusedResponse=603
skypeFailedResponse=404
skypeUnPlacedResponse=408
skypeBusyResponse=600
TcpRxBufferSize=8192
TcpTxBufferSize=8192
RtpRxBufferSize=8192
RtpTxBufferSize=8192
is_registrar=no
register_new_users=yes
allowMultiContactsPerUser=no
[/code]

Sip to Skype and Skype to Sip Auth
[code]
*,*,*,calleeid
*,sip:75973@127.0.0.1:5060
[/code]

I suspect the problem lies with this portion of the asterisk log:

[code]
[2010-08-17 10:34:51] WARNING[2851] chan_sip.c: Maximum retries exceeded on transmission 238138041187@127.0.0.1 for seqno 1 (Critical Response) -- See doc/sip-retransmit.txt.
[2010-08-17 10:34:51] WARNING[2851] chan_sip.c: Hanging up call 238138041187@127.0.0.1 - no reply to our critical packet (see doc/sip-retransmit.txt).
[/code]

Which, I think, is related to the insecure= portion of my trunk config.  Unfortunately, I can't figure out how to procede.  Any help would be greatly appreciated.

Also, removing deny= and permit= from the trunk config didn't change the behavior.  The call is refused if I leave out insecure=.

Thanks]]></description>
			<author><![CDATA[dummy@example.com (MrHanMan)]]></author>
			<pubDate>Wed, 18 Aug 2010 18:33:48 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=339&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Noobie needs some help]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=338&amp;action=new</link>
			<description><![CDATA[Okay I'm a little confused as to what I'm doing, hoping a patient soul out there will help me. 

I've setup siptosis and asterisk as best I can. I can make calls from my softphone on the LAN to siptosis (port 5070) and call through to skype - no extension needed. That works, but that basically bypasses the asterix pbx doesn't it? If I call through to asterix on port 5060 I have to use the extension as expected but I get errors. This error happens when nobody else is using skype. 

[code]
-- Executing [715551234@default:1] Dial("SIP/skypetestuser-00000000", "SIP/skypetestuser/15551234") in new stack
  == Using SIP RTP CoS mark 5
[Aug 15 03:11:38] NOTICE[14078]: chan_sip.c:5718 update_call_counter: Call to peer 'skypetestuser' rejected due to usage limit of 1
    -- Couldn't call skypetestuser/15551234
  == Everyone is busy/congested at this time (0:0/0/0)
    -- Auto fallthrough, channel 'SIP/skypetestuser-00000000' status is 'CHANUNAVAIL'
[/code]

I have tried changing the limits on my sip.conf higher but that loops the call back to the softphone - so I'm calling a number then it sends the call back to the softphone, ringing and dialing at the same time.

[b]sip.conf[/b]
[code]
[general]
localnet=10.0.0.0/xxx.xxx.0.0
bindaddr=10.0.0.200
port=5060
context=default

[skypetestuser]
username=skypetestuser
type=friend
context=default
secret=someSecret
host=dynamic
nat=no
dtmfmode=auto
insecure=invite
canreinvite=no ;(possibly set to yes if you know what you are doing)
qualify=yes
incominglimit=1
outgoinglimit=1
call-limit=1
busylevel=1
[/code]

I only have an unlimited skypeout account. Do I need a skype business account in order to use asterix?

I have Asterisk xxx.xxx.2.5-0, skype and siptosis installed on the same machine. (it's a ubuntu vmware workstation)

I feel like I'm missing something basic here.<br><br><a rel="nofollow" target="_blank" href="http://www.kqzyfj.com/aa73qgpmgo375A6C77354854CA4"><img src="http://www.awltovhc.com/hb66p59y31NRPUQWRRNPOSPOWUO" alt="Internet Phone Service" border="0"/></a>]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Sun, 15 Aug 2010 22:36:07 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=338&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[missing stsTrunk_Control script]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=337&amp;action=new</link>
			<description><![CDATA[hi,

script stsTrunk_Control is missing

I reinstalled (from PIAF backup)w/o success ;
siptosis (V20090214) worked fine (Registration / No Registration) on FreePbx (V2.6.0) , Linux (V2.6.18-164.6.1.el5) with Java (V1.6.0-12) and skype (v2.1.0.81).

1- 2 linux users, installed  as root jdk,xserver, qt4,xterm,libXSrcnSaver, ALSA and skype;  
2- install siptosis to user1 and tested with/without registration - works fine ;
3- runned trunkConfig_linux -> edit stsTrunkDef, stsTrunkPbxSipBase.conf,stsTrunkPbxExt.conf and runned trunkConfig_linux again;

Result => No stsTrunk_Control script which I can use to configure channels!!!

Thanks]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Sat, 14 Aug 2010 13:28:11 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=337&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[SkypeOutDialingRules option for RequestURI]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=336&amp;action=new</link>
			<description><![CDATA[Thanks for this software, very useful.

I'm looking at the behaviour of SkypeOutDialingRules.props

I'm proxying a request to your skype gateway.  

The call flow is this.  Mini mouse (on extension 5198) is calling mickey mouse (on extension 5157).  I've introduced a forking proxy that will additionally call mickey mouse on his skype address.

The (simplified) invite of the forked invite that goes to SipToSis looks like this:


INVITE sip:mickey_mouse@192.168.XX.XX:5070 SIP/2.0
From: "Mini Mouse" <sip:5198@acme.com>;tag=-3636870b4c60289d4e247597_F192.168.18.59
To: sip:5157@acme.com
....

In the above 192.168.XX.XX:5070 is the IP/Port of SipToSis.

I already know that mickey's skype address is mickey_mouse and have placed this information in the request uri however I can't see a way for the regex in SkypeOutDialingRules.props to make use of this information.  From what I can tel the regex only has access to the user part of the To: header.  (i.e. 5157) and cannot use or manipulate the user part of the request uro (i.e. mickey_mouse).

Is there anyway to tweak the algorithm so that it can work on the request uri?

The alternative is for me to adapt the message (with a B2B) so that I present the skype name in the To address.

Thanks for your software - it works very well!]]></description>
			<author><![CDATA[dummy@example.com (owennewo)]]></author>
			<pubDate>Thu, 12 Aug 2010 14:58:59 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=336&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Restarting every day.]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=326&amp;action=new</link>
			<description><![CDATA[Hello,

Why do iI have to restart SipToSis every day?  I am no able to leave a server running for more than three days.  I have to restar SipToSis every day. Screen saver and the power software are dissable.

Kind regards,

Al]]></description>
			<author><![CDATA[dummy@example.com (aberrio)]]></author>
			<pubDate>Thu, 12 Aug 2010 03:30:35 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=326&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Skype to SIP calls working well yet SIP to Skype not]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=335&amp;action=new</link>
			<description><![CDATA[I have my SipToSis setup to where when it receives a call on Skype it calls my SIP provider, which seems to be working well after I port forwarded 63200 UDP because before the Skype user would only hear if I pressed buttons on my keypad not my voice, yet I could not hear the Skype user pressing any buttons. This was fixed after the port forward.

Anyway, when I dial for example echo123@myip:2070, it appears SipToSis is definitely trying to connect and intended Skype user gets the call, but no audio and it died within 15 seconds. The softphone that is dialing the Skype number just rings and rings.

I checked the config file and other stuff on the website, and all my settings look good.<br><br><a rel="nofollow" target="_blank" href="http://www.jdoqocy.com/b8103dlurlt8CAFBHCC8A9ECGGAF"><img src="http://www.lduhtrp.net/5t79qmqeki375A6C7735497BB5A" alt="NO priceline hotel cancellation or change fees" border="0"/></a>]]></description>
			<author><![CDATA[dummy@example.com (redpenguin)]]></author>
			<pubDate>Tue, 10 Aug 2010 17:53:12 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=335&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Invalid Destination]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=334&amp;action=new</link>
			<description><![CDATA[Sorry to bother you again
 calls are working fine.  However incoming calls get an "Invalid Destination" recording.  Since my last post, the only changes are to the extensions.conf file

[internal]
	exten => 2000,1,Dial(SIP/2000)
	exten => 2000,n,Hangup()

	exten => _7.,1,Dial(SIP/serenity/${EXTEN:1})
	exten => _7.,n,Hangup()

[from-skype]	
	exten => serenity,1,Dial(SIP/2000)
	exten => serenity,1,Hangup()

and in the sip.conf [serenity] contex=internal has changed to context=from-skype.  The log messages show up in the siptosis console are

2010-08-04 14:55:23,591 callReceived - incoming Skype Call from:+13047809112 [+13047809112] status:RINGING
2010-08-04 14:55:23,666 callReceived - Command List:play:clips/invalidDest.wav
2010-08-04 14:55:24,793 skypeCallStatus[43] - INPROGRESS
2010-08-04 14:55:25,021 skypeCallStatus[43] - RINGING
2010-08-04 14:55:25,170 play:clips/invalidDest.wav
2010-08-04 14:55:29,476 skypeCallStatus[43] - Complete: FINISHED
2010-08-04 14:55:29,477 * SkypeAudioReceiver stats - packets:350
2010-08-04 14:55:29,488 * SkypeAudioSender stats - packets:0 maxLatency:0ms avgLatency:0ms
2010-08-04 14:55:29,602 INCOMING_PSTN From: +13047809112 To: NoOne CallTime: 0:04 Cost: FREE

Any thoughts?
B]]></description>
			<author><![CDATA[dummy@example.com (MH)]]></author>
			<pubDate>Wed, 04 Aug 2010 20:48:12 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=334&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[SIP response 482 "Loop Detected"]]></title>
			<link>http://www.mhspot.com/stsforum/viewtopic.php?id=333&amp;action=new</link>
			<description><![CDATA[First the particulars
OS --- Ubuntu latest release
CPU -- Pentium 5 @ 3 GHz
ddr2 -- 1 GByte
Asterisk 1.6
Siemens Gigaset A58H

***************************************************************
siptosis seems to register OK vizLaunching SipToSis
2010-08-03 17:18:51,157 Starting SipToSis v20100720
2010-08-03 17:18:51,168 Skype4Java Version 1.2.0.1
2010-08-03 17:18:51,168 os=Linux ver=2.6.32-21-generic-pae arch=i386 (2 core)
2010-08-03 17:18:51,169 javaVer=1.6.0_18 - Sun Microsystems Inc. (32 bit)
2010-08-03 17:18:51,221 Available Codecs: PCMU(0),PCMA(8),iLBC(98)
2010-08-03 17:18:51,221 DTMF rfc2833(101)
2010-08-03 17:18:51,221 initSkype - If stuck, check Skype online & API auth
2010-08-03 17:18:55,037 SkypeVer:2.1.0.81
2010-08-03 17:18:55,112 Attached SkypeUserId:someSkypeUser
2010-08-03 17:18:55,128 Config - skypeClientSupportsMultiCalls:false  concurrentCallLimit:2
2010-08-03 17:18:55,129 SipToSis contact_url=sip:serenity@192.168.1.100:5070
2010-08-03 17:18:55,129 Ext. Srvr (from_url)=sip:serenity@24.131.xxx.xxx:5060
2010-08-03 17:18:55,129 via_addr=24.131.xxx.xxx  realm=asterisk
2010-08-03 17:18:55,129 RTP Ports: 63200-63202  Local Skype Ports: 64432-64435
2010-08-03 17:18:55,129 jitterLevel=-1
2010-08-03 17:18:55,224 Registrar Server Domains=
2010-08-03 17:18:55,232 MaxCallTime: not limited MaxPSTNCallTime: not limited
2010-08-03 17:18:55,233 MaxDailyPSTNUniqueNumberCount: 48 MaxDailyPSTNMinutes: 350
2010-08-03 17:18:55,237 Loading Skype PSTN Call History
2010-08-03 17:18:55,250 WAITING FOR INCOMING CALL
2010-08-03 17:18:55,294 WAITING FOR INCOMING CALL
2010-08-03 17:18:55,295 0 possible calls to import.
2010-08-03 17:18:55,344 PSTN counters reset at: 19:00:00 EDT
2010-08-03 17:18:55,347 Qualified PSTN calls today: 0 Time: 0 minutes
2010-08-03 17:18:55,446 AcctBalance: 80.00 USD
2010-08-03 17:18:55,446 REGISTRATION
2010-08-03 17:18:55,493 401 Registration Authentication
2010-08-03 17:18:55,562 Registration success: 200 OK
**********************************************************************

However when making a call to my cell I get a busy signal and the following shows up:

**********************************************************************
 == Using SIP RTP CoS mark 5
    -- Executing [70013047809112@internal:1] Dial("SIP/2000-00000016", "SIP/serenity/0013047809112") in new stack
  == Using SIP RTP CoS mark 5
    -- Called serenity/0013047809112
    -- Got SIP response 482 "Loop Detected" back from 192.168.1.100
    -- Now forwarding SIP/2000-00000016 to 'Local/0013047809112@internal' (thanks to SIP/serenity-00000017)
[Aug  3 17:22:40] NOTICE[6769]: chan_local.c:548 local_call: No such extension/context 0013047809112@internal while calling Local channel
[Aug  3 17:22:40] NOTICE[6769]: app_dial.c:787 do_forward: Failed to dial on local channel for call forward to 'Local'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [70013047809112@internal:2] Hangup("SIP/2000-00000016", "") in new stack
  == Spawn extension (internal, 70013047809112, 2) exited non-zero on 'SIP/2000-00000016'
*************************************************************************

The .conf files are:

siptosis.cfg
#        SipToSis configuration file
# ___________________________________________
#

#Set to log_debug.properties for full debugging
logConfigFile=log.properties

#set to yes to run connector tests - this disables normal operation
runConnectorReliabilityTest=no

#linux connector parms
#0=no lock ,1=spinlock,2=mutex,not set defaults to 0
linux_lockmode=0
#not set defaults to 150ms
linux_idleSleepMs=150
#not defaults to 75ms
linux_activeSleepMs=75

#Set to yes to enable logging of skype API messages
skypeAPITrace=no

#how often in minutes to check for configuration changes (0=disable)
configWatchInterval=0

#how often to check for skype client connection - 0 = no checking
connectorWatchDogMinutes=0

#skype PSTN connection fee in your account's currency (example 0.039)
connectionFee=0

#---Call limiting features
#Maximum call length (0=unlimited)
MaxCallTimeLimitMinutes=0
#Minutes before forced cutoff to play warning file
WarnMinutesBeforeCutoff=1
#Warning file to play when nearing call limit
OverLimitWarningFile=clips/overlimit.wav
#SIP response when call refused due to limit reached
OverUsageLimitSipResponse=480
#maximum daily pstn minutes to allow (0=unlimited)
dailyPstnLimitMinutes=350
#max unique numbers that can be called (0=unlimited)
dailyPstnUniqueNumberLimit=48
#Any new call must have at least this many minutes remaining in daily limit
refuseNewPstnCallsWhenRemainingMinutesUnder=5
#maximum pstn call limit (0=unlimited)
MaxPstnCallTimeLimitMinutes=0
#specify to import skype client call history at startup (disable if it takes too long)
loadSkypeClientCallHistory=yes
#list of PSTN number prefixes that are not to be included in the PSTN call count and time
tollFreeNumberPrefixes=1800,1888,1866,1877
#---End of call limiting features

#low balance notifier settings
#send a low balance email when balance gets below this amount (based on your currency) (-1 disables)
#   make sure to set it to one minute or more of your currency
emailWhenBalanceDropsTo=-1
#smtp host (example: mail.something.net)
emailHost=
#smtp port
emailPort=25
#smtp user (not normally needed)
emailUsername=
#smtp password (not normally needed)
emailPassword=
#recipient email addresses seperated by semicolon (example: someone@somewhere.com)
emailRecipients=
#sender of email (example: sender@sender.com)
emailFrom=
#set to yes to send a test message at startup to test your configuration. After a successful test set back to no.
emailTest=no


#interval in minutes to set Skype Online Status (0=disabled)
setSkypeOnlineStatusInterval=0
#status to set to when interval reached (Options: ONLINE,DND,AWAY,INVISIBLE,OFFLINE)
skypeOnlineStatus=ONLINE

#prefix to force sip dialing from a Skype callback
callBackForceSipPrefix=*

#path to SipToSis call history logs
callLogPath=log/

#Files containing Authorization rules
siptoskypeauthfile=SipToSkypeAuth.props
skypetosipauthfile=SkypeToSipAuth.props

#Files containing dialing transforms
SkypeOutDialingRulesFile=SkypeOutDialingRules.props
SipOutDialingRulesFile=SipOutDialingRules.props

#location of ua.jar file
ua_jar=ua.jar

#increase audio threads processing priority (0-2) 0=normal
audioPriorityIncrease=0

#jitter enable and size (-1=disable,0=minimum,1=small,2=medium,3=large,4=extra large)
jitterLevel=-1

#Set to skype_connect=no to disable connection to skype client - for testing purposes
skype_connect=yes

#set to your skype userid you want to attach to. Used for Windows multiple instances and no RunAs.
#skypeUserId=

#Following ports are used by skype to transfer audio to/from siptosis 
#  - use any unused ports - uses 2 ports per connection
skype_audioportbase=64432


#Set to yes to enable skype DTMF support - uses more cpu
enableSkypeDtmfDetector=no
SkypeDtmfGain=1
SkypeDtmfDetectorHitThreshold=30
SkypeDtmfDetectorSilenceThreshold=40
#shutoff detector after time has elasped
autoDisableSkypeDtmfDetectorSeconds=80


#Set to yes to regenerate SIP DTMF to Skype
sendSipDtmfToSkype=yes

#Set to yes to regenerate Skype DTMF to Sip
sendSkypeDtmfToSip=yes

#If using inband detectors, no to detect dtmf only during authentication (saves cpu)
inbandFullTimeDtmfDetection=yes


#special mode if using skype client manually and an outbound skype call is made, it will attempt a sip call and link the two
JoinManualSkypeOutboundCallToSip=no

#refuse,voicemail,ignore,transferto:skypeid  
#  If you are using a PBX with multiple clients/ids you probably want to use ignore
#  or possibly transferto:nextskypeid:nextskypeid2:nextskypeid3:etc to the next skypeclient in the chain
#  then refuse on the last one
SkypeInboundAllChannelsBusyAction=refuse
#time to wait for succesful tranfer in milliseconds
SkypeTransferTimeoutMs=8000

#If an incoming skype call and sip destination is not available for any reason, what to do with skype call. 
#Allowed options: ring or refuse - ring allows the skype client to continue ringing and be answered manually.
SkypeInboundSipDestUnavailableAction=refuse


#busy,transferto:sipurl  
#  If you want multiple outbound channels (AsteriskWin32 does not like this)
#  use transferto:sipurl to the next SipToSis channel in the chain then busy on the last one
SipInboundAllChannelsBusyAction=busy


#enable if skype client can support multiple active calls at same time - trying to lie here won't work
#I have yet to find a client that can do this
skypeclientsupportsmulticalls=no

#For an ATA/SIP Phone set to 2 - this allows two total calls - one will be on hold.
#For a PBX - depending on if the skype client supports multi calls - if not set it to 1
#  otherwise set based on your hardware/bandwidth limitations
concurrentcalllimit=2

#specify in 5 minute increments, 0=disable auto shutdown - siptosis will auto shutdown in x minutes when idle
autoShutdownMinutes=0

#Seconds caller has to enter the pin number
pintimeout=8
#Number of pin entry attempts before auto hangup
pinretrylimit=3

#Seconds caller has to enter the destination number
destinationtimeout=12
#Number of destination entry attempts before auto hangup
destinationretrylimit=3

#SIP authorization system recordings - make your own if you like (wav 16k 16bit mono).
pinFile=clips/enterPin.wav
destinationFile=clips/enterDest.wav
dialingFile=clips/dialing.wav
invalidPinFile=clips/invalidPin.wav
invalidDestFile=clips/invalidDest.wav

#Skype authorization system recordings - make your own if you like (wav 16k 16bit mono).
skypePinFile=clips/enterPin.wav
skypeDestinationFile=clips/enterDest.wav
skypeDialingFile=clips/dialing.wav
skypeInvalidPinFile=clips/invalidPin.wav
skypeInvalidDestFile=clips/invalidDest.wav

#Used for Skypeout only - transmit skype feedback audio during PSTN call attempt
handleEarlyMedia=yes

#relay received SIP session progress audio to incoming skype callers
handleSipEarlyMedia=no

#send a ring tone to incoming skype callers
sendRingToSkypeCaller=no
skypeRingFile=clips/skypeRing.wav
skypeRingInterval=8

#set to yes to send Skype EarlyMedia over SIP/RTP using Session Progress (183) instead of accepting call (200)
#   Note: Setting this to yes may cause problems with some PSTN numbers that use specific types of answering systems
sendSkypeEarlyMediaOverSipSessionProgress=no

#replace the SIP From address with the calling Skype User Id
replaceFromWithSkypeId=no


#Send Skype IM when calling skype users - not used for skypeout
sendSkypeIM=no
skypeimmessage=You are about to receive a Skype Voice call from [callerid] [callernumber].
#delay between the IM and the actual skype call in seconds.
sendSkypeImDelay=2

#auth auth settings
autoAddContactCalledUsers=no
autoAddContactAuthMessage=Please authorize me to contact you.


#transport_protocols=udp tcp
transport_protocols=udp

#If you are using an external SIP host, using an outbound proxy can improve security by allowing
#only communication with that host
#outbound_proxy=127.0.0.1:5060
#outbound_proxy=proxy01.sipphone.com:5060

#via_addr generally should be your PC's IP address.
#via_addr=SipToSisIpAddress
#via_addr=127.0.0.1

#set to your static public IP and you need to communicate to external destination
# - if not static IP, do not set this and use stun settings below
# - to work properly, you should setup port forwarding of SIP and RTP ports.
#publicIP=xxx.xxx.222.22

#set to a STUN server (you can specify multiple servers)
# - to work properly, you should setup port forwarding of SIP and RTP ports.
#stunServer=stunserver.org:3478,stun.xten.net:3478,stun01.sipphone.com:3478
#minutes between STUN updates (0=only at startup)
stunTestInterval=30

#If you have SIP signal or one way audio problem with the outside you can try the next two settings.
# - translates messages when communicating with an external destination 
# - works in conjunction with publicIP setting or STUN
enableNatTranslate=yes

#translates via address when communicating with an external destination 
# - works in conjunction with publicIP setting or STUN 
# - works only when enableNatTranslate is enabled
enableNatTranslateVia=no


#Sample AUTO config with NO registration
#  username and password not important in this mode
#  Set to available port to transport SIP messages on siptosis computer
#host_port=5070
#username=skypests
#passwd=somePassword
#do_register=no
# --- end of NO registration example ---

#Sample config with NO registration - use if above auto config doesn't work - change 127.0.0.1 to ip address of computer running siptosis
#  username and password not important in this mode
#Set to available port to transport SIP messages on siptosis computer
#host_port=5070
#contact_url=sip:skypests@127.0.0.1:5070
#from_url="skypests" <sip:5611111111@127.0.0.1:5070>
#username=skypests
#passwd=somePassword
#realm=127.0.0.1
# --- end of NO registration example ---

#Sample config WITH registration to GizmoProject - comment out NO registration info above first and uncomment the following#contact_url=sip:1747???????@SipToSisIpAddress:SipToSisHostPort
#from_url="1747???????" <sip:1747???????@proxy01.sipphone.com:5060>
#username=1747???????
#passwd=?????
#realm=proxy01.sipphone.com
#expires=120
#minregrenewtime=60
#regfailretrytime=15
#do_register=yes
# --- end of WITH registration example ---


#sample FWD reg example - note the outbound proxy
#host_port=5070
#contact_url=sip:8?????@SipToSisIpAddress:SipToSisHostPort
#from_url="8?????" <sip:8?????@fwd.pulver.com:5060>
#username=8?????
#realm=fwd.pulver.com
#passwd=????
#expires=240
#do_register=yes
#minregrenewtime=120
#regfailretrytime=15
#outbound_proxy=fwdnat2.pulver.com:5060
# --- end of FWD registration example ---


#sample pennytel reg example
#host_port=5070
#contact_url=sip:8?????@SipToSisIpAddress:SipToSisHostPort
#from_url="8?????" <sip:8?????@sip.pennytel.com:5060>
#username=8?????
#realm=sip.pennytel.com
#passwd=somePassword
#expires=320
#do_register=yes
#minregrenewtime=120
#regfailretrytime=15
# --- end of pennytel registration example ---


#Sample Asterisk registration example - comment out NO registration info above first and uncomment the following.
host_port=5070
contact_url=sip:serenity@192.168.1.100:5070
from_url="serenity" <sip:serenity@24.131.xxx.xxx:5060>
username=serenity
realm=asterisk
passwd=somePassword
expires=3600
do_register=yes
minregrenewtime=120
regfailretrytime=15
# --- end of Asterisk Reg example ---

#Sample FreeSwitch regisration - can't use 5070 like others
#host_port=5077#contact_url=sip:skypetestuser@SipToSisIpAddress:SipToSisHostPort
#from_url="skypetestuser" <sip:skypetestuser@freeswitchIPAddress:freeswitchHostPort>
#username=skypetestuser
#realm=freeswitchDeterminedRealm
#passwd=somePassword
#expires=3600
#do_register=yes
#minregrenewtime=160
#regfailretrytime=15
# --- end of FreeSwitch Reg example ---



#do_unregister=yes
#do_unregister_all=yes

#keepalive_time - set to zero to disable keep alives - 0 recommended if using local SIP Server otherwise use 25000 to 45000 if not port forwarding
keepalive_time=0

audio=yes
#following is the SIP RTP port base - use an even port number
audio_port=63200
#auto hangup after no rtp packets received for ? seconds
noRtpReceivedAutoHangupSeconds=30

#only PCMU,PCMA,GSM (jmf lib),GSMTRI (tritonus libs) codecs currently supported - order by preference
#You can append RW to the codec name to disable sample averaging - you will need to use filter with those - see FilterParams.
#Speex doesn't not work well at all - high cpu usage and poor sound quality
audio_codec=PCMU,PCMA,ILBC
#PCMU/PCMA allow 160,240,320 - GSM allows 160 - ILBC allows 240, Speex allows 160, Speex16k allows 320  - need one size for each codec specified
#Some ATA's don't work well with 240 for PCMU/PCMA codecs - change to 160 if needed.
audio_frame_size=240,240,240
#if using dynamic payload types (speex and ilbc) you must specify the payload number (asterisk uses 98,97), if not you can remove this parameter
audio_avp=-1,-1,98

#Audio volume gains - 1 for each codec - (decimal number) 1=flat (no gain), higher=louder, too high will clip or distort
#volume sip->skype
skype_audiooutgain=1,1,1
#volume skype->sip
skype_audioingain=1.2,1.2,1.2

#Filter skype audio before being downsampled and sent to SIP device - enable a filter if using the RW codecs. 
#No Filtering
FilterParams=NONE
#RC lowpass filter
#RC,delay time (lower lowers cutoff),RC constant (higher lowers cutoff) - 50,40 is a good starting point 
#FilterParams=RC,50,40
#FIR filter
#FIR,Order (higher sharper cutoff and more cpu),window type (RECTANGULAR,HANNING,HAMMING,BLACKMAN),filter type (LP,HP,BP),minFreq,maxFreq
#FilterParams=FIR,100,HANNING,LP,0,3200
#FilterParams=FIR,100,HANNING,HP,300,3200
#FilterParams=FIR,100,HANNING,BP,300,3200

#If yes, will send RTP packets to address received from the otherside
#  instead of what was received in the session descriptor. 
#  This may help with one way audio problems. 
enableSendRTPtoReceivedAddress=yes

#works with above setting - sending of rtpPackets can be redirected until receiving this number of packets. After that the address is locked.
lockRtpSendAddressAfterPackets=1

#Set to -1 to disable rfc2833 some providers use 96 most use 101
dtmf2833payloadtype=101 

#Use these for SIP INFO msg support - first is the most common type
#dtmfinfotype=application/dtmf-relay
#dtmfinfotype=application/dtmf

#Use only if rfc2833 and INFO are not supported - uses more cpu
enableSIPInbandDtmfDetector=no
SIPInbandDtmfDetectorGain=1
SipDtmfDetectorHitThreshold=30
SipDtmfDetectorSilenceThreshold=40
#shutoff detector after time has elasped
autoDisableSipInbandDtmfDetectorSeconds=80


#params to control sip response address handling
useViaRport=yes
useViaReceived=yes
#send all responses using outbound proxy - outbound proxy must be set up
sendResponseUsingOutboundProxy=no

#sip response for any uncovered reason (possibly no skype credit)
baseFailureResponse=403
#sip response if remote skype user refused call
skypeRefusedResponse=603
#sip response if skype call failed (possibly no skype credit)
skypeFailedResponse=408
#sip response if invalid skype user or number
skypeInvalidDestinationResponse=404
#sip response if skype returned unplaced status
skypeUnPlacedResponse=408
#sip response if called party is busy
skypeBusyResponse=600

#network buffers for skype api audio transport (0=leave at OS default)
TcpRxBufferSize=8192
TcpTxBufferSize=8192
#network buffers for RTP audio transport (0=leave at OS default)
RtpRxBufferSize=8192
RtpTxBufferSize=8192
#TOS flags (recommended 0x10 or 0x18) -1 to use platform default
# On windows make sure DWORD HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\DisableUserTOSSetting=0 Does nothing on Vista and later
RtpTosFlags=0x10

#*** register server settings below *** not required if registration is not needed for phone
#set to yes to turn on server registrar or no to disable
is_registrar=yes
#set to yes to allow register of users not already in registar database (users.db)
register_new_users=yes
#set to domains of server - see mjsip doc
#domain_names=192.168.0.4 somedomain.com
allowMultiContactsPerUser=no
#enable if your ATA/SIP device does not send the port in the request line (FritzBox and others)
domain_port_any=yes

#voicemail clips
vmNoMessagesClip=clips/vmpnomessages.wav
vmPlayingClip=clips/vmpplayingmessages.wav
vmEndOfMessageClip=clips/vmpendofmessageprompt.wav
vmMessageDeletedClip=clips/vmpmessagedeleted.wav
vmMessageDeleteAllClip=clips/vmpmessagedeleteall.wav
vmNoMoreMessagesClip=clips/vmpnomoremessages.wav
vmRecordingBeepClip=clips/vmprecordingbeep.wav

sip.conf

[general]
	bindaddr=0.0.0.0
	context=default
	allowoverlap=no
	srvlookup=yes
	disallow=all
	allow=ulaw
	allow=alaw
	allow=g726

	register => serenity:skypetest@192.168.1.100/serenity

[serenity]
	username=serenity
	type=friend
	context=internal
	secret=someSecret
	host=dynamic
	nat=no
	dtmfmode=auto
	canreinvite=no
	defaultip=192.168.1.100
	qualify=yes
	incominglimit=1
	outgoinglimit=1
	call-limit=1
  	busylevel=1

[2000]
	type=friend
	context=internal
	secret=someSecret
	host=dynamic
	qualify=yes

extensions.conf
[internal]
	exten => _7.,1,Dial(SIP/serenity/${EXTEN:1})
	exten => _7.,n,Hangup()

[from-skype]
	exten => _00X.,1,Answer()
	exten => _00X.,n,Dial(SIP/2000, 20)
	exten => _00X.,n,VoiceMail(2000, u)
	exten => _00X.,n,Hangup()

I can't figure out where the loop is.  Hopefully you can help.
B]]></description>
			<author><![CDATA[dummy@example.com (olben1)]]></author>
			<pubDate>Wed, 04 Aug 2010 17:40:06 +0000</pubDate>
			<guid>http://www.mhspot.com/stsforum/viewtopic.php?id=333&amp;action=new</guid>
		</item>
	</channel>
</rss>
