[Asterisk-bsd] can not dial

micko micko at micko.net
Sun Apr 3 09:04:33 CDT 2005


I am trying to make a call but asterisk never takes the line off-hook.
Any ideas?

master*CLI> sip show peers
Name/username    Host            Dyn Nat ACL Mask             Port     Status
1001/1001        192.168.1.200    D          255.255.255.255  5060     OK (61 ms)
master*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            pstn-inbound    en         default
      1            pstn-inbound    en         default
    -- Executing Dial("SIP/1001-550a", "Zap/g1/NNNXXXXXXX") in new stack
    -- Called g1/NNNXXXXXXX
master*CLI> zap show channels
   Chan Extension  Context         Language   MusicOnHold
 pseudo            pstn-inbound    en         default
      1            pstn-inbound    en         default
master*CLI> zap show channel 1
Channel: 1>
File Descriptor: 13
Span: 1
Extension:
Dialing: no
Context: pstn-inbound
Caller ID string:
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Owner: Zap/1-1
Real: Zap/1-1
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently ON
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Actual Hookstate: Onhook

    -- Hungup 'Zap/1-1'
  == Spawn extension (internal, 9NNNXXXXXXX, 1) exited non-zero on 'SIP/1001-3d72'

master*CLI> zap show channel 1
Channel: 1>
File Descriptor: 13
Span: 1
Extension:
Dialing: no
Context: pstn-inbound
Caller ID string:
Destroy: 0
InAlarm: 0
Signalling Type: FXS Kewlstart
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1>
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: ulaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps, currently OFF
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
Actual Hookstate: Onhook



[copy of config]

extensions.conf:
TRUNK=Zap/g1
TRUNKMSD=1
[trunk-local]
exten => _9954NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _9954NXXXXXX,2,Congestion
[internal]
include => allaccess
include => local-exten
include => voicemail
[allaccess]
ignorepat => 9
include => trunk-international
include => trunk-longdistance
include => trunk-local
include => trunk-tollfree
include => parkedcalls

zapata.conf:

; incoming
group           = 1
callgroup       = 1
pickupgroup     = 1
signalling      = fxs_ks
context         = pstn-inbound
callerid        = asreceived
callprogress    = yes
progzone        = us
channel         => 1

sip.conf:
[1001]
type            = friend
username        = 1001
;secret         = 1001
qualify         = 200
nat             = no
host            = dynamic
canreinvite     = no
defaultip       = 192.168.1.200
dtmfmode        = rfc2833
callerid        = "Micko" <1001>
mailbox         = 1001 at default


More information about the Asterisk-BSD mailing list