Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:34 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Skype and A2billing Integration-Authenticate via Skype name?
PostPosted: Mon Sep 05, 2011 6:08 pm 
Offline

Joined: Wed Sep 15, 2010 9:09 am
Posts: 96
Hi all,
I use Skype such as a DID to call from Skype software to my server A2Billing.
I try to buy credit Skype Connect and config to connect from nick Skype to my server.
Configuration of dial plan :
Code:
exten => XXXXX,1,Answer
exten => XXXXX,2,Noop(${CALLERID(name)} , ${CALLERID(num)})
exten => XXXXX,3,Set(CALLERID(num) = ${CALLERID(name))
exten => XXXXX,4,Wait(2)
exten => XXXXX,5,DeadAGI(a2billing.php|3)
exten => XXXXX,6,Wait(2)
exten => XXXXX,7,Hangup

I try to add Caller ID = SKYPE_NAME but it is not successful. So I try to add via Database tool in Table cc_callerid.
--->Question 1 : How to add caller ID is as character (not number ) ?

Next, I make a call from my Skypename = SKYPE_NAME to Skype name as DID . So but the system always requires authentication via PIN number.
Result :
Code:
  -- Executing [XXXXX@from-sip-external:1] NoOp("SIP/sip.skype.com", "Received incoming SIP connection from unknown peer to XXXXX") in new stack
    -- Executing [XXXXX@from-sip-external:2] Set("SIP/sip.skype.com", "DID=XXXXX") in new stack
    -- Executing [XXXXX@from-sip-external:3] Goto("SIP/sip.skype.com", "s|1") in new stack
    -- Goto (from-sip-external,s,1)
    -- Executing [s@from-sip-external:1] GotoIf("SIP/sip.skype.com", "1?from-trunk|XXXXX|1") in new stack
    -- Goto (from-trunk,XXXXX,1)
    -- Executing [XXXXX@from-trunk:1] Set("SIP/sip.skype.com", "__FROM_DID=XXXXX") in new stack
    -- Executing [XXXXX@from-trunk:2] ExecIf("SIP/sip.skype.com", "0 |Set|CALLERID(name)=Anonymous") in new stack
    -- Executing [XXXXX@from-trunk:3] Set("SIP/sip.skype.com", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [XXXXX@from-trunk:4] SetCallerPres("SIP/sip.skype.com", "allowed_not_screened") in new stack
    -- Executing [XXXXX@from-trunk:5] Goto("SIP/sip.skype.com", "a2billing|XXXXX|1") in new stack
    -- Goto (a2billing,XXXXX,1)
    -- Executing [XXXXX@a2billing:1] Answer("SIP/sip.skype.com", "") in new stack
    -- Executing [XXXXX@a2billing:2] NoOp("SIP/sip.skype.com", "SKYPE_NAME | Anonymous") in new stack
    -- Executing [XXXXX@a2billing:3] Set("SIP/sip.skype.com", "CALLERID(num) = SKYPE_NAME") in new stack
    -- Executing [XXXXX@a2billing-did:4] Wait("SIP/sip.skype.com", "2") in new stack
    -- Executing [XXXXX@a2billing-did:5] DeadAGI("SIP/sip.skype.com", "a2billing.php|3") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
    -- <SIP/sip.skype.com> Playing 'prepaid-enter-pin-number' (language 'en')


---->Question 2 : May I modify the code in file a2billing.php to authenticate via Skype name (character, not number ) ?

Thank in advance for all helps!
Best regards,
Ryan.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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