Ok, it actually works fine here..

Asterisk CVS-03/06/04-14:35:21, Copyright (C) 1999-2004 Digium.

****
>From extensions.conf:

[pstn-out-nat]
;
ignorepat => 0

; NOT USED
exten => _0XX0XXXXX,1,Congestion

; Local eight-digit dialing accessed through trunk interface
exten => _0NXXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},20,S(20))
exten => _0NXXXXXXX,2,Congestion

****
>From * console:

    -- Executing Dial("SIP/1000-4d25", "Zap/1/4060xxxx|20|S(30)") in new
stack
    -- Setting call duration limit to 30 seconds.
    -- Called 1/4060xxxx
    -- Zap/1-1 answered SIP/1000-4d25
    -- Hungup 'Zap/1-1'
  == Spawn extension (default, 04060xxxx, 1) exited non-zero on
'SIP/1000-4d25'
       > cdr_odbc: Query Successful!


-- S�ren

"Hans-Henrik Andresen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Thank you, but this I cant get to work.
>
> /HHA
>
> >
> > so that should enable you to do the following:
> >     Call timeout = 20 sec
> >     Max Call Duration = 300 sec = 5 min.
> >
> >     exten =>
> 411,1,Dial(IAX2/[EMAIL PROTECTED]/[EMAIL PROTECTED],20,S(300))
> >
> > however, I have not tried it yet so someone correct me if I am wrong..
>
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to