Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 1:09 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: DID Routing Issue
PostPosted: Sat Jul 29, 2006 7:24 am 
Offline

Joined: Sat Mar 11, 2006 6:27 pm
Posts: 1
Location: Pakistan
Hi There,

I am routing a DID to a2billing using this

'92217019656' => 1. Goto(a2billing-did|s|1) [pbx_config]
2. Hangup() [pbx_config]

where as my a2billing-did context looks like this

's' => 1. DeadAgi(a2billing.php|1|did) [pbx_config]
2. Hangup() [pbx_config]


The problem is , when i call from my cell phone to this DID , i've already added it in the wbe admin and also added the destination for it , it just sends the call , does all of this



[Jul 29 03:01:24] -- Executing Goto("SIP/202.125.130.98-0898acd8", "a2billing-did|s|1") in new stack
[Jul 29 03:01:24] -- Goto (a2billing-did,s,1)
[Jul 29 03:01:24] -- Executing DeadAGI("SIP/202.125.130.98-0898acd8", "a2billing.php|1|did") in new stack
[Jul 29 03:01:24] -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Jul 29 03:01:24] AGI Tx >> agi_request: a2billing.php
[Jul 29 03:01:24] AGI Tx >> agi_channel: SIP/202.125.130.98-0898acd8
[Jul 29 03:01:24] AGI Tx >> agi_language: en
[Jul 29 03:01:24] AGI Tx >> agi_type: SIP
[Jul 29 03:01:24] AGI Tx >> agi_uniqueid: 1154156484.25505
[Jul 29 03:01:24] AGI Tx >> agi_callerid: 03008636664
[Jul 29 03:01:24] AGI Tx >> agi_calleridname: 03008636664
[Jul 29 03:01:24] AGI Tx >> agi_callingpres: 0
[Jul 29 03:01:24] AGI Tx >> agi_callingani2: 0
[Jul 29 03:01:24] AGI Tx >> agi_callington: 0
[Jul 29 03:01:24] AGI Tx >> agi_callingtns: 0
[Jul 29 03:01:24] AGI Tx >> agi_dnid: 92217019656
[Jul 29 03:01:24] AGI Tx >> agi_rdnis: unknown
[Jul 29 03:01:24] AGI Tx >> agi_context: a2billing-did
[Jul 29 03:01:24] AGI Tx >> agi_extension: s
[Jul 29 03:01:24] AGI Tx >> agi_priority: 1
[Jul 29 03:01:24] AGI Tx >> agi_enhanced: 0.0
[Jul 29 03:01:24] AGI Tx >> agi_accountcode:
[Jul 29 03:01:24] AGI Tx >>
[Jul 29 03:01:24] AGI Rx << VERBOSE "IDCONFIG : 1 " 1
[Jul 29 03:01:24] a2billing.php|1|did: IDCONFIG : 1
[Jul 29 03:01:24] AGI Tx >> 200 result=1
[Jul 29 03:01:24] AGI Rx << VERBOSE "" 1
[Jul 29 03:01:24] a2billing.php|1|did:
[Jul 29 03:01:24] AGI Tx >> 200 result=1
[Jul 29 03:01:24] AGI Rx << VERBOSE "MODE : did " 1
[Jul 29 03:01:24] a2billing.php|1|did: MODE : did
[Jul 29 03:01:24] AGI Tx >> 200 result=1
[Jul 29 03:01:24] AGI Rx << VERBOSE "" 1
[Jul 29 03:01:24] a2billing.php|1|did:
[Jul 29 03:01:24] AGI Tx >> 200 result=1
[Jul 29 03:01:24] AGI Rx << SET CALLERID 03008636664
[Jul 29 03:01:24] AGI Tx >> 200 result=1
[Jul 29 03:01:24] AGI Rx << ANSWER
[Jul 29 03:01:24] AGI Tx >> 200 result=0
[Jul 29 03:01:24] -- AGI Script a2billing.php completed, returning 0
[Jul 29 03:01:24] -- Executing Hangup("SIP/202.125.130.98-0898acd8", "") in new stack
[Jul 29 03:01:24] == Spawn extension (a2billing-did, s, 2) exited non-zero on 'SIP/202.125.130.98-0898acd8'
[Jul 29 03:01:25] -- Executing Goto("SIP/202.125.130.98-0898acd8", "a2billing-did|s|1") in new stack
[Jul 29 03:01:25] -- Goto (a2billing-did,s,1)
[Jul 29 03:01:25] -- Executing DeadAGI("SIP/202.125.130.98-0898acd8", "a2billing.php|1|did") in new stack
[Jul 29 03:01:25] -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
[Jul 29 03:01:25] AGI Tx >> agi_request: a2billing.php
[Jul 29 03:01:25] AGI Tx >> agi_channel: SIP/202.125.130.98-0898acd8
[Jul 29 03:01:25] AGI Tx >> agi_language: en
[Jul 29 03:01:25] AGI Tx >> agi_type: SIP
[Jul 29 03:01:25] AGI Tx >> agi_uniqueid: 1154156485.25506
[Jul 29 03:01:25] AGI Tx >> agi_callerid: 03008636664
[Jul 29 03:01:25] AGI Tx >> agi_calleridname: 03008636664
[Jul 29 03:01:25] AGI Tx >> agi_callingpres: 0
[Jul 29 03:01:25] AGI Tx >> agi_callingani2: 0
[Jul 29 03:01:25] AGI Tx >> agi_callington: 0
[Jul 29 03:01:25] AGI Tx >> agi_callingtns: 0
[Jul 29 03:01:25] AGI Tx >> agi_dnid: 92217019656
[Jul 29 03:01:25] AGI Tx >> agi_rdnis: unknown
[Jul 29 03:01:25] AGI Tx >> agi_context: a2billing-did
[Jul 29 03:01:25] AGI Tx >> agi_extension: s
[Jul 29 03:01:25] AGI Tx >> agi_priority: 1
[Jul 29 03:01:25] AGI Tx >> agi_enhanced: 0.0
[Jul 29 03:01:25] AGI Tx >> agi_accountcode:
[Jul 29 03:01:25] AGI Tx >>
[Jul 29 03:01:25] AGI Rx << VERBOSE "IDCONFIG : 1 " 1
[Jul 29 03:01:25] a2billing.php|1|did: IDCONFIG : 1
[Jul 29 03:01:25] AGI Tx >> 200 result=1
[Jul 29 03:01:25] AGI Rx << VERBOSE "" 1
[Jul 29 03:01:25] a2billing.php|1|did:
[Jul 29 03:01:25] AGI Tx >> 200 result=1
[Jul 29 03:01:25] AGI Rx << VERBOSE "MODE : did " 1
[Jul 29 03:01:25] a2billing.php|1|did: MODE : did
[Jul 29 03:01:25] AGI Tx >> 200 result=1
[Jul 29 03:01:25] AGI Rx << VERBOSE "" 1
[Jul 29 03:01:25] a2billing.php|1|did:
[Jul 29 03:01:25] AGI Tx >> 200 result=1
[Jul 29 03:01:25] AGI Rx << SET CALLERID 03008636664
[Jul 29 03:01:25] AGI Tx >> 200 result=1
[Jul 29 03:01:25] AGI Rx << ANSWER
[Jul 29 03:01:25] AGI Tx >> 200 result=0
[Jul 29 03:01:25] -- AGI Script a2billing.php completed, returning 0
[Jul 29 03:01:25] -- Executing Hangup("SIP/202.125.130.98-0898acd8", "") in new stack
[Jul 29 03:01:25] == Spawn extension (a2billing-did, s, 2) exited non-zero on 'SIP/202.125.130.98-0898acd


and then the call drops , no reason given, what am i doing wrong , can someone please help me out ?

Best Regards

Junaid Saeed Uppal


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 6:36 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
Change the "Goto" in:

Goto(a2billing-did|${EXTEN}|1)

and the "s" extension in "_X.":

_X.,1,DeadAgi...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

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