[Asterisk-Users] isdn config

Stefano Finetti ssfinetti at lynxautomotive.it
Mon Apr 7 07:54:57 MST 2003


>
> 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




More information about the asterisk-users mailing list