[Asterisk-Users] Weird behaviour on incoming DIDs
beonice
beonice at yahoo.com
Mon Feb 28 09:46:18 MST 2005
Folks,
I have a problem here. I have 2 DIDs, one a 415 number
and the other a 650 number. I have my extensions.conf
set up to handle both of them exactly the same way,
passing them to an internal context. When _I_ dial
either DID, I get exactly the same behaviour that I
have specified (the call is answered, and then I play
my own welcome mesage, then handle any extension
dialed).
However, when one of my friends dials in, the 415 DID
consistently works as designed, but the 650 DID
sometimes just tells him goodbye, and then hangs up on
him!
I don't know if it matters, but I am calling from the
650 area code and he's calling sometimes from the 415
area code and sometimes from 408. No, there is no
pattern as to which incoming call gets hung-up!
Here are the relevant sections of my extensions.conf:
[incoming_context]
; This is the incoming call/DID context only.
exten => 415xxxxxxx,1,Goto(internal_context,s,1)
exten => 650xxxxxxx,1,Goto(internal_context,s,1)
; munged numbers, obviously
exten => i,1,Background(invalid)
exten => #,1,Background(goodbye)
exten => #,2,Wait(2)
exten => #,3,Hangup
exten => t,1,Background(goodbye)
exten => t,2,Wait(2)
exten => t,3,Hangup
exten => h,1,Hangup
exten => 1000,1,Background(goodbye);
exten => 1000,2,Wait(2);
exten => 1000,3,Hangup
#include <other_extensions.conf>
And, my other_extensions.conf has:
[internal_context]
exten => #,1,Goto(incoming_context,1000,1)
exten => *,1,VoiceMailMain()
exten => *,2,Background(demo-congrats)
exten => h,1,Goto(incoming_context,h,1))
exten => i,1,Background(invalid)
exten => s,1,Answer()
exten => s,2,Background(test-welcome)
exten => t,1,Goto(incoming_context,1000,1)
exten => _[1-9]XX,1,VoiceMail(u${EXTEN})
exten => _[1-9]XX,2,Goto(incoming_context,1000,1)
Also, when this happens, I don't see Asterisk logging
the hung-up call in Master.csv. Other calls seem to be
logged fine.
Can this by any chance be caused by Master.csv getting
too large? If so, how come the same asterisk can still
handle calls coming in on the other DID with no
problems?
Thanks,
Maya
~
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the asterisk-users
mailing list