Kai Ober
2006-Jun-12 08:01 UTC
[Asterisk-Users] problem dialing out thru sip - using isdn on internal
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@sip-out") in new stack -- Called 9199125@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@sip-out") in new stack -- Called 9@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
Kai Ober
2006-Jun-12 09:31 UTC
[Asterisk-Users] problem dialing out thru sip - using isdn on internal
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