Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 1:43 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: International prefix not kept ?
PostPosted: Wed Sep 09, 2009 10:27 pm 
Offline

Joined: Tue Mar 17, 2009 4:00 pm
Posts: 153
Location: Where the sun shines
Hello

I have a rate defined as:
dialprefix = 01XXXXXXXXXX

and it is attached to a call plan with the flag 'Remove international prefix' set to 'No'

when I dial '0112345678', the dialed number in the call record appears as '2345678'
when I dial '0187654321', the dialed number in the call record appears as 0187654321' - which is what I expect

I've tried removing the prefix and it does not help (just in case) - searched on the forum and didnt really see anything....

Now - even weirder.... when I set the system settings / international_prefixes to "00" - no more - the 011 still disappears....

Is this the normal behaviour ?

regards
J.


Top
 Profile  
 
 Post subject: Re: International prefix not kept ?
PostPosted: Wed Sep 09, 2009 10:50 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
This doesn't sound as normal behavior to me, most of all :
'Remove international prefix' set to 'No' this should keep the prefix as it is.


Yours,
/Areski


Top
 Profile  
 
 Post subject: Re: International prefix not kept ?
PostPosted: Thu Sep 10, 2009 12:16 am 
Offline

Joined: Tue Mar 17, 2009 4:00 pm
Posts: 153
Location: Where the sun shines
I did a bit more digging with my friend grep !

there is a function in Misc.php called remove_prefix that strips 011 (hard coded)

it appears to be only called by UI procedures.... and the DB looks alright !

so it is mostly a display thing I believe !

J.


Top
 Profile  
 
 Post subject: Re: International prefix not kept ?
PostPosted: Thu Sep 10, 2009 7:55 am 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
Hi,

I didnt read your first post correctly, I thought you were talking about the AGI.

I just made a commit rev 2371, to remove all the remove_prefix
so it wont be confusing anymore.

Yours,
/Areski


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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