asterisk2billing.org http://forum.asterisk2billing.org/ |
|
A2BILLING CUSTOMER CAN'T DIAL OUT http://forum.asterisk2billing.org/viewtopic.php?f=14&t=6954 |
Page 1 of 1 |
Author: | alben [ Thu Jan 21, 2010 7:16 pm ] |
Post subject: | A2BILLING CUSTOMER CAN'T DIAL OUT |
Hello I have elastix 1.6 that comes with a2billing 1.3 freepbx extensions work fine, and dial out with voip provider ok. in a2billing i created provider, trunk, rate, call plan, customer, sip friend, etc as per manual. my a2billing client logs in ok to my softphone (portsip) CLI> sip show peers shows a2billing customer ok but, when i dial out y get " all failed: not found 404" in my softphone CLI> dont show nothing when i dial please help thanks a lot |
Author: | ricardo.provedor [ Sat Jan 23, 2010 12:44 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
It seems to me a problem in your dialplan, post the configuration of your sip and also the context that you are using to call through a2billing. So maybe I can help you. |
Author: | alben [ Sat Jan 23, 2010 5:36 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
Thanks Ricardo for your help. I have the default install of elastix 1.6 that comes with a2billing 1.3. The freepbx part is working ok, (i m used to trixbox for some time allready ), as far as extensions, trunks, routes, so i can call PSTN using my betamax voip provider. problem is trying to use a2billing. Following installation guides i created provider, trunk, ratecard, dialplan, customer, sip friend, etc my a2billing trunk has the same name as my freepbx trunk. the customer created is in my additional_a2billing_sip.conf [4775407827] type=friend username=4775407827 accountcode=4775407827 regexten=4775407827 callerid=757416273042484 amaflags=billing secret=0287432266 nat=yes dtmfmode=RFC2833 qualify=yes canreinvite=yes disallow=all allow=ulaw allow= alaw allow= gsm allow= g729 host=dynamic context=a2billing regseconds=0 cancallforward=yes ------------- customer can login to a softphone and it comes registered in my sip show peers, but when i dial i get the message mentioned before, something is missing in my configuration, how my a2billing customer is connected to my freepbx trunk, route and where in a2billing i have to put my voip provider account and password as freebpx has in peer details? is there any manipulation i have to do in other configuration files as extensions etc? is freepbx dialplan or a2billing dialplan? i apreciate your help |
Author: | ricardo.provedor [ Mon Jan 25, 2010 12:27 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
Try reading this: http://forum.asterisk2billing.org/viewtopic.php?f=4&t=2127&start=30 I think that will help you with your problem. |
Author: | alben [ Mon Jan 25, 2010 6:58 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
thanks ricardo, the link will be a long proyect to study. I allready did that hint but didnt work. let me go little by little with this question why when a a2billing customer dial i dont see any line in the CLI screen except when it registers? like i see when a freepbx dials? means that a2billing has no conection with asterisk? if you have another more elaborated link please let me know |
Author: | ricardo.provedor [ Tue Jan 26, 2010 10:22 am ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
It means that you do not have dialing rules compatible, try: CLI> dialplan show [yourcontext] I still think your problem is in the extensions.conf file. |
Author: | alben [ Tue Jan 26, 2010 5:13 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
I have this elastix*CLI> dialplan show a2billing [ Context 'a2billing' created by 'pbx_config' ] '_X.' => 3. DeadAGI(a2billing.php) [pbx_config] 5. Hangup() [pbx_config] -= 1 extension (2 priorities) in 1 context. =- elastix*CLI> ----------------------------------------------- my config files here: additional_a2billing_sip.conf : [4775407827] type=friend username=4775407827 accountcode=4775407827 regexten=4775407827 callerid=757416273042484 amaflags=billing secret=0287432266 nat=yes dtmfmode=RFC2833 qualify=yes canreinvite=yes disallow=all allow=ulaw allow= alaw allow= gsm allow= g729 host=dynamic context=a2billing regseconds=0 cancallforward=yes ----------------------------- sip.conf : [general] #include sip_general_additional.conf #include sip_general_custom.conf #include sip_nat.conf #include sip_registrations_custom.conf #include sip_registrations.conf #include sip_custom.conf #include sip_additional.conf #include additional_a2billing_sip.conf #include sip_custom_post.conf ---------------------------------------- extensions.conf: (added by me) . . ;this is where parked calls go if they time-out. Should probably re-ring [default] include => ext-local exten => s,1,Playback(vm-goodbye) exten => s,2,Macro(hangupcall) [a2billing] exten => _X.,3,DeadAGI,a2billing.php exten => _X.,5,Hangup ----------------------------------------- extensions_a2billing.conf : [a2billing] exten => _X.,1,Answer exten => _X.,n,Wait(1) exten => _X.,n,DeadAGI(a2billing.php|1) exten => _X.,n,Hangup --------------------------------- thanks a lot |
Author: | ricardo.provedor [ Tue Jan 26, 2010 5:18 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
There it is... Quote: [a2billing] exten => _X.,3,DeadAGI,a2billing.php exten => _X.,5,Hangup In your A2billing context you dont have the priority 1 extension... Try to use like this: Code: [a2billing]
; CallingCard application ;exten => _X.,1,Answer ;exten => _X.,2,Wait,2 exten => _X.,1,DeadAGI,a2billing.php exten => _X.,2,Wait,2 exten => _X.,3,Hangup |
Author: | alben [ Tue Jan 26, 2010 5:33 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
I replaced in both extensions.conf and extensions_2billing.conf still when a dial from my "4775407827" a2billing account to my "200" freepbx working account nothing happens in my cli> screen and get "call failed not found 404" in my portsip softphone |
Author: | alben [ Tue Jan 26, 2010 5:44 pm ] |
Post subject: | Re: A2BILLING CUSTOMER CAN'T DIAL OUT |
sorry i needed extensions reload |
Author: | alben [ Wed Jan 27, 2010 4:40 pm ] |
Post subject: | SOLVED |
Thanks Ricardo, that fixed my a2billing, no I can dial out. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |