This is the message I posted to the asterisk mailing list detailing how
to configure asterisk to drive the snom programmable buttons.

David
--- Begin Message ---
The snom 200 and 220 have five programmable buttons.  Each button has a
led that can be used to indecate if an extension is idle, in use, or
ringing.  A button pannel for the 220 is also comming out soon that will
have 20'ish programmable buttons on board.  

This is a killer app for any company that has receptionists handle
calls, and pretty usefull for everyone else.  

As a matter of fact, Asterisk already supports phone idle/in use states
for the buttons, and at the bottom of this message you will find a patch
to enable the ring state.

Howto:

1. Configure the programable buttons as "destination" and enter the
extension in the field.  After saving the page the phone will convert
the extension to a sip url, which is fine.

2. Modify your asterisk dialplan to provide "hints" that map a given
extension to a channel.  (In asterisk, a channel can be busy or ringing,
but an extension is just a string of numbers that activate one or more
applications).  Asterisk seems to provide syntax for allowing more than
one channel to be mapped to any particular extension with the hint
system, but I did not investigate that.

Example:

exten => 200,hint,SIP/RonC
exten => 200,1,Macro(stdexten,SIP/RonC)
                                                                                       
                                      exten => 201,hint,SIP/JeanK
exten => 201,1,Macro(stdexten,SIP/JeanK)
                                                                                       
                                      exten => 202,hint,SIP/JeffT
exten => 202,1,Macro(stdexten,SIP/JeffT)

3.  You must reload the dialplan and then reboot the phone for it's
subscriptions to take effect.  After that, you should have working
lights.

4.  If you want the lights to blink on ringing, apply the following
patch to the asterisk code.  

You can not pick up a call by hitting the blinking button,  I was going
to do this work but I decided to just train the receptionists to hit *8
instead.   I have not studied this extensivly, but to implement it, i
think it would just require asterisk to have support for sip "replaces"
(I don't know if asterisk supports this or not) and the ringing notify
needs to go out with a few more fields.  (It seems that the snom phone
contacts the sip device listed in one of the ring notify message fields
with an invite including a "replaces" header to pick up a call)

I have also included a sip trace of a snom phone picking up a call
placed to another phone using the blinking button in case anybody out
there wants to tackle this problem themselves (Sample trace was
collected when using snom phones with snom's sip proxy software). 
Please note that it seems like we must include the extra fields in the
ring notify before the snom phone will procude the proper "replaces"
invite in order to do a standards compliant call pickup.

Notes on patch:
If this patch is not in the proper format for submissions please provide
me a link to the asterisk submission policies.  It has been tested here
at DerbyTech for about a week on our live phone system.  

I submit this patch to the asterisk project under the GPL with hope that
it will be resubmited to CVS.

Thankyou,
David Hinkle
Sr. Linux Engineer
DerbyTech



Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.135
diff -r1.135 channel.c
1910c1910,1915
< 		        return AST_DEVICE_INUSE;
---
> 				{
> 				if (chan->_state == AST_STATE_RINGING)
> 					return AST_DEVICE_RINGING;
> 				else				
> 			        return AST_DEVICE_INUSE;
> 				}
2432a2438
> 			ast_device_state_changed(chan->name);
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.147
diff -r1.147 pbx.c
1371a1372,1373
> 			case AST_DEVICE_RINGING:
> 			return AST_EXTENSION_RINGING;
1377c1379,1381
< 			return AST_EXTENSION_INUSE;
---
> 			//return AST_EXTENSION_INUSE;
> 			allbusy = 0; // Asure we always return INUSE instead of busy because I didn't want to change functionality
> 						 // Unless I was ringing
Index: channels/chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.483
diff -r1.483 chan_sip.c
3788a3789
> 	char *StateString;
3858a3860,3876
> 		switch(state)
> 			{
> 			case AST_EXTENSION_RINGING:
> 				StateString = "early";
> 				break;
> 			case AST_EXTENSION_INUSE:
> 			case AST_EXTENSION_BUSY:		
> 				StateString = "confirmed";
> 				break;
> 			case AST_EXTENSION_UNAVAILABLE:
> 			case AST_EXTENSION_NOT_INUSE:
> 			default:
> 				StateString = "terminated";
> 			}
> 
> 		ast_verbose("State: %s, %d\n", StateString, state);
> 
3870c3888,3889
< 		bytes = snprintf(t, maxbytes, "<state>%s</state>\n", state ? "confirmed" : "terminated");
---
> 		ast_verbose("State: %d\n", state);
> 		bytes = snprintf(t, maxbytes, "<state>%s</state>\n", StateString);
Index: include/asterisk/channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.54
diff -r1.54 channel.h
357a358,359
> /*! Device is ringing */
> #define AST_DEVICE_RINGING 6
Index: include/asterisk/pbx.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
retrieving revision 1.25
diff -r1.25 pbx.h
44a45,46
> //! At least one device ringing
> #define AST_EXTENSION_RINGING 4
********************************************************************************
Call to [EMAIL PROTECTED] as seen by Secretary
Answered by Secretary
********************************************************************************

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:01:770 (1163 bytes):

NOTIFY sip:[EMAIL PROTECTED]:5060;line=t5116uyl SIP/2.0
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-05024cf591289707a53e4345ef25f87f.1
Via: SIP/2.0/UDP 4.13.147.200:11636;branch=z9hG4bK-98k96vibydan;rport
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: <sip:[EMAIL PROTECTED];user=phone>;tag=wr4771pry1
To: <sip:[EMAIL PROTECTED]>;tag=gh50agmbxb
Call-ID: [EMAIL PROTECTED]
CSeq: 9 NOTIFY
Max-Forwards: 69
Contact: <sip:[EMAIL PROTECTED];gruu=dekqyehe>
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 556

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="8" state="full" 
entity="sip:[EMAIL PROTECTED];user=phone"><dialog id="-6" direction="recipient" 
call-id="[EMAIL PROTECTED]" local-tag="5e7xzl7sqh" 
remote-tag="2216503390"><state>early</state><local><identity display="""">sip:[EMAIL 
PROTECTED]</identity><target uri="sip:[EMAIL PROTECTED]"/></local><remote><identity 
display=""Shanon 8721"">sip:[EMAIL PROTECTED]</identity><target uri="sip:[EMAIL 
PROTECTED]"/></remote></dialog></dialog-info>



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:01:792 (430 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-05024cf591289707a53e4345ef25f87f.1
Via: SIP/2.0/UDP 4.13.147.200:11636;branch=z9hG4bK-98k96vibydan;rport
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: <sip:[EMAIL PROTECTED];user=phone>;tag=wr4771pry1
To: <sip:[EMAIL PROTECTED]>;tag=gh50agmbxb
Call-ID: [EMAIL PROTECTED]
CSeq: 9 NOTIFY
Content-Length: 0




--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:03:418 (1049 bytes):

INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-i2ze8xaij5js;rport
From: "Shanon ABP" <sip:[EMAIL PROTECTED]>;tag=8h1frkawky
To: ""Shano" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
Replaces: [EMAIL PROTECTED];to-tag=2216503390;from-tag=5e7xzl7sqh
P-Key-Flags: keys="3"
User-Agent: snom200-3.42
Accept-Language: en
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Session-Expires: 3600
Content-Type: application/sdp
Content-Length: 292

v=0
o=root 510805774 510805774 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 0 8 3 18 2 101
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv



--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:03:622 (281 bytes):

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-i2ze8xaij5js;rport
From: "Shanon ABP" <sip:[EMAIL PROTECTED]>;tag=8h1frkawky
To: <Shano" <sip:[EMAIL PROTECTED]>>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:03:670 (1088 bytes):

INVITE sip:[EMAIL PROTECTED]:5060;line=t5116uyl SIP/2.0
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Max-Forwards: 68
Contact: <sip:[EMAIL PROTECTED]:5067>
User-Agent: Azacall200
subject: Call_Invite
Allow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY
Replaces: [EMAIL PROTECTED];to-tag=8h1frkawky
Content-Type: application/sdp
Content-Length: 189

v=0
o=middle 1934895 39476 IN IP4 209.189.239.106
s=-
c=IN IP4 209.189.239.106
t=0 0
m=audio 39476 RTP/AVP 18 0 8 4 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:03:691 (373 bytes):

CANCEL sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-i2ze8xaij5js;rport
From: "Shanon ABP" <sip:[EMAIL PROTECTED]>;tag=8h1frkawky
To: ""Shano" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 CANCEL
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
Content-Length: 0




--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:03:804 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:03:905 (306 bytes):

SIP/2.0 481 Call/Transaction does not exist
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-i2ze8xaij5js;rport
From: "Shanon ABP" <sip:[EMAIL PROTECTED]>;tag=8h1frkawky
To: <Shano" <sip:[EMAIL PROTECTED]>>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 CANCEL
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:04:045 (1169 bytes):

NOTIFY sip:[EMAIL PROTECTED]:5060;line=t5116uyl SIP/2.0
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-b92efd7b0648a6831880c4ff3c3f1a3d.1
Via: SIP/2.0/UDP 4.13.147.200:11636;branch=z9hG4bK-pt5nt22zcgm4;rport
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: <sip:[EMAIL PROTECTED];user=phone>;tag=wr4771pry1
To: <sip:[EMAIL PROTECTED]>;tag=gh50agmbxb
Call-ID: [EMAIL PROTECTED]
CSeq: 10 NOTIFY
Max-Forwards: 69
Contact: <sip:[EMAIL PROTECTED];gruu=dekqyehe>
Event: dialog
Content-Type: application/dialog-info+xml
Content-Length: 561

<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="9" state="full" 
entity="sip:[EMAIL PROTECTED];user=phone"><dialog id="-6" direction="recipient" 
call-id="[EMAIL PROTECTED]" local-tag="5e7xzl7sqh" 
remote-tag="2216503390"><state>terminated</state><local><identity 
display="""">sip:[EMAIL PROTECTED]</identity><target uri="sip:[EMAIL 
PROTECTED]"/></local><remote><identity display=""Shanon 8721"">sip:[EMAIL 
PROTECTED]</identity><target uri="sip:[EMAIL 
PROTECTED]"/></remote></dialog></dialog-info>



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:04:215 (431 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-b92efd7b0648a6831880c4ff3c3f1a3d.1
Via: SIP/2.0/UDP 4.13.147.200:11636;branch=z9hG4bK-pt5nt22zcgm4;rport
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: <sip:[EMAIL PROTECTED];user=phone>;tag=wr4771pry1
To: <sip:[EMAIL PROTECTED]>;tag=gh50agmbxb
Call-ID: [EMAIL PROTECTED]
CSeq: 10 NOTIFY
Content-Length: 0




--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:04:354 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:05:414 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:06:494 (503 bytes):

SUBSCRIBE sip:[EMAIL PROTECTED];type=user;vendor=snom;product=snom200 SIP/2.0
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-5mzr5y0282lx;rport
From: <sip:[EMAIL PROTECTED]>;tag=9vqhfm78gq
To: <sip:[EMAIL PROTECTED];type=user;vendor=snom;product=snom200>
Call-ID: [EMAIL PROTECTED]
CSeq: 10 SUBSCRIBE
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
Event: sip-config
Accept: application/x-snom-config
Expires: 3600
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:06:666 (301 bytes):

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-5mzr5y0282lx;rport
From: <sip:[EMAIL PROTECTED]>;tag=9vqhfm78gq
To: <sip:[EMAIL PROTECTED];type=user;vendor=snom;product=snom200>
Call-ID: [EMAIL PROTECTED]
CSeq: 10 SUBSCRIBE
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:06:726 (319 bytes):

SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-5mzr5y0282lx;rport
From: <sip:[EMAIL PROTECTED]>;tag=9vqhfm78gq
To: <sip:[EMAIL PROTECTED];type=user;vendor=snom;product=snom200>;tag=2fgywchn1a
Call-ID: [EMAIL PROTECTED]
CSeq: 10 SUBSCRIBE
Content-Length: 0




--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:07:464 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:12:076 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:20:634 (1068 bytes):

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-075ebc832ec20436bc47ec24ed457f9d.1
Via: SIP/2.0/UDP 209.189.239.106:5060;branch=z9hG4bK-50e2b84768434aab67408fad4af245bc.2
Via: SIP/2.0/UDP 209.189.239.106:5067;branch=z9hG4bK-middle-1934895-200.0
Via: SIP/2.0/UDP 172.16.84.100:5060;branch=z9hG4bK2503562144
Record-Route: <sip:abpusa.com:5060;maddr=209.189.239.106>
From: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
To: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
Call-ID: [EMAIL PROTECTED]
CSeq: 200 INVITE
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, 
INFO
Allow-Events: talk, hold, refer
Supported: timer, 100rel, replaces
Content-Type: application/sdp
Content-Length: 222

v=0
o=root 1283593033 1283593033 IN IP4 4.12.220.193
s=call
c=IN IP4 4.12.220.193
t=0 0
m=audio 10002 RTP/AVP 18 101
a=rtpmap:18 g729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=sendrecv



--------------------------------------------------------------------------------

Sent to udp:209.189.239.106:5060 at 24/8/2004 11:35:22:306 (478 bytes):

BYE sip:abpusa.com:5060;maddr=209.189.239.106 SIP/2.0
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-x3q7efcoeke7;rport
Route: <sip:[EMAIL PROTECTED]:5067>
From: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
To: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
Call-ID: [EMAIL PROTECTED]
CSeq: 1 BYE
Max-Forwards: 70
Contact: <sip:[EMAIL PROTECTED];gruu=e0vh1e8m>
User-Agent: snom200-3.42
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:22:643 (271 bytes):

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-x3q7efcoeke7;rport
From: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
To: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
Call-ID: [EMAIL PROTECTED]
CSeq: 1 BYE
Content-Length: 0




--------------------------------------------------------------------------------

Received from udp:209.189.239.106:5060 at 24/8/2004 11:35:23:625 (267 bytes):

SIP/2.0 200 OK
Via: SIP/2.0/UDP 4.12.220.193:5060;branch=z9hG4bK-x3q7efcoeke7;rport
From: <sip:[EMAIL PROTECTED]>;tag=vcitdd0d3w
To: "Shanon 8721" <sip:[EMAIL PROTECTED]>;tag=2216503390
Call-ID: [EMAIL PROTECTED]
CSeq: 1 BYE
Content-Length: 0


_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

--- End Message ---
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to