Hi all: I want to modify Dialplan or chan_sip.c to let asterisk server send some abnormity messages to test mobile
such as: 3xx 302 Moved Temporarily Temporary redirect 4xx 400 Bad Request Indicates request error 401 Unauthorized Indicates that authentication information is required. This specification defines the DIGEST authentication mechanism that only supports HTTP. 403 Forbidden Refuses to fulfill the request 404 Not Found Indicates that the domain specified in the Request-URI can not be found 405 Method Not Allowed Indicates that the request method is not allowed 415 Unsupported Media Type Indicates that the requested message body coding, format, compression and format are incorrect 420 Bad Extension Indicates that the request message carries extension not supported by wPDIF WAG 481 Call/Transaction Does Not Exist Indicates that the dialog or transaction of the request message does not exist. 489 Bad Event Indicates undefined event type 494 Security Agreement Required Indicates that security negotiation is required 5xx 500 Server Internal Error Indicates that wPDIF WAG can not complete this request due to its own error 503 Service Unavailable Service unavailable 504 Server Time-out Indicates that WAG does not receive a timely response from CN and thus leads to time-out And then observer the test mobile's action, but no matter I how to modify the dailplan with extensions.conf , the asterisk reject message is always 603 Deline. I do not know whether I meet the same problem with : http://threebit.net/mail-archive/asterisk-users/msg12533.html Could anyone tell me how to do it? Thanks. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users