Plan d'adressage IP et versions ------------------------------- ST2030 fw 1.58 Asterisk 1.4.17 avec patch dispo sur le site de Thomson Telephone 11 = 10.0.0.111 Telephone 35 = 10.0.0.135 Telephone 37 = 10.0.0.137 Asterisk = 10.0.1.76 Scenario -------- Le poste 37 appelle le poste 35 et je fais un pickup de l'appel depuis le poste 11 en composant "*835" Resultat -------- Le pickup marche bien ! tcpdump entre asterisk et le poste 11 ------------------------------------- 10:08 root@asterisk ~# tcpdump -n -A -s 65535 host 10.0.0.111 and port 5060 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:08:59.007342 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 649 E....C..@... ..L ..o.......]NOTIFY sip:11@10.0.0.111:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK2c99c332;rport From: ;tag=as17d90253 To: ;tag=c0a80101-2411 Contact: Call-ID: 14443-c0a80101-d-9@10.0.0.111 CSeq: 786 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 204 confirmed 10:08:59.007731 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 645 E....D..@... ..L ..o.......YNOTIFY sip:11@10.0.0.111:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK13d2bdf7;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Contact: Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 798 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 200 early 10:08:59.013139 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 250 E...o...@... ..o ..L.......GSIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK2c99c332;rport From: ;tag=as17d90253 To: ;tag=c0a80101-2411 Call-ID: 14443-c0a80101-d-9@10.0.0.111 CSeq: 786 NOTIFY Content-Length: 0 10:08:59.020553 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 250 E...o...@... ..o ..L........SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK13d2bdf7;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 798 NOTIFY Content-Length: 0 <<<< A cet instant, je compose *835 depuis le poste 11 >>>>>>>> 10:09:05.868867 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 886 E...o...@... ..o ..L.....~V.INVITE sip:*835@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141929769759643754-602200448 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 1 INVITE Max-Forwards: 70 Supported: timer, replaces Session-Expires: 1800 Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO Contact: User-Agent: THOMSON ST2030 hw3 fw1.58 00-0E-50-4E-89-89 Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Type: application/sdp Content-Length: 194 v=0 o=11 602200448 602200448 IN IP4 10.0.0.111 s=- c=IN IP4 10.0.0.111 t=0 0 m=audio 41000 RTP/AVP 8 97 a=rtpmap:8 PCMA/8000 a=rtpmap:97 telephone-event/8000 a=fmtp:97 0-15 a=sendrecv 10:09:05.869093 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 554 E..F.E..@... ..L ..o.....2..SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141929769759643754-602200448;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: ;tag=as5bc1305a Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 1 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="256899a2" Content-Length: 0 10:09:05.878749 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 483 E...o...@... ..o ..L......p.ACK sip:*835@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141929769759643754-602200448 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: ;tag=as5bc1305a Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 1 ACK Max-Forwards: 70 Allow-Events: refer,dialog,message-summary,check-sync,talk,hold User-Agent: THOMSON ST2030 hw3 fw1.58 00-0E-50-4E-89-89 Content-Length: 0 10:09:05.879271 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 1067 E..Go...@..b ..o ..L.....3.qINVITE sip:*835@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK4696575318254109209-602200452 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 2 INVITE Max-Forwards: 70 Supported: timer, replaces Session-Expires: 1800 Proxy-Authorization: Digest username="11", realm="asterisk", nonce="256899a2", uri="sip:*835@10.0.1.76:5060;user=phone", response="6a0f5aa94299a543e82251311712d7e8", algorithm=MD5 Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,SUBSCRIBE,NOTIFY,UPDATE,REFER,REGISTER,INFO Contact: User-Agent: THOMSON ST2030 hw3 fw1.58 00-0E-50-4E-89-89 Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Content-Type: application/sdp Content-Length: 194 v=0 o=11 602200448 602200448 IN IP4 10.0.0.111 s=- c=IN IP4 10.0.0.111 t=0 0 m=audio 41000 RTP/AVP 8 97 a=rtpmap:8 PCMA/8000 a=rtpmap:97 telephone-event/8000 a=fmtp:97 0-15 a=sendrecv 10:09:05.879509 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 469 E....F..@..C ..L ..o........SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK4696575318254109209-602200452;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: Content-Length: 0 10:09:05.879833 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 742 E....G..@..1 ..L ..o........SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK4696575318254109209-602200452;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: ;tag=as482f9c34 Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 2 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY Supported: replaces Contact: Content-Type: application/sdp Content-Length: 229 v=0 o=root 3285 3285 IN IP4 10.0.1.76 s=session c=IN IP4 10.0.1.76 t=0 0 m=audio 11328 RTP/AVP 8 97 a=rtpmap:8 PCMA/8000 a=rtpmap:97 telephone-event/8000 a=fmtp:97 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv 10:09:05.881811 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 650 E....H..@... ..L ..o.......^NOTIFY sip:11@10.0.0.111:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK2d304641;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Contact: Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 799 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 205 terminated 10:09:05.892245 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 654 E...o...@... ..o ..L.......ZACK sip:*835@10.0.1.76;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK4697585369358209319-602200460 From: "Alexis de Lattre";tag=c0a80101-23e4d97f To: ;tag=as482f9c34 Call-ID: 76674003-c0a80101-0-24@10.0.0.111 CSeq: 2 ACK Max-Forwards: 70 Allow-Events: refer,dialog,message-summary,check-sync,talk,hold Proxy-Authorization: Digest username="11", realm="asterisk", nonce="256899a2", uri="sip:*835@10.0.1.76;user=phone", response="42690999d676220660b290e1742e7c2e", algorithm=MD5 User-Agent: THOMSON ST2030 hw3 fw1.58 00-0E-50-4E-89-89 Content-Length: 0 10:09:05.910846 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 250 E...o...@... ..o ..L......z.SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK2d304641;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 799 NOTIFY Content-Length: 0 <<<<< le PICKUP marche : 37 est en communication avec 11 ! >>>>>>> Site Web -------- http://people.via.ecp.fr/~alexis/asterisk/