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.
-- Executing Answer(Modem[i4l]/ttyI0, ) in new stack
-- Executing Dial(Modem[i4l]/ttyI0, SIP/21|10) in new stack
-- Called 21
-- SIP/21-aded is ringing
-- Nobody picked up in 10000 ms
-- Executing Dial(Modem[i4l]/ttyI0, Modem/g1/918708798) in new stack
Nov 2 20:00:39 WARNING[1110502320]: chan_modem.c:191 modem_call:
Destination g1/918708798 requres a real destination (device:destination)
-- Couldn't call g1/918708798
-- Hungup 'Modem[i4l]/ttyI1'
== Everyone is busy/congested at this time
-- Hungup 'Modem[i4l]/ttyI0'
This is the message for the calls out to the pstn
-- Executing Dial(SIP/21-d99a, Modem/g1:213570150) in new stack
-- Called g1:213570150
-- Modem[i4l]/ttyI1 is busy
-- Hungup 'Modem[i4l]/ttyI1'
== Everyone is busy/congested at this time
Nov 2 20:35:56 WARNING[1110502320]: pbx.c:1933 ast_pbx_run: Timeout,
but no rule 't' in context 'local-access'
Well if you have some time give some clues on how to solve this issue.
Regards
Paulo Adriano
Francisco Paulo Adriano
WaveLIS LDA
Mobile +351 91 870 87 98
Office + 351 21 989 83 34
Fax +351 21 989 83 35
E-mail : pauloadriano@wavelis.pt
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20041102/db7a38f9/attachment.htm
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@posix.co.za - Mark J Elkins, Cisco CCIE / |/ |ARK \_/ /__ LKINS Tel: +27 12 807 0590 Cell: +27 82 601 0496
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@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@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@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
Hi All, Let me also add my very simple dialplan. Thanks CLI> show dialplan [ Context 'toll-access' created by 'pbx_config' ] Include => 'local-access' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041103/73353eee/attachment.htm
It*s solved now. You are right it was a matter of formating the outgoing number. Thanks Paulo>>>psvasterisk@psv.nu 11/03 1:34 pm >>>On Wed, 3 Nov 2004, Paulo Adriano wrote:>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,1Are you sure it is not trying to tell you extension 219898334 and priority 1 in the dialplan? [snip}>THIS IS AN OUTGOING CALL TRY TO NUMBER 213570150 MY DIALPLANREQUIRES 9 to go outside>>*CLI> -- Executing Dial(SIP/21-9da8, Modem/g1/9213570150||tr) innew 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 21The source for chan_modem suggests that the dial string should be formatted like Dial(Modem/g1:9213570150||tr) Peter Asterisk-Users mailing list Asterisk-Users@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/d471c6ed/attachment.htm