[Asterisk-Users] ISDN Dialplan

Paulo Adriano pauloadriano at wavelis.pt
Wed Nov 3 11:42:29 MST 2004


Hi ALL 
 
After trying that syntax I still have the same problem, one thing is very strange is the number that Asterisk reports as the incoming. My ESN*s  numbers are    219898334  and  219898335   but on the console I see  219898334,1   and 219898335,1 
Incoming calls are working as you see bellow but on the third example you see what*s appening . Can you give me some ideias were to look, I feel I*m close to solve this but... 
 
THIS IS MY LINE 0   WITH ESN NUMBER 219898334    RECEIVING A NORMAL CALL 
 
== Starting Modem[i4l]/ttyI0 at incoming,219898334,1 failed so falling back to exten 's' 
    -- Executing Answer(Modem[i4l]/ttyI0, ) in new stack 
    -- Executing Dial(Modem[i4l]/ttyI0, SIP/21|10) in new stack 
    -- Called 21 
    -- SIP/21-51ca is ringing 
    -- SIP/21-51ca answered Modem[i4l]/ttyI0 
  == Spawn extension (incoming, s, 2) exited non-zero on 'Modem[i4l]/ttyI0' 
    -- Hungup 'Modem[i4l]/ttyI0' 
linuxpbx*CLI> 
 
THIS IS MY LINE 1 WITH ESN NUMBER  219898335  RECEIVING A NORMAL CALL 
 
  == Starting Modem[i4l]/ttyI0 at incoming,219898335,1 failed so falling back to exten 's' 
    -- Executing Answer(Modem[i4l]/ttyI0, ) in new stack 
    -- Executing Dial(Modem[i4l]/ttyI0, SIP/21|10) in new stack 
    -- Called 21 
    -- SIP/21-0d8e is ringing 
    -- SIP/21-0d8e answered Modem[i4l]/ttyI0 
  == Spawn extension (incoming, s, 2) exited non-zero on 'Modem[i4l]/ttyI0' 
    -- Hungup 'Modem[i4l]/ttyI0' 
 
THIS IS AN OUTGOING CALL TRY TO NUMBER 213570150       MY DIALPLAN REQUIRES 9 to go outside 
 
    -- Executing Dial(SIP/21-68ef, Modem/g1/9213570150||tr) in new stack 
Nov  3 18:32:43 WARNING[1110502320]: chan_modem.c:191 modem_call: Destination g1                    /9213570150 requres a real destination (device:destination) 
    -- Couldn't call g1/9213570150 
    -- Hungup 'Modem[i4l]/ttyI1' 
  == Everyone is busy/congested at this time 
Nov  3 18:32:53 WARNING[1110502320]: pbx.c:1933 ast_pbx_run: Timeout, but no rul                    e 't' in context 'local-access' 
 
OR 
 
*CLI>     -- Executing Dial(SIP/21-9da8, Modem/g1/9213570150||tr) in new stack 
Nov  3 18:37:35 WARNING[1110502320]: chan_modem.c:191 modem_call: Destination g1/9213570150 requres a real destination (device:destination) 
    -- Couldn't call g1/9213570150 
    -- Hungup 'Modem[i4l]/ttyI1' 
  == Everyone is busy/congested at this time 
Nov  3 18:37:45 WARNING[1110502320]: pbx.c:1933 ast_pbx_run: Timeout, but no rule 't' in context 'local-access' 
    -- Saved useragent SJLabs-SJphone/1.30.248 for peer 21 
 
 
Thanks in advance 
 
 
 
 
 
>>>Mark Elkins <mje at posix.co.za> 11/03 1:57 am >>> 
 
On Tue, 2004-11-02 at 20:40 +0000, Paulo Adriano wrote: 
 
>I need some help from you. I´m using Isdn4linux with Asterisk and 
 
>incoming calls are working but anytime I whant to make an outgoing 
 
>call I get this message. 
 
 
All this is in extensions.conf 
 
 
With ISDN4Linux, I defined the variable... 
 
TRUNK=Modem/g1 
 
 
Its used in an outgoing call as.... 
 
exten => _0.,1,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}}||tr) 
 
 
Note the ':' instead of a '/' 
 
This seems to be used for the i4l driver where as the same line using 
 
Digium equipment looks like... 
 
 
exten => _0.,2,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}||tr) 
 
 
 
Changes... 
 
-- Executing Dial(Modem[i4l]/ttyI0, Modem/g1/918708798) in new stack 
 
to... 
 
-- Executing Dial(Modem[i4l]/ttyI0, Modem/g1:918708798) in new stack 
 
 
-- 
 
 .  .     ___. .__      Posix Systems - Sth Africa 
 
/| /|       / /__       mje at posix.co.za  -  Mark J Elkins, Cisco CCIE 
 
/ |/ |ARK \_/ /__ LKINS  Tel: +27 12 807 0590  Cell: +27 82 601 0496 
 
 
 
 
Asterisk-Users mailing list 
 
Asterisk-Users at lists.digium.com 
 
http://lists.digium.com/mailman/listinfo/asterisk-users 
 
To UNSUBSCRIBE or update options visit: 
 
  http://lists.digium.com/mailman/listinfo/asterisk-users 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041103/43ff66d9/attachment.htm


More information about the asterisk-users mailing list