C'est moins pire maitenant. Le problème était de trouver un setup qui marchait. Je pensais que les GUI étaient plus intuitifs que ca, mais c'est plus un "front" qui affiche que de la configuration. Comme je l'ai mentionné, je suis un gars de Java et toute la config de Asterisk, est un retour en arrière pour moi.
Et pourquoi, je vais dans les forums, c'est pour avoir un feedback direct avec du monde qui ont de l'expérience. Un livre c'est bien, mais souvent c'est trop théorique, plus souvent qu'autrement, les exemples n'ont pas de lien entre-eux.
Par exemple, l'exemple X, ne prend pas en compte la config qui a a été faite dans l'exemple précédent.. et tu obtiens des messages d'erreur et tu sais pas pourquoi.
C'est aussi la raison pour laquelle, je prend des notes pour faire un blog. Nous sommes un peu hors sujet, mais bon.. j'ai fait la meme chose pour mon blog sur Git sous Windows. Il y avait plein de blogs sur ca.. mais aucun ne fonctionnait directement.. manquait toujours des étapes. J'ai fait un blog qui explique tout ca à partir de zéro.. et tout le monde est bien content de mon article. Ca marche à 100% des fois. (du moins jusqu'à la prochaine update )
Comme par exemple.. regardons le livre de Asterisk pour IVR
http://ofps.oreilly.com/titles/9780596517342/ch16.html
Pour moi, qui en a jamais fait.. c'est pas très clair. Il n'y a pas assez d'explications.
C'est ce que je veux faire.. expliquer pourquoi on met la ligne extern=...xxxxx machin truc.. comme ca, le néophite va comprendre plus.
Mais y a rien qui bat l'expérience.. et ca prend toujours du temps pour en avoir.
le livre est finalement tres bien. J<aurais aime avoir plus d'exemples sur IVR..mais bon.. je m'en suis fait un mini pour ma demo.. donc c'est parfait.
me reste un probleme. Faire un appel externe. J'ai contacte mon provider voip pour avoir la config pour Asterisk.. mais je n'arrive toujours pas a faire un appel externe. Je suis en attente d'une reponse d'eux.. mais bon.. je ne pense pas que leur support supporte les installations Asterisk
Voici la config que j<ai ainsi que les logs
j<utilise le user 1001 dans mon softphone.. et je compose le 95141111111
voici ce que je vois dans les logs Asterisk quand je fais un appel.Code HTML:<code> bob*CLI> sip show peers Name/username Host Dyn Forcerport ACL Port Status 1001/1001 192.168.10.1 D N 6666 OK (22 ms) 1002 (Unspecified) D N 0 UNKNOWN BabyTEL/XXXXXXXXXX 216.18.125.7 N 5065 OK (49 ms) 3 sip peers [Monitored: 2 online, 1 offline Unmonitored: 0 online, 0 offline] bob*CLI> </code>
voici la config que j'aiCode HTML:<code> Asterisk Queue Logger restarted -- Remote UNIX connection disconnected == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 -- Executing [915141111111@Interne:1] Dial("SIP/1001-0000000b", "SIP/BabyTEL/15141111111,50") in new stack == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 -- Called BabyTEL/15141111111 [Nov 3 17:33:20] WARNING[2269]: chan_sip.c:3383 retrans_pkt: Retransmission timeout reached on transmission [email]39cc7f825f1d321710ce1bd3619a69da@sip.babyTEL.ca[/email] for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt. Packet timed out after 8192ms with no response [Nov 3 17:33:20] WARNING[2269]: chan_sip.c:3412 retrans_pkt: Hanging up call [email]39cc7f825f1d321710ce1bd3619a69da@sip.babyTEL.ca[/email] - no reply to our critical packet (see doc/sip-retransmit.txt). == Everyone is busy/congested at this time (1:0/0/1) -- Executing [915141111111@Interne:2] Hangup("SIP/1001-0000000b", "") in new stack == Spawn extension (Interne, 915141111111, 2) exited non-zero on 'SIP/1001-0000000b' </code>
SIP.CONF
et finalement mon fichier extensions.confCode HTML:<code> ;************* FICHIER SIP.CONF ************* ;*** PARAMETRES GENERAUX DE CONFIGURATION *** [general] t38pt_udptl = yes language=fr call-limit=50 srvlookup=yes disallow=all allow=ulaw allow=alaw allow=gsm context=Interne dtmfmode=rfc2833 qualify=yes canreinvite=no notifyringing=yes notifyhold=yes subscribecontext=BLF ;************ PARAMETRES DES COMPTES SIP ************* [1001] callerid=SoftPhone <1001> type=friend context=Interne host=dynamic secret=1234 dtmfmode=rfc2833 qualify=yes disallow=all allow=ulaw allow=gsm allow=alaw canreinvite=no nat=yes subscribecontext=BLF [1002] callerid=HardPhone <1002> type=friend context=Interne host=dynamic secret=1234 dtmfmode=rfc2833 qualify=yes disallow=all allow=gsm allow=ulaw allow=alaw canreinvite=no nat=yes subscribecontext=BLF [BabyTEL] context=AppelSortant type=peer outboundproxy=nat2.babytel.ca port=5065 host=sip.babyTEL.ca dtmfmode=rfc2833 disallow=all ;allow=g729 allow=ulaw fromdomain=sip.babyTEL.ca username=XXXXXXXXXX secret=YYYYY authuser=XXXXXXXXXX qualify=yes insecure=very nat=yes ;register => 1XXXXXXXXXX:yyyyy@sip.babyTEL.ca:5065/XXXXXXXXX register => 1XXXXXXXXX:yyyyy@sip.babyTEL.ca:5065 </code>
voici mon fichiers hosts (si jamais ca peut aider. j,utilise Ubuntu 10.10)Code HTML:<code> [general] [globals] [BLF] ;Contexte gérant les leds sur les téléphones exten => 1001,hint,SIP/1001 exten => 1002,hint,SIP/1002 [Interne] ;Contexte Contenant les téléphone Internes include => AppelSortant include => BLF include => test exten = _XXXX,1,Dial(SIP/${EXTEN},50) exten = _XXXX,n,Hangup() [AppelSortant] ;Contexte pour les appels sortants exten = _9XXXXXXXXXXX,1,Dial(SIP/BabyTEL/${EXTEN:1},50) exten = _9XXXXXXXXXXX,n,Hangup() </code>
127.0.0.1 localhost
127.0.1.1 bob
216.18.125.7 sip.babytel.ca
#216.18.125.12 nat2.babytel.ca
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
je connais pas bien la numérotation par chez toi....
tu dois composer quelle numéro pour tes tests ?
Selon ton exemple, le 9XXXX.... le chiffre neuf sert pour la prise de ligne sortante ou il est inclus dans le numéro du destinataire ?
Ton fournisseur VOIP, il ne demanderai pas que ton numéro soit composé au format international ?
Cédric
---------------------------------------------------------------
Rejoignez l'Association Asterisk France : http://www.asterisk-france.org
Envie de mettre des étoiles dans les yeux de vos clients : EasyPyro.ch
On a pas inventé l'électricité en cherchant à améliorer la bougie...
---------------------------------------------------------------
pour faire un appel c'est la syntaxe suivante : 15141111234 10 numéros.
j'ai mis 9 devant pour dire que c'est pour faire un appel externe. ici tous les systemes de téléphonie fonctionnent de cette facon.
donc (915141111234)
exten = _9XXXXXXXXXXX,1,Dial(SIP/BabyTEL/${EXTEN:1},50)
devrait appeller : Dial(SIP/BabyTEL/15141111234,50)
je vais regarder que mon router laisse passer toutes les connexions.
si je voudrais faire un test et changer le port 5060 de Asterisk.. je ferais ca comment ? genre pour le port : 8888
Je suis d'accord, la plupart des tutoriaux ne fonctionnent pas, et sans un sens ça n'est pas forcément plus mal si il y'a une petite erreur de temps en temps, ça force à chercher et ainsi apprendre le fonctionnement du système. Quand je fais un tuto, je le teste à fond, en me mettant dans l'esprit "je ne sais rien, je suis un singe qui recopie bêtement ce qui est marqué", et souvent la taille du tuto fait x3 par rapport à mes "notes perso" dont je me sers pour le faire, ensuite je rajoute des explications, je développe le sujet bien au-delà de ce que je pensais faire au départ, et je me retrouve avec 15 pages de tuto pour 1 page au départ
Dans le livre d'Asterisk, clairement il n'y a aucun tutoriel, uniquement des exercices qu'il faut faire en essayant uniquement de comprendre comment ça marche, pas en espérant faire fonctionner tout de suite un système téléphonique.
Des tutoriaux Asterisk n'apportent vraiment rien si on a pas les bases, il y'a trop de sources d'erreurs possibles, il est obligatoire de comprendre d'abord les concepts
j'ai fait des nouveaux tests.
j'ai changé le port de Asterisk pour 15060.
et je suis capable de recevoir des appels dans mon softphone qui est connecté sur Asterisk.
donc pour les appels recus.. pas de problèmes.
c'est les appels sortants qui ne fonctionnent toujours pas.
Code:voici la config de SIP.CONF* (apres c'est les logs de l'appel) ;************* FICHIER SIP.CONF ************* ;*** PARAMETRES GENERAUX DE CONFIGURATION *** [general] t38pt_udptl = yes language=fr call-limit=50 srvlookup=yes disallow=all allow=ulaw allow=alaw allow=gsm context=Interne dtmfmode=rfc2833 qualify=yes canreinvite=no notifyringing=yes notifyhold=yes subscribecontext=BLF bindport=15060 ;register => 1XXXXXXXXXX:password@sip.babyTEL.ca:5065 ;register => 1XXXXXXXXXX:password@nat2.babyTEL.ca:5065/1XXXXXXXXXX register => 1XXXXXXXXXX:password@216.18.125.12:5065 ;register => 1XXXXXXXXXX:password@216.18.125.12:5065/1XXXXXXXXXX ;************ PARAMETRES DES COMPTES SIP ************* [1001] callerid=SoftPhone <1001> type=friend context=Interne host=dynamic secret=1234 dtmfmode=rfc2833 qualify=yes disallow=all allow=ulaw allow=gsm allow=alaw canreinvite=no nat=yes subscribecontext=BLF [BabyTEL-entrant] context=AppelEntrant type=peer outboundproxy=nat2.babytel.ca outboundproxyport=5065 port=5065 host=216.18.125.12 dtmfmode=rfc2833 disallow=all ;allow=g729 allow=ulaw fromdomain=216.18.125.12 username=1XXXXXXXXXX secret=password authuser=1XXXXXXXXXX qualify=yes insecure=port,invite nat=yes [BabyTEL] context=AppelSortant type=peer outboundproxy=nat2.babytel.ca outboundproxyport=5065 port=5065 host=216.18.125.12 dtmfmode=rfc2833 disallow=all ;allow=g729 allow=ulaw fromdomain=216.18.125.12 username=1XXXXXXXXXX secret=password authuser=1XXXXXXXXXX qualify=yes insecure=port,invite nat=yes ;register => 1XXXXXXXXXX:password@sip.babyTEL.ca:5065/1XXXXXXXXXX ;register => 1XXXXXXXXXX:password@sip.babyTEL.ca:5065
et j'ai mis* le debug a on dans Asterisk
CLI : sip set debug on
et voici le log complet de l'appel que j'essaye de faire de mon softphone (1001)* vers mon cellulaire : 15141111234
dans le softPhone.. j'entre le numéro : 915141111234
l'IP du softphone : 92.168.0.17 port : 6666
l'IP de mon serveur Asterisk est : 192.168.10.130 poer : 15060
la suite . Les logs dans Asterisk
Code:<--- SIP read from UDP:192.168.10.1:6666 ---> INVITE sip:915141111234@192.168.10.130:15060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.17:6666;rport;branch=z9hG4bK31625 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:915141111234@192.168.10.130:15060> Call-ID: 5259 CSeq: 20 INVITE Contact: <sip:1001@192.168.10.1:6666> Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Max-Forwards: 70 User-Agent: Linphone/3.3.2 (eXosip2/3.3.0) Subject: Phone call Content-Length: 404 v=0 o=1001 123456 654321 IN IP4 192.168.10.1 s=A conversation c=IN IP4 192.168.10.1 t=0 0 m=audio 7078 RTP/AVP 112 111 110 3 0 8 101 a=rtpmap:112 speex/32000/1 a=fmtp:112 vbr=on a=rtpmap:111 speex/16000/1 a=fmtp:111 vbr=on a=rtpmap:110 speex/8000/1 a=fmtp:110 vbr=on a=rtpmap:3 GSM/8000/1 a=rtpmap:0 PCMU/8000/1 a=rtpmap:8 PCMA/8000/1 a=rtpmap:101 telephone-event/8000/1 a=fmtp:101 0-11 <-------------> --- (13 headers 17 lines) --- == Using UDPTL CoS mark 5 Sending to 192.168.10.1:6666 (no NAT) Using INVITE request as basis request - 5259 Found peer '1001' for '1001' from 192.168.10.1:6666 <--- Reliably Transmitting (NAT) to 192.168.10.1:6666 ---> SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.0.17:6666;branch=z9hG4bK31625;received=192.168.10.1;rport=6666 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:915141111234@192.168.10.130:15060>;tag=as23a2df50 Call-ID: 5259 CSeq: 20 INVITE Server: Asterisk PBX SVN-branch-1.8-r293530 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="1924f809" Content-Length: 0 <------------> Scheduling destruction of SIP dialog '5259' in 6400 ms (Method: INVITE) <--- SIP read from UDP:192.168.10.1:6666 ---> ACK sip:915141111234@192.168.10.130:15060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.17:6666;rport;branch=z9hG4bK31625 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:915141111234@192.168.10.130:15060>;tag=as23a2df50 Call-ID: 5259 CSeq: 20 ACK Content-Length: 0 <-------------> --- (7 headers 0 lines) --- <--- SIP read from UDP:192.168.10.1:6666 ---> INVITE sip:915141111234@192.168.10.130:15060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.17:6666;rport;branch=z9hG4bK23771 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:915141111234@192.168.10.130:15060> Call-ID: 5259 CSeq: 21 INVITE Contact: <sip:1001@192.168.10.1:6666> Authorization: Digest username="1001", realm="asterisk", nonce="1924f809", uri="sip:915141111234@192.168.10.130:15060", response="0ae561d027e685717da46511cfbcbf13", algorithm=MD5 Content-Type: application/sdp Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Max-Forwards: 70 User-Agent: Linphone/3.3.2 (eXosip2/3.3.0) Subject: Phone call Content-Length: 404 v=0 o=1001 123456 654321 IN IP4 192.168.10.1 s=A conversation c=IN IP4 192.168.10.1 t=0 0 m=audio 7078 RTP/AVP 112 111 110 3 0 8 101 a=rtpmap:112 speex/32000/1 a=fmtp:112 vbr=on a=rtpmap:111 speex/16000/1 a=fmtp:111 vbr=on a=rtpmap:110 speex/8000/1 a=fmtp:110 vbr=on a=rtpmap:3 GSM/8000/1 a=rtpmap:0 PCMU/8000/1 a=rtpmap:8 PCMA/8000/1 a=rtpmap:101 telephone-event/8000/1 a=fmtp:101 0-11 <-------------> --- (14 headers 17 lines) --- Sending to 192.168.10.1:6666 (NAT) Using INVITE request as basis request - 5259 Found peer '1001' for '1001' from 192.168.10.1:6666 == Using SIP RTP CoS mark 5 Found RTP audio format 112 Found RTP audio format 111 Found RTP audio format 110 Found RTP audio format 3 Found RTP audio format 0 Found RTP audio format 8 Found RTP audio format 101 Found audio description format speex for ID 112 Found audio description format speex for ID 111 Found audio description format speex for ID 110 Found audio description format GSM for ID 3 Found audio description format PCMU for ID 0 Found audio description format PCMA for ID 8 Found audio description format telephone-event for ID 101 Capabilities: us - 0xe (gsm|ulaw|alaw), peer - audio=0x20000021e (gsm|ulaw|alaw|speex|speex16|g726aal2)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xe (gsm|ulaw|alaw) Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|) Peer audio RTP is at port 192.168.10.1:7078 Looking for 915141111234 in Interne (domain 192.168.10.130:15060) list_route: hop: <sip:1001@192.168.10.1:6666> <--- Transmitting (NAT) to 192.168.10.1:6666 ---> SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.17:6666;branch=z9hG4bK23771;received=192.168.10.1;rport=6666 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:915141111234@192.168.10.130:15060> Call-ID: 5259 CSeq: 21 INVITE Server: Asterisk PBX SVN-branch-1.8-r293530 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Contact: <sip:915141111234@192.168.10.130:15060> Content-Length: 0 <------------> -- Executing [915141111234@Interne:1] Log("SIP/1001-00000019", "NOTICE, Dialing out from "SoftPhone" <1001> to 15141111234 through Babytel Provider") in new stack [Nov 3 20:09:58] NOTICE[2799]: Ext. 915141111234:1 @ Interne: Dialing out from "SoftPhone" <1001> to 15141111234 through Babytel Provider -- Executing [915141111234@Interne:2] Dial("SIP/1001-00000019", "SIP/BabyTEL/15141111234,50") in new stack == Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5 Audio is at 15060 Adding codec 0x4 (ulaw) to SDP Adding non-codec 0x1 (telephone-event) to SDP Reliably Transmitting (NAT) to 216.18.125.12:5065: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:15141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv
suite #2
Code:--- -- Called BabyTEL/5141111234 [Nov 3 20:09:58] NOTICE[2625]: chan_sip.c:12147 sip_reregister: -- Re-registration for 1XXXXXXXXXX@216.18.125.12 > doing dnsmgr_lookup for '216.18.125.12' REGISTER 11 headers, 0 lines Reliably Transmitting (no NAT) to 216.18.125.12:5065: REGISTER sip:216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK16b51376 Max-Forwards: 70 From: <sip:1XXXXXXXXXX@216.18.125.12>;tag=as79b6ed58 To: <sip:1XXXXXXXXXX@216.18.125.12> Call-ID: 121f677f2238fd64085b6dec58a69206@127.0.1.1 CSeq: 112 REGISTER User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Authorization: Digest username="1XXXXXXXXXX", realm="sip.babytel.ca", algorithm=MD5, uri="sip:216.18.125.12:5065", nonce="4cd33f8b180931c526ea05e41a9b5130ef068253", response="d951d801b9e4ec0d9315fc5827aa4f8b" Expires: 120 Contact: <sip:s@192.168.10.130:15060> Content-Length: 0 --- Retransmitting #1 (NAT) to 216.18.125.12:5060: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:5141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- Retransmitting #2 (NAT) to 216.18.125.12:5060: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:5141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- <--- SIP read from UDP:216.18.125.12:5065 ---> SIP/2.0 200 OK To: <sip:1XXXXXXXXXX@216.18.125.12>;tag=115ba56c From: <sip:1XXXXXXXXXX@216.18.125.12>;tag=as79b6ed58 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK16b51376 Call-ID: 121f677f2238fd64085b6dec58a69206@127.0.1.1 CSeq: 112 REGISTER Contact: <sip:s@192.168.10.130:15060>;expires=41 Content-Length: 0 <-------------> --- (8 headers 0 lines) --- Scheduling destruction of SIP dialog '121f677f2238fd64085b6dec58a69206@127.0.1.1' in 32000 ms (Method: REGISTER) [Nov 3 20:09:59] NOTICE[2625]: chan_sip.c:19496 handle_response_register: Outbound Registration: Expiry for 216.18.125.12 is 41 sec (Scheduling reregistration in 26 s) Retransmitting #3 (NAT) to 216.18.125.12:5060: INVITE sip:5141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:5141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- Retransmitting #4 (NAT) to 216.18.125.12:5060: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:15141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- Retransmitting #5 (NAT) to 216.18.125.12:5060: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:15141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- Retransmitting #6 (NAT) to 216.18.125.12:5060: INVITE sip:15141111234@216.18.125.12:5065 SIP/2.0 Via: SIP/2.0/UDP 192.168.10.130:15060;branch=z9hG4bK190b332f;rport Max-Forwards: 70 From: "SoftPhone" <sip:1001@216.18.125.12>;tag=as63526dd5 To: <sip:5141111234@216.18.125.12:5065> Contact: <sip:1001@192.168.10.130:15060> Call-ID: 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 CSeq: 102 INVITE User-Agent: Asterisk PBX SVN-branch-1.8-r293530 Date: Thu, 04 Nov 2010 03:09:58 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Type: application/sdp Content-Length: 281 v=0 o=root 1215646287 1215646287 IN IP4 192.168.10.130 s=Asterisk PBX SVN-branch-1.8-r293530 c=IN IP4 192.168.10.130 t=0 0 m=audio 7018 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv --- [Nov 3 20:10:05] WARNING[2625]: chan_sip.c:3383 retrans_pkt: Retransmission timeout reached on transmission 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 for seqno 102 (Critical Request) -- See doc/sip-retransmit.txt. Packet timed out after 6400ms with no response [Nov 3 20:10:05] WARNING[2625]: chan_sip.c:3412 retrans_pkt: Hanging up call 64c18d840ecdc7f124098b426c7cfd08@216.18.125.12 - no reply to our critical packet (see doc/sip-retransmit.txt). == Everyone is busy/congested at this time (1:0/0/1) -- Executing [915141111234@Interne:3] Hangup("SIP/1001-00000019", "") in new stack == Spawn extension (Interne, 915141111234, 3) exited non-zero on 'SIP/1001-00000019' Scheduling destruction of SIP dialog '5259' in 6400 ms (Method: INVITE) <--- Reliably Transmitting (NAT) to 192.168.10.1:6666 ---> SIP/2.0 603 Declined Via: SIP/2.0/UDP 192.168.0.17:6666;branch=z9hG4bK23771;received=192.168.10.1;rport=6666 From: <sip:1001@192.168.10.130:15060>;tag=30407 To: <sip:1915141111234@192.168.10.130:15060>;tag=as3a6cee68 Call-ID: 5259 CSeq: 21 INVITE Server: Asterisk PBX SVN-branch-1.8-r293530 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Content-Length: 0 <------------>
mettons que le probleme vient de mon provider mais bon... surtout de ma config Asterisk pour mon provider.
Quelqu'un aurait un exemple de Gtalk ? Si je suis capable de faire un test avec ca.. je vais être heureux..
j'ai Asterisk 1.8 sous Ubuntu
encore
merci