[asterisk-users] Astbill DIALSTRING doesn't work
Sebastian Milioto
smilioto at gmail.com
Mon Sep 4 11:58:54 MST 2006
Hi all,
Im trying to setup Astbill in my Asterisk box, but I'm having some problems.
First I obtain the following when I want to make a call:
-- Executing AGI("SIP/71423-081b9010",
"agiastar.agi|called_number") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agiastar.agi
-- SIP Seeding peer from astdb: '71423' at
71423 at 200.117.236.132:5060 for 3600
-- AGI Script agiastar.agi completed, returning 0
-- Executing Dial("SIP/71423-081b9010", "") in new stack
Sep 4 15:23:25 WARNING[4224]: app_dial.c:781 dial_exec_full: Dial
requires an argument (technology/number)
== Spawn extension (mycontext, called_number, 3) exited non-zero on
'SIP/71423-081b9010'
-- Executing DeadAGI("SIP/71423-081b9010", "agistardead.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agistardead.agi
-- AGI Script agistardead.agi completed, returning 0
-- SIP Seeding peer from astdb: '71423' at
71423 at ATA_ip_address:5060 for 3600
In extensions.conf I have this:
exten => _XXXXXX,1,AGI(agiastar.agi,${EXTEN})
exten => _XXXXXX,2,Dial(${DIALSTRING})
I think I'm not getting nothing from DIALSTRING. How can I check that,
how can I resolve it?.
I tryed changing the second line bye for this:
exten => _XXXXXX,3,Dial(SIP/${EXTEN}@my_sip_privider_IP,90,Ttr)
and it starting work. At this point, I can make calls, but the billing
seems doesn't work. So, I think it is because I supressed the
DIALSTRING line.
Can anybody helpme with that? I cant find a manual or technical
information about astbill, except a few lines y Wiki. Is there
something like that?
Thanks very much in advance,
Sebastian
e-mail:smilioto at GMAIL.com
msn:sebamilioto at hotmail.com
More information about the asterisk-users
mailing list