Area Code

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
ka2qhg
Posts: 34
Joined: Tue Nov 21, 2006 10:33 am

Area Code

Post by ka2qhg »

1. Brekeke Product Name and version:Brekeke sipserver 2.0

2. Java version:1.5

3. OS type and the version:Server 2003

4. UA (phone), gateway or other hardware/software involved:
Linksys PAP2, SPA3102, ect
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html :4

6. Your problem: Allowing outgoing call by Area Code.
Is it possible to allow only certain area
Codes to be dialed.
512,627,207 + plus phone number?

All other area codes would be rejected.

Thanks
Larry
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

try following dial plan

matching patterns
-----------------------------
$request=^INVITE
To=sip:(512|627|207)(.+)@

deploy patterns
----------------------------
To=sip:%1%2@destinationIP
ka2qhg
Posts: 34
Joined: Tue Nov 21, 2006 10:33 am

Area Code

Post by ka2qhg »

Thanks Hope
it worked
Larry
hopkinsnewfound47
Posts: 1
Joined: Wed Aug 20, 2008 12:03 pm

Post by hopkinsnewfound47 »

This was unbelievable helpful. The state of Orgeon NPXX situation to handle local vs. ld dial is crazy. To ensure I did a local exchange I used

matching patterns
----------------------------
To=sip:(503)(200|201|202|203|204|205|206|209|215|216|219|220|221|222|223|224|225|226|227|228|229|230|231|232|233|234|235|236|237|238|239|240|241|242|243|244|245|246|247|248|249|250|251|252|253|254|255|256|257|258|260|261|262|265|267|271|273|274|275|276|278|279|280|281|282|283|284|285|286|287|288|289|290|291|292|293|294|295|296|297|299|301|306|307|309|310|312|313|314|317|318|319|320|321|323|326|327|329|331|333|334|335|340|341|345|346|347|348|349|351|358|360|367|380|381|382|384|401|402|407|408|412|413|414|415|416|417|418|419|421|422|423|425|426|432|441|442|444|445|449|450|452|453|459|460|464|467|471|473|475|477|478|481|484|488|490|493|494|497|499|502|504|505|514|515|516|517|519|522|525|527|528|529|535|539|542|544|545|546|548|552|553|572|577|593|595|599|604|621|679|680|688|701|702|703|704|705|706|708|709|715|719|720|721|724|725|727|729|730|731|733|734|735|736|737|740|745|750|752|753|754|756|757|758|760|761|762|764|768|771|772|774|775|777|778|780|781|784|788|789|790|793|795|796|797|799|802|803|804|805|806|807|808|810|813|816|817|818|819|820|821|823|827|830|833|839|841|849|853|860|863|865|866|867|869|870|872|875|880|886|887|888|889|890|891|892|896|901|903|904|909|913|914|916|920|921|922|927|928|929|933|935|936|937|938|939|940|942|943|944|946|948|952|953|954|955|956|957|960|961|962|963|969|970|972|973|975|977|978|983|988|993|995|997|998)(....)@


deploy patterns
----------------------------
To=sip:%1%2%3@destinationIP:port

Thanks again....
:D
Post Reply