Edwin, In your outbound context, you need to have the dialplan evaluate the hangupcause variable and send an appropriate message to your callers.
Check out the following URL for some samples that you may adapt for your circumstance. http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause If you need more specific assistance, let me know. Sincerely, Trevor Hammonds -----Original Message----- From: Edwin Lam Sent: Tuesday, June 08, 2010 4:11 PM Subject: [asterisk-users] early media issue from phone co. hi folks. i have the following puzzle: when i call certain cell phone# using a regular phone & POTS. the called cell phone co. usually return a message such as phone travel out of range or phone is busy etc. if the phone is unreachable. now when i have the following setup: sip phone -> asterisk -> PRI -> phone co. i call the same cell# and if it's unavailable. the PRI return cause code 31 and hangup, asterisk will then send a SIP BYE to the sip phone and the channel will simply hangup. how do i get the message on the sip phone? -- Edwin Lam <[email protected]> Systems Engineer, Office General, Inc. Ph: +1 415 439 4988 Fax: +1 415 283 3370 http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20 -- _____________________________________________________________________ -- 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
