[Asterisk-Users] Call File Troubles
Asterisk
mail_man at ipmotel.net
Sun Feb 15 19:25:07 MST 2004
Hi all,
I'm having a hard time getting my calls to complete when creating call files
and putting them in the /var/spool/asterisk/outgoing directory.
Asterisk processes the file just fine, but the digits that enter my PSTN
switch are only 2 digits, not 10. For example:
Filename: 1.call (My call file)
Channel:Zap/g2/12125551212
MaxRetries:2
RetryTime:60
WaitTime:30
Context:office
Extension:100
Priority:1
extensions.conf
[office]
exten => 100,1,Dial(SIP/100)
exten => _1NXXNXXXXXX,1,Dial,Zap/g2/${EXTEN}
When I dial a number from my sip phone (extension 100) calls go out just
fine. But when I use a call file, only the first two digits of the
destination number are outpulsed, even though asterisk is saying otherwise.
Here is a snippet from the console:
*CLI>
-- Attempting call on Zap/g2/12125551212 for 100 at office:1 (Retry 1)
> Channel Zap/25-1 was answered.
-- Executing Dial("Zap/25-1", "SIP/100") in new stack
-- Called 100
-- SIP/100-7c33 is ringing
-- SIP/100-7c33 answered Zap/25-1
== Spawn extension (office, 100, 1) exited non-zero on 'Zap/25-1'
-- Hungup 'Zap/25-1'
Feb 15 21:32:28 NOTICE[393235]: pbx_spool.c:206 attempt_thread: Call
completed to Zap/g2/12125551212
So here * is saying that it outpulsed 12125551212 but on my switch it only
recieved the digits12 (the first two digits of the number)
I am using the TE410P e&m wink signalling. Asterisk CVS-01/07/04
Any help is greatly appreciated.
TIA
-Seth
More information about the asterisk-users
mailing list