bluepuma@gmx.net
2004-Jul-15 09:38 UTC
[Asterisk-Users] Using SIP phone to dial out using ISDN ?
Hi, I finally got Asterisk installed using the German installation CD from http://www.asterisk.de.ms. I got two SIP phones working (SIPPS) asterisk*CLI> sip show inuse Username incoming Limit outgoing Limit 5678 0 N/A 0 N/A 1234 0 N/A 0 N/A asterisk*CLI> sip show peers Name/username Host Mask Port Status 5678/5678 10.0.0.53 (D) 255.255.255.255 5060 Unmonitored 1234/1234 10.0.0.199 (D) 255.255.255.255 5060 Unmonitored and the ISDN card seems to be installed correctly asterisk*CLI> capi info Contr1: 2 B channels total, 2 B channels free. To make the setup complete: how do I use the SIP phones to dial out through the ISDN card? Where and how do I configure that? Hopefully the other way around (ISDN to SIP) is similar and then self-explanatory. cheers, Mike (who spend around 20 hours browsing through Asterisk documentation and www.voip-info.org during the last 2 days)
Holger Schurig
2004-Jul-16 00:33 UTC
[Asterisk-Users] Using SIP phone to dial out using ISDN ?
> To make the setup complete: how do I use the SIP phones to dial out > through the ISDN card? Where and how do I configure that?You could use DeStar (http://www.holgerschurig.de/destar.html) to generate a config for you. Simply add a "ISDN Capi Line" and give it the extension 0. Currently DeStar is getting full support for contexts (yeah, I used only "default" when I made my tests ...), but it is not yet there. So you have to put change in the generated configuration this: file /etc/asterisk/extensions.conf from: [out-national] ; National calls ignorepat=0 ... to: [out-national] ; National calls ignorepat=0 include=out-pstn ... I'll write today or this weekend the code to make this (and other wonderful things :-) working out-of-the-box. So, enought of the commercial: you can also use this line: exten=_0.,1,Dial(CAPI/112233:${EXTEN:1},60,TR) in your dialplan. The 112233 is the your MSN.