mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
More PRI/SIP gateway stuff
**ATTENTION** you will need to libs/jrtplib/.complete ; make installall to get it to compile on existing builds as the jrtplib required changes. Added teletone DTMF to mod_wanpipe and rfc2933 DTMF to mod_exosip Added temporary poor man's daemon freeswitch -nc > /var/log/freeswitch.log then it will await a HUP git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@659 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -156,6 +156,11 @@ extern "C" {
|
||||
return jrtp4c->session->SendPacket(data, datalen, jrtp4c->payload, false, ts);
|
||||
}
|
||||
|
||||
int jrtp4c_write_payload(struct jrtp4c *jrtp4c, void *data, int datalen, int payload, uint32_t ts, uint32_t mseq)
|
||||
{
|
||||
return jrtp4c->session->SendPacket(data, datalen, payload, false, ts, mseq);
|
||||
}
|
||||
|
||||
uint32_t jrtp4c_start(struct jrtp4c *jrtp4c)
|
||||
{
|
||||
//jrtp4c->session->BeginDataAccess();
|
||||
|
@@ -51,6 +51,7 @@ extern "C" {
|
||||
void jrtp4c_destroy(struct jrtp4c **jrtp4c);
|
||||
int jrtp4c_read(struct jrtp4c *jrtp4c, void *data, int datalen, int *payload_type);
|
||||
int jrtp4c_write(struct jrtp4c *jrtp4c, void *data, int datalen, uint32_t ts);
|
||||
int jrtp4c_write_payload(struct jrtp4c *jrtp4c, void *data, int datalen, int payload, uint32_t ts, uint32_t mseq);
|
||||
uint32_t jrtp4c_start(struct jrtp4c *jrtp4c);
|
||||
uint32_t jrtp4c_get_ssrc(struct jrtp4c *jrtp4c);
|
||||
void jrtp4c_killread(struct jrtp4c *jrtp4c);
|
||||
|
Reference in New Issue
Block a user