SIP wrote:
> Tilghman Lesher wrote:
>> On Friday 26 October 2007 16:13:11 Douglas Garstang wrote:

>>> I was asking how I could get the
>>> SIP response code from the dial plan.
>>>     
>> You cannot.  And you shouldn't have to.  The dialplan should be generic
>> to all protocols, not customized to SIP.

That's the reasoning someone always comes up with.
Me too. :)
And it's true for probably 90 % of the people who are asking
for SIP response codes to be available in the dialplan.

> I disagree that is SHOULDN'T be available. We should have the option to 
> test for a SIP error return code of a specific type if we want. It can 
> make the logic for SIP calls considerably nicer -- especially in a 
> complex AGI.
> 
> Generally, I've found that dialplans should NOT be generic. They should 
> be customised to your particular environment. If your environment is 
> SIP, then the customisation should be available.

I agree. Dialplans should be as generic as possible but if you
need/want to customize any of the default behavior and if know
what you're doing Asterisk shouldn't stop you.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
    Let's use IT to solve problems and not to create new ones.
          Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to