On 5/2/07, Yuan LIU <[EMAIL PROTECTED]> wrote:
>From: "Kristian Kielhofner" <[EMAIL PROTECTED]>
>Date: Wed, 2 May 2007 11:55:06 -0400
>
>On 5/2/07, Jean-Marc Salsa <[EMAIL PROTECTED]> wrote:
>>Hi,
>>
>>I would like to return different values/cause to another SIP Server with
>>Hangup cmd.
>>I tried to put different values in Hangup(xx) ...
>>but it always returns the same value !
>>
>>How can I send back different error cause ?
>>
>>Thanks,
>>
>>Jean-Marc
>
>I'm actually interested in something like this too...
>
>What I'd like is a way to indicate different SIP "errors" manually
>(4xx, 5xx, 6xx) something like the OP:

Obviously Hangup doesn't have this - from a feature stand point, Hangup
being a channel agnostic application, introducing an "error code" may not be
desirable.  I can think of one workaround in channels that support SendText:
use SendText before Hangup.  Today, you'd have to use AGI to ReceiveText,
but it's a more manageable pain.  However, how to invoke this AGI from the
origination side can be very challenging.  I can't think of a way right now.

Yuan Liu


Yuan,

 I know and the goal aof any new feature is to be channel agnostic.
Obviously SIP response codes are VERY SIP specific.  Maybe there is
another way to do it - specify a response label perhaps.  One could
then define this label in sip.conf, iax.conf, zapata.conf, etc to make
it do what it should do for that channel.  That would be cool.


--
Kristian Kielhofner
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to