hi guys, sorry to say, but with isdn4linux you cannot determine on which card the call is going out, because the ttyIs are not mapped to any specific card. the call will go out of the first free card. regards kapejod -- Klaus-Peter Junghanns CEO,CTO Junghanns.NET Internet-Services & Software-Development GmbH Breite Strasse 13 - 12167 Berlin - Germany fon: +49 30 79705392 fax: +49 30 79705391 mobile: +49 160 7503372 email: kpj@junghanns.net Am Mon, 2003-04-07 um 16.54 schrieb Stefano Finetti:> > > > i have asterisk with 2 internal isdn cards - handled by isdn4linux and i > > need to setup whol system like this > > route some call beggins with 0 or 00 - long distance through first card, > > route calls to mobile network via second card ( tehere is isdn gsm > > gateway connected).how i can do this using only isdn4linux (/dev/ttyi) ? > > > You can define two different groups in modem.conf, and then, in > extensions.conf, > > do the real call routing, like this example: > > exten => _0N.,1,Dial,Modem/g1:${EXTEN}|r > [...] > > exten => _00N.,1,Dial,Modem/g2:${EXTEN}|r > > Hope it helps > > -- > Stefano > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
Hello, i have asterisk with 2 internal isdn cards - handled by isdn4linux and i need to setup whol system like this route some call beggins with 0 or 00 - long distance through first card, route calls to mobile network via second card ( tehere is isdn gsm gateway connected).how i can do this using only isdn4linux (/dev/ttyi) ? regards Marian -- SUNTEQ s. r. o. Bojnicka cesta 35 # Prievidza # 971 04 # Slovak republic Tel: +421-46-5430 754 # Fax: +421-46-5439 144 http://www.sunteq.sk/ ------------------------------------------------------------ A mind is like a parachute... it only works when it's open.
> > i have asterisk with 2 internal isdn cards - handled by isdn4linux and i > need to setup whol system like this > route some call beggins with 0 or 00 - long distance through first card, > route calls to mobile network via second card ( tehere is isdn gsm > gateway connected).how i can do this using only isdn4linux (/dev/ttyi) ?You can define two different groups in modem.conf, and then, in extensions.conf, do the real call routing, like this example: exten => _0N.,1,Dial,Modem/g1:${EXTEN}|r [...] exten => _00N.,1,Dial,Modem/g2:${EXTEN}|r Hope it helps -- Stefano
On Mon, 07 Apr 2003 around 16:11:50 +0200, Klaus-Peter Junghanns wrote:> hi guys, > > sorry to say, but with isdn4linux you cannot determine on which > card the call is going out, because the ttyIs are not mapped to > any specific card. the call will go out of the first free card.That is not entirly true. See the isdnctrl mapping command. It allows one to bind specific MSNs to a specific card. However if both cards have service the same MSNs, it wont work. See 10.5 and 10.6 of the isdn4linux faq. (http://www.isdn4linux.de/faq/i4lfaq-10.html) Hmm, i really had to search hard in my memory banks to dig this one up, maybe its time for an upgrade :) Met vriendelijke groet, Pauline Middelink -- GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA BD3B 9A50 B416 E2D0 C3C2 For more details look at my website http://www.polyware.nl/~middelink -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2107 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20030407/5586c6fe/smime.bin