Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
7 digit dialing
Author Message
AGCUSA
Brekeke Junior Member


Joined: 13 Jul 2009
Posts: 8
Location: USA

PostPosted: Mon Jul 13, 2009 10:09 pm    Post subject: 7 digit dialing Reply with quote

1. Brekeke Product Name and version: PBX 2.3.6 Demo

2. Java version:6.0.18

3. OS type and the version:Linux RedHat

4. UA (phone), gateway or other hardware/software involved: ITSP

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :

6. Your problem: I want to take the [u]area code[/u] from a registered user like (662-NXX-XXXX) add that to their outbound call and add a 1 for 11 digit dialing to my ITSP. Registered user 662-NXX-XXXX dials 7 digits like 555-1234. I want to send the call out as 1-662-555-1234
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Jul 16, 2009 10:34 am    Post subject: Reply with quote

create an ARS pattern OUT like
Matching Patterns:
From: sip:([0-9]{3}).+@
To: sip:([0-9]{7})@

depoly patterns:
To: sip:&f1$1@destinationIP
Back to top
View user's profile
AGCUSA
Brekeke Junior Member


Joined: 13 Jul 2009
Posts: 8
Location: USA

PostPosted: Thu Jul 16, 2009 11:39 am    Post subject: 7 digit dialing Reply with quote

hope wrote:
create an ARS pattern OUT like
Matching Patterns:
From: sip:([0-9]{3}).+@
To: sip:([0-9]{7})@

depoly patterns:
To: sip:&f1$1@destinationIP


Hope, I tried the above. I made test calls which return busy "486" I checked the call logs and the system is sending 7 digits and not picking up the area code and adding a 1. What should I try?

AGCUSA
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Jul 16, 2009 4:38 pm    Post subject: Reply with quote

sorry i forgot to put 1 at To in deploy pattern
it should be
Matching Patterns:
From: sip:([0-9]{3}).+@
To: sip:([0-9]{7})@

depoly patterns:
To: sip:1&f1$1@destinationIP
Back to top
View user's profile
AGCUSA
Brekeke Junior Member


Joined: 13 Jul 2009
Posts: 8
Location: USA

PostPosted: Thu Jul 16, 2009 7:25 pm    Post subject: 7 digit dialing Reply with quote

hope wrote:
sorry i forgot to put 1 at To in deploy pattern
it should be
Matching Patterns:
From: sip:([0-9]{3}).+@
To: sip:([0-9]{7})@

depoly patterns:
To: sip:1&f1$1@destinationIP


Hope,

Works like a charm. I really appreciate your quick response. I know you are very busy.

Best regards,

AGCUSA
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1