Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: channels/chan_sip.c
- ===================================================================
- --- channels/chan_sip.c (revision 301304)
- +++ channels/chan_sip.c (working copy)
- @@ -16967,6 +16967,18 @@
- ast_queue_control(p->owner, AST_CONTROL_VIDUPDATE);
- transmit_response(p, "200 OK", req);
- return;
- + } else if (!strcasecmp(c, "application/text")) {
- + /* Hack for the vpad */
- + if (p->owner)
- + {
- + get_msg_text(buf, sizeof(buf), req, TRUE);
- + if(strstr(buf,"picture_fast_update"))
- + {
- + ast_queue_control(p->owner, AST_CONTROL_VIDUPDATE);
- + transmit_response(p, "200 OK", req);
- + return;
- + }
- + }
Add Comment
Please, Sign In to add comment