[Asterisk-Users] Tor2 with em_w (or em) signalling pickup behavior?

John Harragin jharragi at mw.k12.ny.us
Wed Apr 23 11:16:19 MST 2003


Martin,

> Are you saying that your e&m link doesn't send incoming number?

No, * detects the call (Starting simple switch) immediately. After a few
seconds the call goes to s,1 of default. If I dial my extension digits real
quick - before call goes to default it works ok. Likewise, if I wait for
default to begin it dials ok. If I dial casually * attempts to dial the
digits pressed up to the point of going to default s,1 in which case the
call fails (or dials the wrong number if it exists).

> You might try to add
> immediate=yes
> just before

> channel => 25-48

> then the call flow will start from
> default|s|1

I think I tried this - but I will give it another whirl.

> Now did you also try signalling=em ?

Yes.

John




On Wed, 23 Apr 2003, John Harragin wrote:

> Hi,
>
> Can I make e&m wink start lines just wait for digits - instead of going to
> default?
>
> Someone else cleared a similar problem (as described below) on an fxo port
> with "usecallerid => no" but it is not doing the trick for me. In this
case
> the line when straight to default which would be ok also.
>
> John
>
>
> I posted the stuff below about a week ago...
>
> I set up a t1 from my sys75 to asterisk. After much experimentation I got
it
> to work as e&m wink start. If dialing the trunk access code from the sys75
> (a 5 - this is stripped on the s75), asterisk picks up and provides dial
> tone immediately. Here is the problem, after about 3 seconds that line
> switches into s,1 of the default context.
>
> If I dial (5)1234 very fast - before the switch to default, the call works
> fine.
>
>     -- Starting simple switch on 'Zap/37-1'
>     -- Executing Dial("Zap/37-1", "Zap/22|30") in new stack
>     -- Called 22
>     -- Zap/22-1 is ringing
>
> ...or if I dial (5) then wait until after asterisk switches to default and
> then dial 1303, the call also works fine (the previous block of messages
is
> preceded by all the normal default context messages).
>
> If the switch occurs while dialing (5)1234 the string gets truncated and
the
> an invalid extension is dialed and the 'not in service' message plays.
>
>     -- Hungup 'Zap/37-1'
>     -- Starting simple switch on 'Zap/36-1'
>   == Unknown extension '12' in context 'default' requested
>     -- Playing 'ss-noservice'
>
> ...depending on how fast I dial the unknown ext will be '1', '12' or
'123'.
>
> A related thing happens when calling in from fxo - it rings ~2 times
before
> asterisk answers and the call goes into default. Does anyone know how to
> change this behavior and either make it go to default immediately or
> determine the wait time (like eliminate it)?
>
> John
>
>
> --------- zapata.conf ------------------ (snip) ----------------
> signalling = em_w
> context=default
> callerid="Internal Caller EC s75_400" <845-928-2321>
> group=4
> channel => 25-48
>
> -------- extensions.conf -------------- (snip) -----------------
> [s75_400_T1]                    ; How simple can it get??
> ;exten => s,1,Wait(0)            ;I've played around a bunch
> ;exten => s,2,Goto(default,s,2)
> include => default
>
> [default]
> ;;;;;;;;;;;exten => s,1,Wait,0 ;------- tried this
> exten => s,1,Answer
> exten => s,2,DigitTimeout,5
> exten => s,3,ResponseTimeout,10
> exten => s,4,BackGround,please_dial_pcm
> etc.
> exten => 1234,1,Dial,Zap/22|30
>
> -------- zaptel.conf ------------------ (snip) -----------------
> span=1,1,0,esf,b8zs
> span=2,0,0,esf,b8zs
> fxsks=1-8
> fxoks=9-24
> e&m=25-48
>
>
> This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users

This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.


This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.




More information about the asterisk-users mailing list