|
HOME
SIP/media Features
High Performance SIP
Small Footprint SIP
Symbian Port
FAQ
Documentation
Licensing
Download
Development (Trac)
Projects using pjsip
Mailing List
Open Source Links
About: PJLIB, PJLIB-UTIL, PJSIP, and PJMEDIA are created by: Benny Prijono <bennylp pjsip.org>
|
|
|
Home --> Documentations --> PJNATH Reference
Detailed Description
STUN client transaction callback.
Field Documentation
This callback is called when the STUN transaction completed.
- Parameters:
-
| tsx | The STUN transaction. |
| status | Status of the transaction. Status PJ_SUCCESS means that the request has received a successful response. |
| response | The STUN response, which value may be NULL if status is not PJ_SUCCESS. |
| src_addr | The source address of the response, if response is not NULL. |
| src_addr_len | The length of the source address. |
This callback is called by the STUN transaction when it wants to send outgoing message.
- Parameters:
-
| tsx | The STUN transaction instance. |
| stun_pkt | The STUN packet to be sent. |
| pkt_size | Size of the STUN packet. |
- Returns:
- If return value of the callback is not PJ_SUCCESS, the transaction will fail. Application MUST return PJNATH_ESTUNDESTROYED if it has destroyed the transaction in this callback.
The documentation for this struct was generated from the following file:
|
PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.
|
|