Liste des fonctionnalités à ajouter dans Astrad
Oussama Hammami, 2011-05-23
Switzernet
Ci-dessous les fonctionnalités à étudier et ajouter dans les prochaines versions d’Astrad.
Au premier lieu (V007) on compte ajouter ce type de routage pour les appels internes (Switzernet); appels entrants ou appels sortant vers un compte Switzernet.
Ce type de routage autonome (MySQL) doit tenir compte des paramètres suivants:
On a déjà commencé l'implémentation de cette fonctionnalité dans le script AGI (ast-aut.pl)
Il faut :
L'implémentation sera appréciée si on utilisera la fonction mysql (cmd) directement dans extension.conf.
Pour les clients dont le contact est le même que l'ancien enregistrement, on peut optimiser les requêtes UPDATE en augmentant l'expires par conséquent il aura deux paramètre à fixer :
Ce changement doit être implémenté sur l'Asterisk.
Chaque Asterisk contient dans sa base de données toute notre clientèle dans les deux tables sippeers et sipusers, alors qu'en réalité il n'utilise que 4% de ces lignes pour chaque table.
L'idée est de commencer avec deux tables vides qui se remplies pour n'avoir à la fin que les clients actives sur ce serveur.
L'insertion des deux lignes d'un client donnée se fait lorsque il réussi son enregistrement.
On suppose que ce scénario est faisable avec une vue 'VIEW' crée à partir d'une union d’une table FEDERATED (sippeers qui contient tous les clients) et la table locale sippeers (qui est vide au début).
Si un client utilise le même compte avec plusieurs clients SIP (téléphone SIP, Xlite ...) il aura deux enregistrements dans location (master) et les appels entrants vers ce compte seront routés vers le dernier enregistrement effectué, la requête est la suivante:
select * from location where username='accounts' order by last_modified desc limit 1 ;
Pour résoudre ce problème on peut faire sonner tous les clients SIP enregistrées et garder à la fin la channel ouverte avec le premier client qui a décroché.
Permettre aux clients de cacher leurs numéros (unknown).
Dernièrement on a remarqué que notre numéro d’hotline ne s’affiche pas en appelant des clients Switzernet, ce problème n’est pas lié à la configuration d’Asterisk cependant l’étude de ce cas est essentiel.
L’implémentation d’une solution qui permet aux clients de configurer et personnaliser leurs paramètres comme :
Cette interface partagera le même mot de passe du compte VoIP pour l’authentification.
Dans la prochaine version (007) une première solution sera implantée permettant la personnalisation des paramètres NAT et Durée d’expiration d’enregistrement afin de résoudre les problèmes causés par NAT.
Le téléphone de ce client (412255037XX) a
été configuré pour s'enregistrer chaque 3600 seconds.
Le router de ce client réserve le port utilisé durant l'enregistrement
uniquement pour 3 minutes, les appels entrants ne fonctionnent plus après cette
durée.
mysql> select username,domain,expires,contact,last_modified from `porta-sip`.location where username=412255037XX; +-------------+--------------+---------------------+-------------------------------------+---------------------+ | username | domain | expires | contact | last_modified | +-------------+--------------+---------------------+-------------------------------------+---------------------+ | 412255037XX | 91.121.138.5 | 2011-05-18 20:13:05 | sip:412255037XX@188.62.250.78:56461 | 2011-05-18 19:13:07 | +-------------+--------------+---------------------+-------------------------------------+---------------------+ 1 row in set (0.01 sec) |
Enregistrement du client [2011-05-18 19:13:05]
188.62.250.78:56461 -> 91.121.138.5:5060 REGISTER sip:sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b7cafc44. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25850 REGISTER. Max-Forwards: 70. Contact: 412255037XX <sip:412255037XX@192.168.1.35:5060>;expires=3600. User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: x-sipura. . U 91.121.138.5:5060 -> 188.62.250.78:56461 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b7cafc44;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25850 REGISTER. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56461 SIP/2.0 401 Unauthorized. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b7cafc44;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=as716d0a47. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25850 REGISTER. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. WWW-Authenticate: Digest algorithm=MD5, realm="switzernet", nonce="5edbbaac". Content-Length: 0. . U 188.62.250.78:56461 -> 91.121.138.5:5060 REGISTER sip:sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-de26a300. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25851 REGISTER. Max-Forwards: 70. Authorization: Digest username="412255037XX",realm="switzernet",nonce="5edbbaac",uri="sip:sip13.youroute.net",algorithm=MD5,response="54b9e4fdb3bc9e761c6d96f566b3fc90". Contact: 412255037XX <sip:412255037XX@192.168.1.35:5060>;expires=3600. User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 0. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: x-sipura. . U 91.121.138.5:5060 -> 188.62.250.78:56461 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-de26a300;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25851 REGISTER. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56461 SIP/2.0 200 OK. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-de26a300;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=378df9b1e9cb9dcdo0. To: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=as716d0a47. Call-ID: bafc9469-69f3017d@192.168.1.35. CSeq: 25851 REGISTER. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Expires: 3600. Contact: <sip:412255037XX@192.168.1.35:5060>;expires=3600. Date: Wed, 18 May 2011 17:13:05 GMT. Content-Length: 0. |
À 2011-05-18 19:17:46 le client ne plus atteignable
U 85.3.165.96:61702 -> 91.121.138.5:5060 INVITE sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-a426c295. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 101 INVITE. Max-Forwards: 70. Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. Expires: 240. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 397. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 137653 137653 IN IP4 192.168.1.121. s=-. c=IN IP4 192.168.1.121. t=0 0. m=audio 16456 RTP/AVP 0 2 4 8 18 96 97 98 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-a426c295;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as68147dc7. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 101 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Proxy-Authenticate: Digest algorithm=MD5, realm="switzernet", nonce="638af3a9". Content-Length: 0. . U 85.3.165.96:61702 -> 91.121.138.5:5060 ACK sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-a426c295. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as68147dc7. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 101 ACK. Max-Forwards: 70. Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 0. . U 85.3.165.96:61702 -> 91.121.138.5:5060 INVITE sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ad9b8175. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 102 INVITE. Max-Forwards: 70. Proxy-Authorization: Digest username="41215500327",realm="switzernet",nonce="638af3a9",uri="sip:412255037XX@astrad12.switzernet.com",algorithm=MD5,response="c581f74e6ccf1c5cbfea1f39cd163786". Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. Expires: 240. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 397. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 137653 137653 IN IP4 192.168.1.121. s=-. c=IN IP4 192.168.1.121. t=0 0. m=audio 16456 RTP/AVP 0 2 4 8 18 96 97 98 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ad9b8175;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 183 Session Progress. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ad9b8175;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=8e67fbdbe2128a15o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as1516a7f2. Call-ID: 94acbbd3-85380a7d@192.168.1.121. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Type: application/sdp. Content-Length: 380. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 28916 RTP/AVP 0 8 18 4 2 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:2 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56461 INVITE sip:412255037XX@188.62.250.78:56461 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK1c61bba5;rport. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as642bf240. To: <sip:412255037XX@188.62.250.78:56461>. Contact: <sip:41900000085@91.121.138.5>. Call-ID: 260ecc513cbf693e621a883c560a9d27@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:18:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 1136766228-1116836789-540281141-913279153. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 28372 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56461 INVITE sip:412255037XX@188.62.250.78:56461 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK1c61bba5;rport. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as642bf240. To: <sip:412255037XX@188.62.250.78:56461>. Contact: <sip:41900000085@91.121.138.5>. Call-ID: 260ecc513cbf693e621a883c560a9d27@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:18:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 1136766228-1116836789-540281141-913279153. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 28372 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56461 INVITE sip:412255037XX@188.62.250.78:56461 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK1c61bba5;rport. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as642bf240. To: <sip:412255037XX@188.62.250.78:56461>. Contact: <sip:41900000085@91.121.138.5>. Call-ID: 260ecc513cbf693e621a883c560a9d27@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:18:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 1136766228-1116836789-540281141-913279153. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 28372 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56461 INVITE sip:412255037XX@188.62.250.78:56461 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK1c61bba5;rport. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as642bf240. To: <sip:412255037XX@188.62.250.78:56461>. Contact: <sip:41900000085@91.121.138.5>. Call-ID: 260ecc513cbf693e621a883c560a9d27@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:18:23 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 1136766228-1116836789-540281141-913279153. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 28372 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. |
Ce problème a été réglé en modifiant la valeur du Register Expires
en 60 seconds au lieu de 3600s [http://switzernet.com/public/070723-config_UA/spa-3000/ext1.png]
J'ai demandé à ce client de remettre sa configuration à 3600 seconds et de me
rappeler une fois que je le rappel sur son téléphone portable (Être sûr que les
appels entrant ne fonctionne plus)
mysql> select * from sippeers2 where name=412255037XX; +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | id | name | host | context | insecure | ipaddr | port | regseconds | username | md5secret | nat | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | 6545 | 412255037XX | dynamic | forbidden | no | 188.62.250.78 | 56461 | 1305742385 | 412255037XX | 51725d0e2c6d45d07dae5fe9f5fb605c | yes | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ 1 row in set (0.01 sec) |
Le client m'appel :
U 188.62.250.78:56502 -> 91.121.138.5:5060 INVITE sip:0215500329@sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b31d8877. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>. Remote-Party-ID: 412255037XX <sip:412255037XX@sip13.youroute.net>;screen=yes;party=calling. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 101 INVITE. Max-Forwards: 70. Contact: 412255037XX <sip:412255037XX@192.168.1.35:5060>. Expires: 240. User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 440. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: x-sipura. Content-Type: application/sdp. . v=0. o=- 50728 50728 IN IP4 192.168.1.35. s=-. c=IN IP4 192.168.1.35. t=0 0. m=audio 16474 RTP/AVP 0 2 4 8 18 96 97 98 100 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:100 NSE/8000. a=fmtp:100 192-193. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b31d8877;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as55bc13a1. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 101 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Proxy-Authenticate: Digest algorithm=MD5, realm="switzernet", nonce="0948cd03". Content-Length: 0. . U 188.62.250.78:56502 -> 91.121.138.5:5060 ACK sip:0215500329@sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-b31d8877. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as55bc13a1. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 101 ACK. Max-Forwards: 70. Contact: 412255037XX <sip:412255037XX@192.168.1.35:5060>. User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 0. . U 188.62.250.78:56502 -> 91.121.138.5:5060 INVITE sip:0215500329@sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>. Remote-Party-ID: 412255037XX <sip:412255037XX@sip13.youroute.net>;screen=yes;party=calling. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 INVITE. Max-Forwards: 70. Proxy-Authorization: Digest username="412255037XX",realm="switzernet",nonce="0948cd03",uri="sip:0215500329@sip13.youroute.net",algorithm=MD5,response="788317d00e84690ce7a5f173b5476007". Contact: 412255037XX <sip:412255037XX@192.168.1.35:5060>. Expires: 240. User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 440. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: x-sipura. Content-Type: application/sdp. . v=0. o=- 50728 50728 IN IP4 192.168.1.35. s=-. c=IN IP4 192.168.1.35. t=0 0. m=audio 16474 RTP/AVP 0 2 4 8 18 96 97 98 100 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:100 NSE/8000. a=fmtp:100 192-193. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:0215500329@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 183 Session Progress. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as04116067. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:0215500329@91.121.138.5>. Content-Type: application/sdp. Content-Length: 380. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 12564 RTP/AVP 0 8 18 4 2 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:2 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 91.121.205.108:5060 INVITE sip:41215500329@91.121.205.108 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK3a9ccb5f;rport. From: "412255037XX" <sip:412255037XX@91.121.138.5>;tag=as525b914c. To: <sip:41215500329@91.121.205.108>. Contact: <sip:412255037XX@91.121.138.5>. Call-ID: 2372f5054a0e3cd2404d828f068bb20d@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:21:33 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 923612611-1850892451-565748914-780352521. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 29696 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.205.108:5060 -> 91.121.138.5:5060 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK3a9ccb5f;received=91.121.138.5;rport=5060. From: "412255037XX" <sip:412255037XX@91.121.138.5>;tag=as525b914c. To: <sip:41215500329@91.121.205.108>. Call-ID: 2372f5054a0e3cd2404d828f068bb20d@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:41215500329@91.121.205.108>. Content-Length: 0. . U 91.121.205.108:5060 -> 91.121.138.5:5060 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK3a9ccb5f;received=91.121.138.5;rport=5060. From: "412255037XX" <sip:412255037XX@91.121.138.5>;tag=as525b914c. To: <sip:41215500329@91.121.205.108>;tag=as13caed1b. Call-ID: 2372f5054a0e3cd2404d828f068bb20d@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:41215500329@91.121.205.108>. Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as04116067. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:0215500329@91.121.138.5>. Content-Length: 0. . U 188.62.250.78:56502 -> 91.121.138.5:5060 CANCEL sip:0215500329@sip13.youroute.net SIP/2.0. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 CANCEL. Max-Forwards: 70. Proxy-Authorization: Digest username="412255037XX",realm="switzernet",nonce="0948cd03",uri="sip:0215500329@sip13.youroute.net",algorithm=MD5,response="a83718d88875708a4830004ba85563b6". User-Agent: Linksys/SPA3000-3.1.10(GWd). Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 487 Request Terminated. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as04116067. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. . U 91.121.138.5:5060 -> 188.62.250.78:56502 SIP/2.0 200 OK. Via: SIP/2.0/UDP 192.168.1.35:5060;branch=z9hG4bK-3a79ae67;received=188.62.250.78. From: 412255037XX <sip:412255037XX@sip13.youroute.net>;tag=a1b8b76bcf853038o0. To: <sip:0215500329@sip13.youroute.net>;tag=as04116067. Call-ID: 9d57b1a7-471a1b2c@192.168.1.35. CSeq: 102 CANCEL. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:0215500329@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 91.121.205.108:5060 CANCEL sip:41215500329@91.121.205.108 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK3a9ccb5f;rport. From: "412255037XX" <sip:412255037XX@91.121.138.5>;tag=as525b914c. To: <sip:41215500329@91.121.205.108>. Call-ID: 2372f5054a0e3cd2404d828f068bb20d@91.121.138.5. CSeq: 102 CANCEL. User-Agent: Asterisk PBX. Max-Forwards: 70. Content-Length: 0. . U 91.121.205.108:5060 -> 91.121.138.5:5060 SIP/2.0 487 Request Terminated. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK3a9ccb5f;received=91.121.138.5;rport=5060. From: "412255037XX" <sip:412255037XX@91.121.138.5>;tag=as525b914c. To: <sip:41215500329@91.121.205.108>;tag=as13caed1b. Call-ID: 2372f5054a0e3cd2404d828f068bb20d@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Content-Length: 0. . |
On a mis à jour le port utilisé lors de l'appel ci-dessus dans la base de données
d'asterisk
mysql> select * from sippeers2 where name=412255037XX; +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | id | name | host | context | insecure | ipaddr | port | regseconds | username | md5secret | nat | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | 6545 | 412255037XX | dynamic | forbidden | no | 188.62.250.78 | 56461 | 1305742385 | 412255037XX | 51725d0e2c6d45d07dae5fe9f5fb605c | yes | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ 1 row in set (0.01 sec) mysql> update sippeers2 set port='56502' where name='412255037XX'; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 mysql> select * from sippeers2 where name=412255037XX; +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | id | name | host | context | insecure | ipaddr | port | regseconds | username | md5secret | nat | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ | 6545 | 412255037XX | dynamic | forbidden | no | 188.62.250.78 | 56502 | 1305742385 | 412255037XX | 51725d0e2c6d45d07dae5fe9f5fb605c | yes | +------+-------------+---------+-----------+----------+---------------+-------+------------+-------------+----------------------------------+------+ 1 row in set (0.00 sec) |
Et ça sonne !! :)
U 85.3.165.96:61702 -> 91.121.138.5:5060 INVITE sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-584e522a. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 101 INVITE. Max-Forwards: 70. Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. Expires: 240. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 397. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 171650 171650 IN IP4 192.168.1.121. s=-. c=IN IP4 192.168.1.121. t=0 0. m=audio 16464 RTP/AVP 0 2 4 8 18 96 97 98 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 407 Proxy Authentication Required. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-584e522a;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as543aff57. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 101 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Proxy-Authenticate: Digest algorithm=MD5, realm="switzernet", nonce="6323cc64". Content-Length: 0. . U 85.3.165.96:61702 -> 91.121.138.5:5060 ACK sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-584e522a. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as543aff57. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 101 ACK. Max-Forwards: 70. Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 0. . U 85.3.165.96:61702 -> 91.121.138.5:5060 INVITE sip:412255037XX@astrad12.switzernet.com SIP/2.0. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ddce0142. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 102 INVITE. Max-Forwards: 70. Proxy-Authorization: Digest username="41215500327",realm="switzernet",nonce="6323cc64",uri="sip:412255037XX@astrad12.switzernet.com",algorithm=MD5,response="a124f01e68f2c6e7f53665a61125b385". Contact: "41215500327" <sip:41215500327@192.168.1.121:5060>. Expires: 240. User-Agent: Linksys/SPA921-5.1.8. Content-Length: 397. Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER. Supported: replaces. Content-Type: application/sdp. . v=0. o=- 171650 171650 IN IP4 192.168.1.121. s=-. c=IN IP4 192.168.1.121. t=0 0. m=audio 16464 RTP/AVP 0 2 4 8 18 96 97 98 101. a=rtpmap:0 PCMU/8000. a=rtpmap:2 G726-32/8000. a=rtpmap:4 G723/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729a/8000. a=rtpmap:96 G726-40/8000. a=rtpmap:97 G726-24/8000. a=rtpmap:98 G726-16/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-15. a=ptime:30. a=sendrecv. U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ddce0142;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Length: 0. . U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 183 Session Progress. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ddce0142;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as0c1f0cb3. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Type: application/sdp. Content-Length: 380. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 10376 RTP/AVP 0 8 18 4 2 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:2 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 91.121.138.5:5060 -> 188.62.250.78:56502 INVITE sip:412255037XX@188.62.250.78:56502 SIP/2.0. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK4a188e13;rport. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as4e5e6cb9. To: <sip:412255037XX@188.62.250.78:56502>. Contact: <sip:41900000085@91.121.138.5>. Call-ID: 16423e6e727a14611201e3f43ace50b0@91.121.138.5. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Max-Forwards: 70. Date: Wed, 18 May 2011 17:24:03 GMT. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. h323-conf-id: 1723244924-1552378543-1780410063-576096309. Content-Type: application/sdp. Content-Length: 384. . v=0. o=root 6651 6651 IN IP4 91.121.138.5. s=session. c=IN IP4 91.121.138.5. t=0 0. m=audio 19746 RTP/AVP 0 8 18 4 111 101. a=rtpmap:0 PCMU/8000. a=rtpmap:8 PCMA/8000. a=rtpmap:18 G729/8000. a=fmtp:18 annexb=no. a=rtpmap:4 G723/8000. a=fmtp:4 annexa=no. a=rtpmap:111 G726-32/8000. a=rtpmap:101 telephone-event/8000. a=fmtp:101 0-16. a=silenceSupp:off - - - -. a=ptime:20. a=sendrecv. U 188.62.250.78:56502 -> 91.121.138.5:5060 SIP/2.0 100 Trying. To: <sip:412255037XX@188.62.250.78:56502>. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as4e5e6cb9. Call-ID: 16423e6e727a14611201e3f43ace50b0@91.121.138.5. CSeq: 102 INVITE. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK4a188e13. Server: Linksys/SPA3000-3.1.10(GWd). Content-Length: 0. . U 188.62.250.78:56502 -> 91.121.138.5:5060 SIP/2.0 180 Ringing. To: <sip:412255037XX@188.62.250.78:56502>;tag=2519d0951796151ai0. From: "41900000085" <sip:41900000085@91.121.138.5>;tag=as4e5e6cb9. Call-ID: 16423e6e727a14611201e3f43ace50b0@91.121.138.5. CSeq: 102 INVITE. Via: SIP/2.0/UDP 91.121.138.5:5060;branch=z9hG4bK4a188e13. Server: Linksys/SPA3000-3.1.10(GWd). Remote-Party-ID: 412255037XX <sip:412255037XX@sip13.youroute.net>;screen=yes;party=called. Content-Length: 0. . - U 91.121.138.5:5060 -> 85.3.165.96:61702 SIP/2.0 180 Ringing. Via: SIP/2.0/UDP 192.168.1.121:5060;branch=z9hG4bK-ddce0142;received=85.3.165.96. From: "41215500327" <sip:41215500327@astrad12.switzernet.com>;tag=ea5813074e4c191o0. To: "412255037XX" <sip:412255037XX@astrad12.switzernet.com>;tag=as0c1f0cb3. Call-ID: f27ac4dc-bb2271d5@192.168.1.121. CSeq: 102 INVITE. User-Agent: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY. Supported: replaces. Contact: <sip:412255037XX@91.121.138.5>. Content-Length: 0. |
b- Conclusion
On peut utiliser cette spécification (même contact pour les enregistrements et
les appels sortant) pour mettre à jour le contact dans la BD d'asterisk durant
les appels sortants.
Cette requête de mis à jour généra un enregistrement qui va remonter jusqu'au
le Master, il faut étudier les conséquences de cette action.
http://switzernet.com/3/public/110303-asterisk-nat/
http://switzernet.com/3/public/110421-astrad5-reg-stat/
http://switzernet.com/3/public/110411-astrad-test-case/
http://switzernet.com/3/public/110405-db3/
http://switzernet.com/3/public/110328-astrad-alternative-radius-auth/
http://switzernet.com/3/public/110322-astrad9-lost-registering-study/
http://switzernet.com/3/public/110321-db3-tests/
http://switzernet.com/3/public/110317-db3-versions/
http://switzernet.com/3/public/110317-astrad-no-problem-at-9h/
http://switzernet.com/3/public/110316-db3-setup/
http://switzernet.com/3/public/110316-astrad-triggers/
http://switzernet.com/3/public/110316-astrad-call-tests/
http://switzernet.com/3/public/110315-astrad-triggers-tests/
http://switzernet.com/3/public/110314-astrad-triggers/
http://switzernet.com/3/public/110303-asterisk-nat/
http://switzernet.com/3/public/110302-test-asterisk-mysql/
http://switzernet.com/3/public/110225-radius-invite/
http://switzernet.com/3/public/110126-astrad-versions/