[Asterisk-Users] SIP extension calls itself intermittently

Lists Pleasants lists at pleasants.net
Fri Nov 4 18:59:17 MST 2005


Intermittently I'll get calls from my only SIP extension to itself via
the Zap/1. I have no clue and have found nothing online. I have listed
my configurations and a sample of the console messages I see why
debugging. Right now it only happens to the 6000 extension.  Any
assistance is appreciated.

 

Thanks,

Chip

 

 

 

    -- Starting simple switch on 'Zap/1-1'

Nov  4 14:00:54 WARNING[4156]: chan_zap.c:5476 ss_thread: CallerID
returned with error on channel 'Zap/1-1'

    -- Executing Wait("Zap/1-1", "2") in new stack

    -- Executing Answer("Zap/1-1", "") in new stack

    -- Executing Dial("Zap/1-1", "SIP/6000|20") in new stack

    -- Called 6000

    -- SIP/6000-3d34 is ringing

  == Spawn extension (from-pstn, s, 3) exited non-zero on 'Zap/1-1'

    -- Executing Hangup("Zap/1-1", "") in new stack

  == Spawn extension (from-pstn, h, 1) exited non-zero on 'Zap/1-1'

    -- Hungup 'Zap/1-1'

bart*CLI>

 

 

 

 

extentions.conf

[general]

static=yes

writeprotect=no

[globals]

 

[default]

 

exten => _.,1,Dial(IAX2/chip:xxxxxx at 172.16.96.247/${EXTEN})

exten => _.,2,Hangup

exten => _.,3,Congestion

 

exten => i,1,Hangup

exten => t,1,Hangup

exten => h,1,Hangup

 

exten => 5000,1,Answer

exten => 5000,2,Dial(SIP/4389,20)

exten => 5000,3,Voicemail(u4389)

exten => 5000,4,Hangup

 

exten => 9000,1,Answer

exten => 9000,2,VoiceMailMain(s${CALLERIDNUM})

exten => 9000,3,Hangup

 

[to-pstn]

exten => _.,1,Dial(Zap/1/${EXTEN})

exten => _.,2,Hangup

exten => _.,3,Congestion

 

exten => i,1,Hangup

exten => t,1,Hangup

exten => h,1,Hangup

 

[local]

exten => 6000,1,Answer

exten => 6000,2,Dial(SIP/6000,20)

exten => 6000,3,Hangup

 

exten => 6001,1,Answer

exten => 6001,2,Dial(SIP/6001,30)

exten => 6001,3,Hangup

 

exten => 9000,1,Answer

exten => 9000,2,VoiceMailMain(s${CALLERIDNUM})

exten => 9000,3,Hangup

 

exten => i,1,Hangup

exten => t,1,Hangup

exten => h,1,Hangup

 

[from-pstn]

exten => s,1,Wait(2)

exten => s,2,Answer

exten => s,3,Dial(SIP/6000,20)

exten => s,4,Voicemail(u6000)

exten => s,5,Congestion

exten => s,6,Hangup

 

exten => i,1,Hangup

exten => t,1,Hangup

exten => h,1,Hangup

 

[internal]

include => local

include => to-pstn

 

exten => i,1,Hangup

exten => t,1,Hangup

exten => h,1,Hangup

 

 

 

sip.conf

 

[general]

context=default

port=5060

bindaddr=0.0.0.0

srvlookup=yes

 

[4389]

type=friend

username=4389

secret=4389

host=dynamic

callerid="Chip xxxxx" <4389> 

nat=no                       

disallow=all

allow=gsm

allow=ulaw

allow=alaw

mailbox=4389 at default

 

[6000]

type=friend

username=6000

secret=6000

host=dynamic

callerid="xxxxx" <6000>

nat=no

disallow=all

allow=ulaw

allow=alaw

context=internal

mailbox=6000 at internal

canreinvite=no 

 

[6001]

type=friend

username=6001

secret=6001

host=dynamic

callerid="xxxxxxx" <6001>

nat=no

disallow=all

allow=gsm

allow=ulaw

allow=alaw

context=internal

mailbox=6001 at internal

 

zaptel.conf

 

[channels]

language=en

context=from-pstn

switchtype=national

busydetect=yes

busycount=4

callprogress=yes

signalling=fxs_ks

rxwink=300

usecallerid=yes

cidsignalling=bell

cidstart=ring

hidecallerid=no

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=yes

echotraining=yes

echotraining=400

rxgain=0.0

txgain=0.0

group=1

callgroup=1

pickupgroup=1

immediate=no

callerid="name" <(xxx) xxx-xxxx>

busydetect=yes

busycount=4

callprogress=yes

channel => 1

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051104/710b2588/attachment.htm


More information about the asterisk-users mailing list