A small bug fixed regarding iax_send_text().
git-svn-id: http://yate.null.ro/svn/yate/trunk@35 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
200cd7d939
commit
e3b86d2551
|
@ -1110,7 +1110,7 @@ int iax_send_url(struct iax_session *session, char *url, int link)
|
|||
|
||||
int iax_send_text(struct iax_session *session, char *text)
|
||||
{
|
||||
return send_command(session, AST_FRAME_TEXT, 0, 0, text, strlen(text), -1);
|
||||
return send_command(session, AST_FRAME_TEXT, 0, 0, text, strlen(text) + 1, -1);
|
||||
}
|
||||
|
||||
int iax_send_unlink(struct iax_session *session)
|
||||
|
|
Loading…
Reference in New Issue