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

2006-06-12 Thread Kai Ober
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/[EMAIL PROTECTED]) in new stack
   -- Called [EMAIL PROTECTED]
   -- 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/[EMAIL PROTECTED]) in new stack
   -- Called [EMAIL PROTECTED]
   -- 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


___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2006-06-12 Thread Kai Ober


got following hint from  c.richter from beronet support team

exten = _8.,1,waitfordigits(4000)
exten = _8.,n,Macro(anrufextern-sip,${EXTEN:1})
exten = _9.,1,waitfordigits(4000)
exten = _9.,n,Macro(anrufextern-analog,${EXTEN:1})



now it gets all digits
___
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users