Plan d'adressage IP et versions ------------------------------- ST2030 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 appuyant sur la touche de fonction correspondant au poste 35 qui clignote. Resultats --------- - le pickup ne se fait pas - le poste 11 fait un appel simple vers le poste 35 - le poste 35 recoit 2 appels en meme temps en provenance de 11 et de 37 tcpdump entre asterisk et le poste 11 ------------------------------------- 10:05 root@asterisk ~# tcpdump -n -A -s 65535 host 10.0.0.111 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 10:05:41.168352 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 649 E....!..@... ..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=z9hG4bK1584b384;rport From: ;tag=as17d90253 To: ;tag=c0a80101-2411 Contact: Call-ID: 14443-c0a80101-d-9@10.0.0.111 CSeq: 781 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 204 confirmed 10:05:41.168802 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 645 E...."..@... ..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=z9hG4bK0a78a880;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Contact: Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 793 NOTIFY User-Agent: Asterisk PBX Max-Forwards: 70 Event: dialog Content-Type: application/dialog-info+xml Subscription-State: active Content-Length: 200 early 10:05:41.174160 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 250 E...n...@..Y ..o ..L.......}SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK1584b384;rport From: ;tag=as17d90253 To: ;tag=c0a80101-2411 Call-ID: 14443-c0a80101-d-9@10.0.0.111 CSeq: 781 NOTIFY Content-Length: 0 10:05:41.184137 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 250 E...n...@..X ..o ..L......G.SIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.1.76:5060;branch=z9hG4bK0a78a880;rport From: ;tag=as45d18d6f To: ;tag=c0a80101-240f Call-ID: 12032-c0a80101-d-8@10.0.0.111 CSeq: 793 NOTIFY Content-Length: 0 <<<<< A cet instant : PICKUP depuis le 11 >>>>>> 10:05:46.614658 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 882 ..@... ..o ..L.....z..INVITE sip:35@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK6818137570870325821-602100818 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: Call-ID: 2e9ddcf8-c0a80101-0-22@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 602100818 602100818 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:05:46.614840 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 552 E..D.#..@... ..L ..o.....0..SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK6818137570870325821-602100818;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: ;tag=as18342b41 Call-ID: 2e9ddcf8-c0a80101-0-22@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="2b8de3ff" Content-Length: 0 10:05:46.634131 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 479 E...n...@..q ..o ..L........ACK sip:35@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK6818137570870325821-602100818 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: ;tag=as18342b41 Call-ID: 2e9ddcf8-c0a80101-0-22@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:05:46.635653 IP 10.0.0.111.5060 > 10.0.1.76.5060: SIP, length: 1061 E..An...@..* ..o ..L.....-..INVITE sip:35@10.0.1.76:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141369703192647154-602100827 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: Call-ID: 2e9ddcf8-c0a80101-0-22@10.0.0.111 CSeq: 2 INVITE Max-Forwards: 70 Supported: timer, replaces Session-Expires: 1800 Proxy-Authorization: Digest username="11", realm="asterisk", nonce="2b8de3ff", uri="sip:35@10.0.1.76:5060;user=phone", response="40318b7cc8f95700beb71ae2b5b40b17", 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 602100818 602100818 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:05:46.637848 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 465 E....$..@..i ..L ..o........SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141369703192647154-602100827;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: Call-ID: 2e9ddcf8-c0a80101-0-22@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:05:46.666337 IP 10.0.1.76.5060 > 10.0.0.111.5060: SIP, length: 481 E....%..@..X ..L ..o........SIP/2.0 180 Ringing Via: SIP/2.0/UDP 10.0.0.111:5060;branch=z9hG4bK8141369703192647154-602100827;received=10.0.0.111 From: "Alexis de Lattre";tag=c0a80101-23e35451 To: ;tag=as40578a00 Call-ID: 2e9ddcf8-c0a80101-0-22@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 <<<<<<< ECHEC : le pickup ne se fait pas : le poste 35 reçoit à la fois un appel de 37 et de 11 >>>>>>> Site Web -------- http://people.via.ecp.fr/~alexis/asterisk/