Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:41 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to activate callingcard plattform
PostPosted: Sun Feb 07, 2010 8:31 am 
Offline

Joined: Sun Feb 07, 2010 8:28 am
Posts: 6
What do I have to do that the callingcard plattform answers on all incomming dids?

I get only:

Code:
    -- Remote UNIX connection
[Feb  7 08:16:00] NOTICE[10502]: chan_sip.c:14441 handle_request_invite: Call from '' to extension '49xxxxxxxxxx' rejected because extension not found.
[Feb  7 08:16:01] NOTICE[10502]: chan_sip.c:14441 handle_request_invite: Call from '' to extension '49xxxxxxxxxx' rejected because extension not found.



I have added the following to extensions.conf:

Code:
[from-sip-external]
include => a2billing-did
# I have tried with and withoutout the from-sip-external entry


[a2billing]
; CallingCard application
exten => _X.,1,Answer
exten => _X.,2,Wait,2
exten => _X.,3,DeadAGI,a2billing.php
exten => _X.,4,Wait,2
exten => _X.,5,Hangup

[did]
; CallingCard application
exten => _X.,1,DeadAGI(a2billing.php|1|did)


Can anybody help how to get it answering my inbound calls?

Thanks.

Susi


Top
 Profile  
 
 Post subject: Re: How to activate callingcard plattform
PostPosted: Sun Feb 07, 2010 10:17 am 
Offline

Joined: Sun Feb 07, 2010 8:28 am
Posts: 6
whatever I enter in extensions.conf seems to be ignored ...


[test]
exten => 4989227665221, 1, Dial(SIP/1421192390)

I always get the same error like described in first post.


When I try to make an outbound call a2billing works:

Code:
    -- Executing [8956000@a2billing:1] Answer("SIP/1421192390-081e1168", "") in new stack
    -- Executing [8956000@a2billing:2] Wait("SIP/1421192390-081e1168", "2") in new stack
    -- Executing [8956000@a2billing:3] DeadAGI("SIP/1421192390-081e1168", "a2billing.php") in new stack
[Feb  7 10:08:03] WARNING[15199]: res_agi.c:2238 deadagi_exec: Running DeadAGI on a live channel will cause problems, please use AGI
    -- Launched AGI Script /usr/share/asterisk/agi-bin/a2billing.php
    -- Playing 'prepaid-no-enough-credit-stop' (escape_digits=#) (sample_offset 0)
    -- AGI Script a2billing.php completed, returning 0



but for any incomming did call i simply get

Code:
[Feb  7 10:09:00] NOTICE[14813]: chan_sip.c:14441 handle_request_invite: Call from 'provider1' to extension '4989227665221' rejected because extension not found.
[Feb  7 10:09:02] NOTICE[14813]: chan_sip.c:14441 handle_request_invite: Call from 'provider1' to extension '41435080316' rejected because extension not found.





HELP .... :laugh:


Top
 Profile  
 
 Post subject: Re: How to activate callingcard plattform
PostPosted: Sun Feb 07, 2010 10:31 am 
Offline

Joined: Sun Feb 07, 2010 8:28 am
Posts: 6
solved :mrgreen2:


you need to add create a inbound trunk in sip.conf for the incomming did.

then you need to use the context inside these setting to point call to a2billing.


Hope this will help all others to solve the same problem. Have fun. :mrgreen:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group