Librairie: spécifique au protocole choisi.
Attributs:
METHOD: par défaut, “DATA”. Lorsque c’est applicable, représente le type de message envoyé (ex REQUEST, REPLY).
Contenu:
Le message à envoyer, incluant si besoin des variables/constantes.
Rôle:
Envoie un message à l’entité distante.
Exemple:
<SEQ>
<RESPONDER>
<RECEIVE>
<MESSAGE>
SIP/2.0 5~$$~
Via: SIP/2.0/UDP ~IP_TULIP~:5060;branch=~(branch)~
From: <sip:~(from)~@~(from_domain)~
To: <sip:~(to)~@~(to_domain)~
Call-ID: ~(CALL_ID)~
CSeq: ~(cseq)~ ~$$~
</MESSAGE>
<MATCH>
<SEND>
ACK sip:~to~@~IP_MGC~:5060 SIP/2.0
Via: SIP/2.0/UDP ~IP_TULIP~:5060;branch=~branch~
From: <sip:~from~@~from_domain~
To: <sip:~to~@~to_domain~
Call-ID: ~CALL_ID~
CSeq: ~cseq~ ACK
Content-Length: 0
</SEND>
</MATCH>
</RECEIVE>
</RESPONDER>
</SEQ>
Résultat:
Dans le cas ci-dessous, SEND est appelé depuis un séquentiel répondeur. Si une erreur SIP 5xx est reçue, un message ACK est envoyé.