Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 2:19 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: DIDs
PostPosted: Thu Jun 21, 2007 1:41 am 
Offline

Joined: Thu Jun 21, 2007 1:18 am
Posts: 11
I have read around and have only found similar problems, but not exactly as this:

I have a sip trunk [vitelity-inbound] in sip.conf that goes directly to the [a2billing-in] context in extensions.conf, and a SIP extension [5551231234] in extensions.conf:

Code:
sip.conf=

[vitel-inbound]
username=XXXXXX
type=friend
secret=XXXXXXXX
insecure=very
host=inbound3.vitelity.net
disallow=all
context=a2billing-in
canreinvite=no
allow=ulaw
allow=gsm


extensions.conf=

[a2billing-in]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php|2|did)
exten => _X.,n,Hangup

[5551231234]
type=friend
username=5551231234
accountcode=5551231234
regexten=5551231234
callerid=15551231234
amaflags=billing
secret=XXXXXXXX
nat=1
dtmfmode=RFC2833
qualify=1
canreinvite=yes
disallow=all
allow=ulaw
allow= alaw
allow= gsm
allow= g729
host=dynamic
context=a2billing
regseconds=0
cancallforward=yes


I have two did destinations set up for the 5551231234 did. They are:
Code:
#1
SIP/5551231234

and

#2
15551112222


When I dial the DID from an external PSTN line it goes all the way through a2billing.php. When it tries to ring SIP/5551231234 it says

Code:
Jun 20 17:47:36 NOTICE[10219] app_dial.c: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
Jun 20 17:47:36 VERBOSE[10219] logger.c:   == Everyone is busy/congested at this time (1:0/0/1)
Jun 20 17:47:36 DEBUG[10219] app_dial.c: Exiting with DIALSTATUS=CHANUNAVAIL.


And then it immediatly SUCCESSFULLY dials the next destination, which is going out through a voip trunk to a PSTN destination.

Code:
AGI Script Executing Application: (Dial) Options: (SIP/vitel-outbound/15551112222|60|HRrL(17967000:61000:30000))


Why does it not dial the SIP/5551231234 extension when I dial in externally from the 5551231234 DID, but it will successfully dial the (SIP/vitel-outbound/15551112222) ???

I can dial out from that sip extension fine!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 21, 2007 6:34 pm 
Offline

Joined: Thu Jun 21, 2007 1:18 am
Posts: 11
ok i figured it out

qualify was set to 1 ms

i set it to 999

now it works!

and im so mad that it took me so long to figure it out :evil:

but im glad it works now :D


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 22 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group