[Asterisk-Users] iconnecthere 480 error: is there a workaround?
Luke Howard
lukeh at PADL.COM
Sun Mar 23 01:21:54 MST 2003
FWIW here's the patch I'm using to ignore 480s:
lukeh at off/monk[16]% cvs diff -u channels/chan_sip.c
Index: channels/chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.5
diff -u -r1.5 chan_sip.c
--- channels/chan_sip.c 21 Mar 2003 07:21:28 -0000 1.5
+++ channels/chan_sip.c 23 Mar 2003 08:28:14 -0000
@@ -3258,6 +3258,12 @@
p = NULL;
*/
break;
+#if 1
+ case 480:
+ /* send ACK */
+ transmit_request(p, "ACK", 0);
+ break;
+#endif
default:
if ((resp >= 400) && (resp < 700)) {
if (option_verbose > 2)
-- Luke
--
Luke Howard | PADL Software Pty Ltd | www.padl.com
More information about the asterisk-users
mailing list