[Asterisk-Users] Re: Re: 7960 straight through?

Randy Bush randy at psg.com
Fri Jun 18 15:02:34 MST 2004


i guess i am not being sufficiently clear.

the sipura seems to act one way and the cisco another.  the
sipura, x141, is happily served by

    [in-206-sipura]
    exten => s,1,SetVar(areacode=206)
    exten => 141,1,GoTo(in-int,s,1)

    [in-int]
    exten => s,1,Answer
    exten => s,2,DigitTimeout,5
    exten => s,3,ResponseTimeout,10
    exten => s,4,PlayTones(dial)
    exten => _001,1,SetVar(mailbox=001)
    exten => _001,2,Macro(fwd-call,${EXTEN})
    exten => _002,1,SetVar(mailbox=002)
    exten => _002,2,Macro(fwd-call,${EXTEN})

i.e. it sends one invite with its own extension and a second
with the dialed extension.

but the cisco requires

    [in-206-cisco]
    exten => s,1,Answer
    exten => s,2,DigitTimeout,5
    exten => s,3,ResponseTimeout,10
    exten => s,4,PlayTones(dial)
    exten => s,5,SetVar(areacode=206)
    exten => _001,1,SetVar(mailbox=001)
    exten => _001,2,Macro(fwd-call,${EXTEN})
    exten => _002,1,SetVar(mailbox=002)
    exten => _002,2,Macro(fwd-call,${EXTEN})

which does not work with the sipura.

either is fine with me.  both are not because they require
maintaining a per-extension device-dependent mess in my
sip.conf and two configs in extensions.conf.

randy




More information about the asterisk-users mailing list