[asterisk-dev] Overlapped dialling on SIP trunks for outgoing calls

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Apr 28 11:41:08 CDT 2008


On Monday 28 April 2008 02:15, Klaus Darilion wrote:
> Johansson Olle E schrieb:
> > 25 apr 2008 kl. 17.34 skrev Tzafrir Cohen:
> >> On Fri, Apr 25, 2008 at 05:25:33PM +0200, Andreas Brodmann wrote:
> >>> I read the docs before writing here and I used allowoverlap=yes.
> >>>
> >>> What I would like to know from you is wheter this is supported for
> >>> phones only (as the example below shows) or wheter it is supposed
> >>> to work on sip trunks for 'outgoing' calls:
> >>>
> >>> 1) in sip.conf: [general] allowoverlap=yes
> >>> 2) asterisk sends an INVITE to a carrier
> >>> 3) carrier sends 484 back
> >>> 4) asterisk sends congestion msg to phone.
> >>
> >> Can you emulate it in the dialplan?
> >
> > Reading the source, if we get 484 we end up here:
> >
> > Case 484:       /* Address incomplete */
> >                          return AST_CAUSE_INVALID_NUMBER_FORMAT
> >
> > And that's an error returned to the dialplan and the dialplan will
> > have to try again.
>
> Does that mean that Dial() has to be extended ?

I did some work on this a couple weeks ago, to support a slightly different
use of incomplete matching, so I just extended it to support SIP overlap
dialling.  See issue #12351.

-- 
Tilghman



More information about the asterisk-dev mailing list