[asterisk-users] Phantom Calls
Rob Schall
rschall at callone.net
Mon Jun 18 14:28:55 CDT 2007
We were having phantom calls as well. In our case, we had 2 pots line
running in our sangoma card, and when you dial out, would would wait for
whomever to pickup. If you gave up waiting an hung the phone up (we also
had 2 normal phones plugged into fxs ports), it wouldn't immediately
receive the hangup signal. The call would connect, then asterisk would
turn around and try to call us back. If the other side hungup because
they just heard dead error, then when you'd repickup your call, it would
also be dead air.
Not sure if this is the same case as yours, but ours was odd as well.
Rob
Lee Jenkins wrote:
> Stephen Bosch wrote:
>
>> Lee Jenkins wrote:
>>
>>> I have a client that is having problems with phantom calls. I have not
>>> been able to see it happen myself, but they say when it happens, the
>>> display on the phone (polycom 301's) says "Device" is calling, but when
>>> they answer the phone, there is only silence and then they hang back up
>>> and it sometimes rings again.
>>>
>>> I've been trying to track this down for a couple of weeks now with no
>>> success yet. If anyone can lend a suggestion or a pointer to look for,
>>> I would greatly appreciate it.
>>>
>>> I've tried using WaitForRing() in case it is bad signaling coming from
>>> the phone company. But that has not helped.
>>>
>> I highly doubt this is the cause. I suspect a dialplan error.
>>
>> Ask your client if they are doing anything else when this happens, like
>> making a fax call ;)
>>
>>
>>> This setup has:
>>>
>>> Asterisk 1.2.17
>>> Zaptel (whatever was distributed same time as Asterisk 1.2.17)
>>> CentOS 4.4
>>> Polycom 301's throughout
>>> Sangoma A200 with 2 ports connected to PSTN.
>>>
>>> Thanks for any help.
>>>
>> We kinda need to see your dialplan to provide any useful help.
>>
>> -Stephen-
>>
>>
>
> Thanks for responding, Stephen.
>
> The client has a fax line, but it is separate line from the Asterisk
> box. They have 3 lines coming in. 1 goes directly to fax machine and 2
> go to Asterisk box.
>
> I've searched the archives and "phantom ringing" comes up a few times
> without any real resolutions that I can see.
>
> The only thing very different about this installation is that the
> customer has no intermediate IVR. They want the phones to ring directly
> to a group and if no answer, then go to a mini IVR that asks if they
> would like to hold longer or leave a message.
>
> The "device" calling on CallerID when this happens is the default
> CallerID set in sip.conf Device <callernum> which was never changed.
> That was changed to a correct value. It appears as though the system is
> calling itself.
>
>
> extensions.conf:
>
> [incoming]
> exten=>s,1,WaitForRing(5)
> exten=>s,n,Answer()
> exten=>s,n,Ringing()
> exten=>s,n,SetMusicOnHold(default)
> exten=>s,n,Wait(1)
> exten=>s,n,Goto(check_time,s,1)
>
> [check_time]
> exten=>s,1,Answer()
> exten=>s,2,GotoIfTime(08:30-17:00,mon-fri,*,*,?daytime,s,1)
> exten=>s,3,Goto(after_hours,s,1)
>
> [daytime]
> exten=>s,1,Answer()
> exten=>s,2,Set(TIMEOUT(response)=1)
> exten=>s,3,Dial(${GRP_All},20,tr)
> exten=>s,4,Background(custom/no-answer)
> exten=>1,1,Set(loops=0)
> exten=>1,2,Wait(0.5)
> exten=>1,3,Goto(ring-all-with-moh,s,1)
> exten=>2,1,Voicemail(b116)
> exten=>2,2,Hangup()
> exten=>5,1,Voicemail(b116)
> exten=>5,2,Hangup()
> exten=>555,1,VoicemailMain()
> exten=>i,1,Background(invalid)
> exten=>i,2,Goto(ring-all-with-moh,s,1)
> exten=>t,1,Set(loops=0)
> exten=>t,2,Wait(0.5)
> exten=>t,3,Goto(ring-all-with-moh,s,1)
>
> [ring-all-with-moh]
> exten=>s,1,Answer()
> exten=>s,2,Noop(Loops are: ${loops})
> exten=>s,3,Macro(DialExtenNoVM,116|60|tm)
> exten=>s,4,Set(loops=$[${loops}+1])
> exten=>s,5,GotoIf($["${loops}" >= "2" ]?timeout-from-loop,s,1)
> exten=>s,6,Background(custom/no-answer)
> exten=>1,1,Goto(ring-all-with-moh,s,1)
> exten=>2,1,Voicemail(b116)
> exten=>2,2,Hangup()
> exten=>i,1,Playback(invalid)
> exten=>i,2,Goto(ring-all-with-moh,s,1)
> exten=>t,1,Goto(ring-all-with-moh,s,1)
>
>
> sip.conf:
>
> [general]
>
> allowexternalinvites=yes
> allowguest=no
> autocreatepeer=no
> autodomain=no
> bindaddr=0.0.0.0
> callerid=device <callernum>
> canreinvite=no
> checkmwi=30
> compactheaders=no
> context=incoming
> defaultexpirey=120
> dtmfmode=rfc2833
> dumphistory=no
> externrefresh=30
> ignoreregexpire=no
> insecure=no
> maxexpirey=3600
> musicclass=default
> nat=no
> notifyringing=yes
> pedantic=no
> progressinband=never
> promiscredir=no
> qualify=no
> recordhistory=no
> registerattempts=30
> registertimeout=30
> relaxdtmf=no
> rtautoclear=no
> rtcachefriends=no
> rtpholdtimeout=600
> rtpkeepalive=0
> rtptimeout=3600
> rtupdate=yes
> sendrpid=no
> sipdebug=no
> srvlookup=no
> tos=none
> trustrpid=no
> useclientcode=no
> usereqphone=no
> callevents=no
>
> disallow=all
> allow=ulaw
>
> [116]
> context=super-user
> type=friend
> canreinvite=no
> dtmfmode=rfc2833
> callerid=Barbara <116>
> nat=no
> port=5060
> qualify=no
> secret=xxx
> host=dynamic
> mailbox=116 at default
> disallow=all
> allow=ulaw
>
> [117]
> context=super-user
> type=friend
> canreinvite=no
> dtmfmode=rfc2833
> callerid=Bill <117>
> nat=no
> port=5060
> qualify=no
> secret=xxx
> host=dynamic
> mailbox=117 at default
> disallow=all
> allow=ulaw
>
> [115]
> context=super-user
> type=friend
> canreinvite=no
> dtmfmode=rfc2833
> callerid=George <115>
> nat=no
> port=5060
> qualify=no
> secret=xxx
> host=dynamic
> mailbox=115 at default
> disallow=all
> allow=ulaw
>
> [114]
> context=super-user
> type=friend
> canreinvite=no
> dtmfmode=rfc2833
> callerid=Jack <114>
> nat=no
> port=5060
> qualify=no
> secret=xxx
> host=dynamic
> mailbox=114 at default
> disallow=all
> allow=ulaw
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070618/458f6b5f/attachment.htm
More information about the asterisk-users
mailing list