[Asterisk-Users] problem dialing out thru sip - using isdn on internal

Kai Ober kast.asterisk at gmx.de
Mon Jun 12 08:01:30 MST 2006


hi, 
i've a wirded problem, i try to dial out, using this dialplan

[default]
exten => _*7.,1,Macro(anrufextern-sip,${EXTEN:2})

[macro-anrufextern-sip]
exten => s,1,SetCallerID(SIP-ID)
exten => s,n,Dial(SIP/${ARG1}sip-out)
exten => s,n,Hangup()

when i use my analog telephone, everything is okay:

- Starting simple switch on 'Zap/3-1'
    -- Executing Macro("Zap/3-1", "anrufextern-sip|9199125") in new stack
    -- Executing SetCallerID("Zap/3-1", "SIP-ID") in new stack
    -- Executing Dial("Zap/3-1", "SIP/9199125 at sip-out") in new stack
    -- Called 9199125 at sip-out
    -- SIP/sip-out-0fe9 is ringing
    -- SIP/sip-out-0fe9 is ringing
  == Spawn extension (macro-anrufextern-sip, s, 2) exited non-zero on 
'Zap/3-1' in macro 'anrufextern-sip'
  == Spawn extension (macro-anrufextern-sip, s, 2) exited non-zero on 
'Zap/3-1'
    -- Hungup 'Zap/3-1'

but when i dial from my isdn phone, it dials as soon as it gets the 
first digit of the phone number
and does not wait for the 199125

    -- Executing Macro("mISDN/2-u12", "anrufextern-sip|9") in new stack
    -- Executing SetCallerID("mISDN/2-u12", "SIP-ID") in new stack
    -- Executing Dial("mISDN/2-u12", "SIP/9 at sip-out") in new stack
    -- Called 9 at sip-out
    -- SIP/sip-out-5d40 is circuit-busy


any ideas?
are there any switches in the misdn.conf providing this?

using :
misdn 0.3.1-rc11
asterisk 1.2.7





More information about the asterisk-users mailing list