<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Professional Geekism &#187; SIP</title>
	<atom:link href="http://www.ninjabadger.net/category/sip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ninjabadger.net</link>
	<description>Ninjas. Badgers. Linux. Me.</description>
	<lastBuildDate>Wed, 17 Feb 2010 23:06:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Bad SIP transfers in CME 4.0/4.1/4.2</title>
		<link>http://www.ninjabadger.net/2007/08/17/bad-sip-transfers-in-cme-404142/</link>
		<comments>http://www.ninjabadger.net/2007/08/17/bad-sip-transfers-in-cme-404142/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 10:54:03 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[VOIP]]></category>

		<guid isPermaLink="false">http://www.ninjabadger.net/2007/08/17/bad-sip-transfers-in-cme-404142/</guid>
		<description><![CDATA[Whilst I&#8217;ve been messing about with registering a Grandstream GXP2000 to our CME 4.2 server&#8217;s SIP service, I&#8217;ve found quite an annoying problem. The phone registers fine and can make external calls via the SIP trunk absolutely fine. The phone will also accept transfers of internal calls (ephones), but if I attempt to transfer an [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst I&#8217;ve been messing about with registering a Grandstream GXP2000 to our CME 4.2 server&#8217;s SIP service, I&#8217;ve found quite an annoying problem.</p>
<p>The phone registers fine and can make external calls via the SIP trunk absolutely fine. The phone will also accept transfers of internal calls (ephones), <strong>but</strong> if I attempt to transfer an external call form an ephone, to the Granstream &#8211; the external call is cut-off. I&#8217;ve isolated the &#8216;debug ccsip messages&#8217; output which describes what is happening, but I&#8217;m by no means an expert in debugging SIP output.<br />
<code><br />
Aug 14 09:16:49.807: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br />
Sent:<br />
REFER sip:07xxxxxxxxx@cme-router:5060 SIP/2.0<br />
Via: SIP/2.0/UDP cme-router:5060;branch=z9hG4bK3432633<br />
From: <sip:0116@cme-router>;tag=2CD733C8-216A<br />
To: "Tom" <sip:07xxxxxxxxx@cme-router>;tag=as221e2abe<br />
Call-ID: 24524ebd58e984e930f461ff5d490bd9@asterisk-sip-gateway<br />
CSeq: 102 REFER<br />
Max-Forwards: 70<br />
Contact: <sip:0116@cme-router:5060><br />
User-Agent: Cisco-SIPGateway/IOS-12.x<br />
Timestamp: 1187083009<br />
Refer-To: sip:2007@cme-router?Replaces=E72682C6-497D11DC-90D890FC-79F613F8%40cme-router<br />
%3Bto-tag%3Ddb0457357be0d469%3Bfrom-tag%3D2CD77068-25C3<br />
Referred-By: <sip:0116@cme-router><br />
Content-Length: 0<br />
</code><br />
<code><br />
Aug 14 09:16:49.811: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br />
Received:<br />
SIP/2.0 202 Accepted<br />
Via: SIP/2.0/UDP cme-router:5060;branch=z9hG4bK3432633;received=cme-router<br />
From: <sip:0116@cme-router>;tag=2CD733C8-216A<br />
To: "Tom" <sip:07xxxxxxxxx@cme-router>;tag=as221e2abe<br />
Call-ID: 24524ebd58e984e930f461ff5d490bd9@asterisk-sip-gateway<br />
CSeq: 102 REFER<br />
User-Agent: Asterisk PBX<br />
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br />
Supported: replaces<br />
Contact: <sip:07xxxxxxxxx@asterisk-sip-gateway><br />
Content-Length: 0<br />
</code><br />
<code><br />
Aug 14 09:16:49.811: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br />
Received:<br />
NOTIFY sip:0116@cme-router:5060 SIP/2.0<br />
Via: SIP/2.0/UDP asterisk-sip-gateway:5060;branch=z9hG4bK49b17aad;rport<br />
From: "Tom" <sip:07xxxxxxxxx@asterisk-sip-gateway>;tag=as221e2abe<br />
To: <sip:0116@cme-router>;tag=2CD733C8-216A<br />
Contact: <sip:07xxxxxxxxx@asterisk-sip-gateway><br />
Call-ID: 24524ebd58e984e930f461ff5d490bd9@asterisk-sip-gateway<br />
CSeq: 104 NOTIFY<br />
User-Agent: Asterisk PBX<br />
Max-Forwards: 70<br />
Event: refer;id=102<br />
Subscription-state: terminated;reason=noresource<br />
Content-Type: message/sipfrag;version=2.0<br />
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<br />
Supported: replaces<br />
Content-Length: 49<br />
</code><br />
<code><br />
SIP/2.0 481 Call leg/transaction does not exist<br />
</code><br />
<code><br />
Aug 14 09:16:49.815: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br />
Sent:<br />
SIP/2.0 200 OK<br />
Via: SIP/2.0/UDP asterisk-sip-gateway:5060;branch=z9hG4bK49b17aad;rport<br />
From: "Tom" <sip:07xxxxxxxxx@asterisk-sip-gateway>;tag=as221e2abe<br />
To: <sip:0116@cme-router>;tag=2CD733C8-216A<br />
Date: Tue, 14 Aug 2007 09:16:49 GMT<br />
Call-ID: 24524ebd58e984e930f461ff5d490bd9@asterisk-sip-gateway<br />
CSeq: 104 NOTIFY<br />
Content-Length: 0<br />
</code><br />
<code><br />
Aug 14 09:16:49.843: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:<br />
Received:<br />
BYE sip:0116@cme-router:5060 SIP/2.0<br />
Via: SIP/2.0/UDP asterisk-sip-gateway:5060;branch=z9hG4bK136ae0fa;rport<br />
From: "Tom" <sip:07xxxxxxxxx@asterisk-sip-gateway>;tag=as221e2abe<br />
To: <sip:0116@cme-router>;tag=2CD733C8-216A<br />
Call-ID: 24524ebd58e984e930f461ff5d490bd9@asterisk-sip-gateway<br />
CSeq: 105 BYE<br />
User-Agent: Asterisk PBX<br />
Max-Forwards: 70<br />
Content-Length: 0<br />
</code></p>
<p>My voice service voip config is as below:<br />
<code><br />
voice service voip<br />
allow-connections sip to sip<br />
no supplementary-service sip moved-temporarily<br />
sip<br />
registrar server expires max 240 min 60<br />
no call service stop<br />
</code></p>
<p>And the Grandstream phone config is:<br />
<code><br />
voice register dn 1<br />
number 2007<br />
allow watch<br />
refer target dial-peer<br />
mwi<br />
!<br />
voice register pool 1<br />
id mac 000B.820D.0536<br />
number 1 dn 1<br />
template 1<br />
dtmf-relay rtp-nte<br />
voice-class codec 1<br />
description Grandstream<br />
</code></p>
<p>Where &#8216;cme-router&#8217; is the router on which CME 4.2 is installed and running, and &#8216;asterisk-sip-gateway&#8217; is our SIP gateway (which the CME 4.2 SIP-UA connects to) that handles more advanced call routing features.</p>
<p>If anyone has any ideas &#8211; I&#8217;d appreciate the help! It&#8217;s not a massive problem, but I&#8217;m keen to see this one through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninjabadger.net/2007/08/17/bad-sip-transfers-in-cme-404142/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
