<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-141408665823166080</id><updated>2012-02-16T08:46:28.606+01:00</updated><category term='Trixbox/FreePBX'/><category term='How-TO&apos;s'/><title type='text'>Don't have tittle</title><subtitle type='html'>Can't find one...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-141408665823166080.post-7560918070319227654</id><published>2010-02-23T15:56:00.000+01:00</published><updated>2010-02-23T15:56:48.627+01:00</updated><title type='text'>My new tittle: FATHER :D</title><content type='html'>On 21 Feb 2010 01:41 my baby is born and weights 3270 grams and OMG how much i love him. This is really something amazing. Happy happy happy...&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_FfHHz6sC0Nw/S4PsPMinS6I/AAAAAAAAAK4/udQtKIK97-0/s1600-h/IMG_4189.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_FfHHz6sC0Nw/S4PsPMinS6I/AAAAAAAAAK4/udQtKIK97-0/s320/IMG_4189.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/141408665823166080-7560918070319227654?l=xtittle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/7560918070319227654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=141408665823166080&amp;postID=7560918070319227654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/7560918070319227654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/7560918070319227654'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/2010/02/my-new-tittle-father-d.html' title='My new tittle: FATHER :D'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_FfHHz6sC0Nw/S4PsPMinS6I/AAAAAAAAAK4/udQtKIK97-0/s72-c/IMG_4189.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-141408665823166080.post-8775393200589085477</id><published>2009-03-21T00:16:00.001+01:00</published><updated>2009-03-21T00:16:29.989+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Trixbox/FreePBX'/><category scheme='http://www.blogger.com/atom/ns#' term='How-TO&apos;s'/><title type='text'>Restricting outbound calls in Asterisk/FreePBX</title><content type='html'>&lt;p&gt;One of the most required features of any PBX in any company is call restrictions. Now i know there are many written articles about this and many different ways to do it from easy to complex way but i find my method quite easy to implement and involves no manually editing any file.&lt;/p&gt;  &lt;p&gt;Now all you need is &lt;strong&gt;&lt;a href="http://www.freepbx.org/support/documentation/module-documentation/third-party-unsupported-modules/customcontexts" target="_blank"&gt;&lt;u&gt;Custom Context&lt;/u&gt;&lt;/a&gt;&lt;/strong&gt;&lt;u&gt;&amp;#160;&lt;/u&gt;module (click for more information on how to download and install it in FreePBX)&lt;/p&gt;  &lt;p&gt;Now lets start making some people angry with restrictions.&lt;/p&gt;  &lt;p&gt;For the rest of the guide i will use my own setup as How-to and example.&lt;/p&gt;  &lt;p&gt;First thing that you need is identify how many levels/groups of restriction do you need:&lt;/p&gt;  &lt;p&gt;I have 4 groups of restriction:   &lt;br /&gt;1) Only extensions – a group which will not be able to make any outbound calls only internal ones    &lt;br /&gt;2) National/local calls – a group which will be able to use all outbound routes that can call any number within a country    &lt;br /&gt;3) Any call with PINs – a group which will be able to make any call anywhere but each user has its own PIN code (PIN code will only be used when making international calls)    &lt;br /&gt;4) No restrictions – a group without any kind of restriction, that includes no PINs as well (bosses really hate having restrictions pins, etc and it makes sense since they pay the bills).&lt;/p&gt;  &lt;p&gt;Now we go and apply these restriction accordingly.&lt;/p&gt;  &lt;p&gt;Lets click Custom Contexts after it appeared when you installed the module which we will see two textboxes which we will fill right away with our first context:&lt;/p&gt;  &lt;p&gt;1) The first one is Only local extensions so i will put in Context:   &lt;br /&gt;local-extensions    &lt;br /&gt;and Description:     &lt;br /&gt;Only local extensions    &lt;br /&gt;(I have to admit I'm very bad at naming so you are free to use your own naming convention)    &lt;br /&gt;Now we click submit and make the proper restrictions&lt;/p&gt;  &lt;p&gt;First we Set All To: Deny (we don't want to change all those list boxes one by one)   &lt;br /&gt;Then we allow only ones that we want to allow so this groups is able to make local/internal calls.    &lt;br /&gt;Basically what we need to allow are:    &lt;br /&gt;Call Parking, ext-group, ext-local and ext-queues, there are some others that we could allow like app-speakextennum, app-speakingclock, app-userlogonoff but that is up to you and it depends what other app/modules you are using and have setup, and you have to make sure that all outbound routes are set to DENY or you shouldn’t read this guide at all.&lt;/p&gt;  &lt;p&gt;Submit&lt;/p&gt;  &lt;p&gt;Now before i continue with the rest of the guide I ASSUME that you allready have setup trunks and outbound routes (we’ll cover these in future… maybe…)&lt;/p&gt;  &lt;p&gt;2) Create context: national-calls with a description Allow national calls.   &lt;br /&gt;Or better way you can go to your created 1st local-extensions context and duplicate it since we will use the previous setup and just add more allows.    &lt;br /&gt;    &lt;br /&gt;Here i have allowed everything in the two first sections (Default internal context and Internal Dialplan) except ENTIRE Basic Internal Dialplan and ALL OUTBOUND ROUTES (these two should never be allowed)&lt;/p&gt;  &lt;p&gt;And in the Outbound Routes sections i have allowed only the routes that are able to make local and national calls (i don't know what kind of hardware you do have but for example i have FXO adapters, Sipuras, GSM gateways and local ISP SIP accounts)&lt;/p&gt;  &lt;p&gt;Click submit&lt;/p&gt;  &lt;p&gt;3) Duplicate the context national-calls and name it lets say:    &lt;br /&gt;all-calls-wpin (All calls with pin restriction)&lt;/p&gt;  &lt;p&gt;Now i believe you can guess what's next is that you just have to add those outbound routes that are left which can make international calls (in my case i have many different SIP providers that can make international landline/mobile calls for example, internetcalls, voipbuster, etc etc etc… there are really many of them)&lt;/p&gt;  &lt;p&gt;4) Duplicate the previous one (all-calls-wpin) to no-restriction (Desc: Not any kind of restriction in the whole world ……… of this box :P)&lt;/p&gt;  &lt;p&gt;So now just allow hmmm… what is more than calling internationally? Calling SPACE? Well there is a little trick that makes those international &lt;u&gt;outbound routes&lt;/u&gt; work without PINs and as i mentioned outbound routes the trick is in there. Now all you have to do is duplicate/recreate those outbound routes that are with PIN sets :D, rename them to xxxxx-nopin and remove any PIN sets from these newly created outbound routes.&lt;/p&gt;  &lt;p&gt;Okay now we have created duplicates of some outbound routes, removed the pin sets and now its time to go to Custom Contexts again. First select context no-restriction and make some restrictions (its now or never to make restriction for our bosses, grin…) and in Outbound routes deny access to Outbound routes that have PIN sets and allow to routes that are without pin.   &lt;br /&gt;Submit    &lt;br /&gt;Then    &lt;br /&gt;Go to context all-calls-wpin and deny outbound calls to routes that are without pins, of course allow the ones with pins.&lt;/p&gt;  &lt;p&gt;You may ask why we are having double outbound routes with and without pins, well the thing is that when calling internationally you usually have your dial patter like “00.” and avoiding complications like having users call with 00 and bosses call with 99 or whatever is why we make double outbound routes but each group/context have access to its route respectively. &lt;/p&gt;  &lt;p&gt;I hope you enjoy this guide.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/141408665823166080-8775393200589085477?l=xtittle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/8775393200589085477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=141408665823166080&amp;postID=8775393200589085477' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/8775393200589085477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/8775393200589085477'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/2009/03/restricting-outbound-calls-in.html' title='Restricting outbound calls in Asterisk/FreePBX'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-141408665823166080.post-2367322894668420576</id><published>2009-02-28T20:32:00.003+01:00</published><updated>2009-03-21T00:27:12.421+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Trixbox/FreePBX'/><category scheme='http://www.blogger.com/atom/ns#' term='How-TO&apos;s'/><title type='text'>Updated trunk configuration Asterisk, freepbx and Portech MV-3xx</title><content type='html'>&lt;p&gt;&lt;strong&gt;&lt;u&gt;This is my new updated functional configuration of Portech.&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;This guide will help you settings up Trunk in Asterisk (freebox, trixbox, PBIF, etc.) for Portech GSM Gateway.&lt;/p&gt;  &lt;p&gt;The new configuration will pass Caller ID.&lt;/p&gt;  &lt;p&gt;  &lt;br /&gt;First we will configure the Portech MV-372 i believe this configuration will also work with Portech MV-370 and other Portech MV-3xx like MV-374.    &lt;br /&gt;  &lt;br /&gt;Login to your portech&lt;/p&gt; Route  &lt;br /&gt; &lt;ul&gt;   &lt;li&gt;&lt;span style="font-weight: bold;"&gt;Mobile To Lan Settings:&lt;/span&gt;      &lt;br /&gt;     &lt;table border="0" cellpadding="2" cellspacing="0" width="312"&gt;&lt;tbody&gt;         &lt;tr&gt;           &lt;td valign="top" width="58"&gt;Item&lt;/td&gt;            &lt;td valign="top" width="52"&gt;CID&lt;/td&gt;            &lt;td valign="top" width="200"&gt;URL&lt;/td&gt;         &lt;/tr&gt;          &lt;tr&gt;           &lt;td valign="top" width="58"&gt;0&lt;/td&gt;            &lt;td valign="top" width="52"&gt;*&lt;/td&gt;            &lt;td valign="top" width="200"&gt;192.168.x.x (your asterisk ip)&lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;     &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;&lt;span style="font-weight: bold;"&gt;Lan To Mobile Settings:&lt;/span&gt;      &lt;br /&gt;     &lt;table border="0" cellpadding="2" cellspacing="0" width="312"&gt;&lt;tbody&gt;         &lt;tr&gt;           &lt;td valign="top" width="58"&gt;Item&lt;/td&gt;            &lt;td valign="top" width="52"&gt;URL&lt;/td&gt;            &lt;td valign="top" width="200"&gt;Call num&lt;/td&gt;         &lt;/tr&gt;          &lt;tr&gt;           &lt;td valign="top" width="58"&gt;0&lt;/td&gt;            &lt;td valign="top" width="52"&gt;*&lt;/td&gt;            &lt;td valign="top" width="200"&gt;#&lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;   &lt;/li&gt;    &lt;li&gt;&lt;span style="font-style: italic;"&gt;Mobile&lt;/span&gt;       &lt;ul&gt;       &lt;li&gt;&lt;span style="font-style: italic;"&gt;Settings:           &lt;br /&gt;Mobile 1:            &lt;br /&gt;Sip From: Tel/Tel (No reg)            &lt;br /&gt;CLID Presentation: Invocation            &lt;br /&gt;LAN Answer Mode: Income            &lt;br /&gt;          &lt;br /&gt;Do the same for Mobile 2&lt;/span&gt; &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;&lt;span style="font-style: italic;"&gt;SIP Settings&lt;/span&gt;       &lt;ul&gt;       &lt;li&gt;&lt;span style="font-style: italic;"&gt;Service Domain           &lt;br /&gt;You only fill Domain Server and Proxy server with your asterisk IP address:            &lt;br /&gt;Domain Server: 192.168.x.x            &lt;br /&gt;Proxy Server: 192.168.x.x            &lt;br /&gt;          &lt;br /&gt;Again do the same for Mobile            &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;        &lt;li&gt;&lt;span style="font-style: italic;"&gt;Port Settings           &lt;br /&gt;Make sure SIP Port for Mobile 1 is 5060 and port 5062 for Mobile 2            &lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Other settings are fine you may leave them as they are, only check Network (WAN) settings if you don't have DHCP or you need static IP for Portech gsm gateway.   &lt;br /&gt;  &lt;br /&gt;Don't forget to save changes (should reboot after saving)    &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;&lt;u&gt;Asterisk/Freepbx&lt;/u&gt;&lt;/strong&gt;    &lt;br /&gt;  &lt;br /&gt;Login to your FreePBX and add SIP Trunk    &lt;br /&gt;  &lt;br /&gt;Outbound Called ID: xxxxxxx (put you number here)    &lt;br /&gt;Maximum Channels: 1    &lt;br /&gt;  &lt;br /&gt;Outgoing settings    &lt;br /&gt;Trunk Name: SIM1 (you may put anything you like)    &lt;br /&gt;PEER Details:    &lt;br /&gt;host=192.168.x.x (your Portech IP address)    &lt;br /&gt;type=peer    &lt;br /&gt;port=5060    &lt;br /&gt;  &lt;br /&gt;Incoming Settings:    &lt;br /&gt;USER Context: xxxxxxx (put you mobile number)    &lt;br /&gt;Leave Incoming settings blank.    &lt;br /&gt;  &lt;br /&gt;Click submit (don't forget the Orange bar on top after you make changes in your server)&lt;/p&gt;  &lt;p&gt;Add another SIP Trunk for SIM2   &lt;br /&gt;  &lt;br /&gt;Outbound Called ID: yyyyyyyy (put you phone number here)    &lt;br /&gt;Maximum Channels: 1    &lt;br /&gt;go to Outgoing settings    &lt;br /&gt;  &lt;br /&gt;Trunk Name: SIM2    &lt;br /&gt;PEER Details:    &lt;br /&gt;host=192.168.x.x (your Portech IP address)    &lt;br /&gt;type=peer    &lt;br /&gt;port=5062 (important)    &lt;br /&gt;  &lt;br /&gt;Incoming Settings:    &lt;br /&gt;USER Context: yyyyyyyy (put you second phone number)    &lt;br /&gt;  &lt;br /&gt;Again apply changes.    &lt;br /&gt;  &lt;br /&gt;We're almost done. Now to make this work we have to create Outbound Route, so click Outbound Routes    &lt;br /&gt;Put Route name as you wish, i have called it Portech_1 (since i will add another and will make it Portech_2)    &lt;br /&gt;Dial Patterns: i have put 049XXXXXX because i want only mobile numbers from the same provider to go through this trunk (through Portech) i mean i want to cut the costs right?    &lt;br /&gt;  &lt;br /&gt;Trunk Sequence: i added SIP/SIM1 and SIP/SIM2    &lt;br /&gt;You can separate Trunks from OutRoutes if you have SIM cards from two different providers, just create another Outbound Route remove one Trunk from trunk sequence of the first route that we created and add it to this new one. Submit.&lt;/p&gt;  &lt;p&gt;Also don’t forget in order &lt;u&gt;to receive calls&lt;/u&gt; you need to have Inbound Route setup on Asterisk/freepbx. To get you started just create new Incoming route set you destination to an extension or ring group or any other destionation you would like to transfer calls to.   &lt;br /&gt;  &lt;br /&gt;Only thing you left to do now is click Submit Changes then Apply Configuration Changes and pray for this to work.    &lt;br /&gt;  &lt;br /&gt;Hope this new configuration will work better.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/141408665823166080-2367322894668420576?l=xtittle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/2367322894668420576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=141408665823166080&amp;postID=2367322894668420576' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/2367322894668420576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/2367322894668420576'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/2009/02/updated-configuration-asterisk-freepbx.html' title='Updated trunk configuration Asterisk, freepbx and Portech MV-3xx'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-141408665823166080.post-3503349378404800542</id><published>2008-06-24T17:36:00.005+02:00</published><updated>2009-02-28T20:37:49.847+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Trixbox/FreePBX'/><title type='text'>Portech MV-372</title><content type='html'>&lt;p&gt;&lt;strong&gt;&lt;u&gt;UPDATE: This is old configuration you can try the new configuration in the post above&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The Portech MV-372 gave me a lot of headache configuring it right. The configuration for Asterisk specified in documentations wasn't an option for me, working as extension, two dial stages while it works but come on, dial the extension, wait for signal, dial the number...   &lt;br /&gt;On the net i found some non-working configs so i had to spend 4 days trying to make it work as a Trunk and not as an extension.    &lt;br /&gt;    &lt;br /&gt;Ok lets move on with configuration ;)    &lt;br /&gt;    &lt;br /&gt;First we will configure the Portech MV-372 i believe this configuration will also work with Portech MV-370.    &lt;br /&gt;    &lt;br /&gt;Login to your portech    &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Route     &lt;br /&gt;      &lt;ul&gt;       &lt;li&gt;&lt;span style="font-weight: bold"&gt;Mobile To Lan Settings:&lt;/span&gt;          &lt;br /&gt;Item | CID | URL          &lt;br /&gt;0 | * | 100          &lt;br /&gt;&lt;span style="font-style: italic"&gt;notes: in URL &lt;/span&gt;you put your extension of your asterisk you want call from mobile to go. It can be extension, ringgroup, ...          &lt;br /&gt;          &lt;br /&gt;&lt;/li&gt;        &lt;li&gt;&lt;span style="font-weight: bold"&gt;Lan To Mobile Settings:&lt;/span&gt;          &lt;br /&gt;Item | URL | Call Num          &lt;br /&gt;0 | * | #          &lt;br /&gt;&lt;span style="font-style: italic"&gt;notes: URL will match the IP address that will allow to dial through portech, since my server is behind NAT i allowed all IP, haven't try to specify IP. Call num # will receive the number dialed from ip(soft)phone.           &lt;br /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;     &lt;/ul&gt;     &lt;span style="font-style: italic"&gt;&lt;/span&gt;&lt;/li&gt;    &lt;li&gt;SIP Settings     &lt;br /&gt;      &lt;ul&gt;       &lt;li&gt;&lt;span style="font-weight: bold"&gt;Service Domain&lt;/span&gt;          &lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic"&gt;Mobile 1&lt;/span&gt; (Realm 1)          &lt;br /&gt;Display Name: Sim1          &lt;br /&gt;User Name: 1001          &lt;br /&gt;Register Name: 1001          &lt;br /&gt;Register Password: xxxxxx (choose a password)          &lt;br /&gt;Domain Server: 192.168.x.x (you asterisk IP)          &lt;br /&gt;Proxy Server: 192.168.x.x          &lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic"&gt;Mobile 2&lt;/span&gt; (Realm 1)          &lt;br /&gt;Display Name: Sim2          &lt;br /&gt;User Name: 1002          &lt;br /&gt;Register Name: 1002          &lt;br /&gt;Register Password: xxxxxx (choose a password)          &lt;br /&gt;Domain Server: 192.168.x.x (you asterisk IP)          &lt;br /&gt;Proxy Server: 192.168.x.x          &lt;br /&gt;          &lt;br /&gt;&lt;span style="font-style: italic"&gt;notes: Username and registername you can change it to your needs just have a note of them since you will be entering those in asterisk trunks.           &lt;br /&gt;            &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;        &lt;li&gt;&lt;span style="font-weight: bold"&gt;Port Settings&lt;/span&gt;          &lt;br /&gt;Just make sure SIP Port for Mobile 1 is 5060 and          &lt;br /&gt;SIP Port for Mobile 2 is 5062&lt;span style="font-style: italic"&gt;&lt;/span&gt;&lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt; Other settings are fine you may leave them as they are, only check Network (WAN) settings if you don't have DHCP or you need static ip for portech gsm gateway.  &lt;br /&gt;  &lt;br /&gt;Dont forget to save changes (should reboot after saving)  &lt;br /&gt;  &lt;br /&gt;Now lets move to Asterisk.  &lt;br /&gt;  &lt;br /&gt;Login to your FreePBX/Trixbox and add SIP Trunk  &lt;br /&gt;  &lt;br /&gt;Outbound Called ID: xxxxxxx (put you number here)  &lt;br /&gt;Maximum Channels: 1  &lt;br /&gt;go to Outgoing settings  &lt;br /&gt;  &lt;br /&gt;Trunk Name: SIM1 (i have called it that way)  &lt;br /&gt;PEER Details:  &lt;br /&gt;host=192.168.x.x (your Portech IP address)  &lt;br /&gt;type=peer  &lt;br /&gt;  &lt;br /&gt;Incoming Settings:  &lt;br /&gt;USER Context: 1001 (important must match username/registername at Sip settings of Portech)  &lt;br /&gt;USER Details:  &lt;br /&gt;type=friend  &lt;br /&gt;secret=xxxxxx (match SIP Settings password from Portech)  &lt;br /&gt;username=1001 (match SIP Settings from Portech)  &lt;br /&gt;qualify=yes  &lt;br /&gt;nat=yes  &lt;br /&gt;canreinvite=no  &lt;br /&gt;context=from-internal  &lt;br /&gt;host=192.168.x.x (Portech IP)  &lt;br /&gt;  &lt;br /&gt;And then just click Submit Changes (don't forget the Orange bar on top after you make changes in your server)  &lt;br /&gt;  &lt;br /&gt;Add another SIP Trunk for SIM2  &lt;br /&gt;  &lt;br /&gt;Outbound Called ID: xxxxxxx (put you number here)  &lt;br /&gt;Maximum Channels: 1  &lt;br /&gt;go to Outgoing settings  &lt;br /&gt;  &lt;br /&gt;Trunk Name: SIM2  &lt;br /&gt;PEER Details:  &lt;br /&gt;host=192.168.x.x (your Portech IP address)  &lt;br /&gt;type=peer  &lt;br /&gt;port=5062 (important - this is for Mobile 2, remmber Port Settings on Portech?)  &lt;br /&gt;  &lt;br /&gt;Incoming Settings:  &lt;br /&gt;USER Context: 1002 (important must match username/registername at Sip settings of Portech)  &lt;br /&gt;USER Details:  &lt;br /&gt;type=friend  &lt;br /&gt;secret=xxxxxx (match SIP Settings password from Portech)  &lt;br /&gt;username=1002 (match SIP Settings from Portech)  &lt;br /&gt;qualify=yes  &lt;br /&gt;nat=yes  &lt;br /&gt;canreinvite=no  &lt;br /&gt;context=from-internal  &lt;br /&gt;host=192.168.x.x (Portech IP)  &lt;br /&gt;port=5062  &lt;br /&gt;  &lt;br /&gt;Again apply changes.  &lt;br /&gt;  &lt;br /&gt;We're almost done. Now to make this work we have to create Outboud Route, so click Outbound Routes  &lt;br /&gt;Put Route name as you wish, i have called it Portech_1 (since i will add another and will make it Portech_2)  &lt;br /&gt;Dial Patterns: i have put 049XXXXXX because i want only mobile numbers from the same provider to go through this trunk (through Portech) i mean i want to cut the costs right? But because you don't have my gun on your head go ahead and do whatever it suits you.  &lt;br /&gt;  &lt;br /&gt;Trunk Sequence: i added SIP/SIM1 and SIP/SIM2  &lt;br /&gt;You can sepparate Trunks from OutRoutes if you have sim cards from two different providers, just create another Outbound Route remove one Trunk from trunk sequence of the first route that we created and add it to this new one.  &lt;br /&gt;  &lt;br /&gt;Only thing you left to do now is click Submit Changes then Apply Configuration Changes and pray for this to work.  &lt;br /&gt;  &lt;br /&gt;Hope it will work for you.    &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/141408665823166080-3503349378404800542?l=xtittle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/3503349378404800542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=141408665823166080&amp;postID=3503349378404800542' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/3503349378404800542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/3503349378404800542'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/2008/06/portech-mv-372.html' title='Portech MV-372'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-141408665823166080.post-649822798324768227</id><published>2008-06-24T16:01:00.004+02:00</published><updated>2008-06-25T11:38:27.102+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Trixbox/FreePBX'/><title type='text'>Me, company, voip...</title><content type='html'>Okay my first blog post, i am starting this Blog to post everything that involves my current job as an IT, so you can imagine that this will be only Tech Blog.&lt;br /&gt;&lt;br /&gt;Anyway what i first wanted to post is about VOIP specifically FreePBX/Asterisk/Trixbox&lt;br /&gt;&lt;br /&gt;My company is soon to switch to VOIP from traditional PBX and i am assinged to deal with it, make all configuration, preparation, choosing products, etc...&lt;br /&gt;&lt;br /&gt;I have decided i will go with Trixbox (asterisk) just that it is Open "source" not that i really have a clue on code that i could intervene but you can very easy find help around the net.&lt;br /&gt;&lt;br /&gt;I installed Trixbox on a VMWare ESX 3.5 server and it works prefectly&lt;span style="font-style: italic;"&gt;, &lt;/span&gt;we have ordered 20 Linksys SPA942 ip phones, 4 SPA 3102 for connecting PSTN lines and 3 x Linksys 24 port gigabit POE switches (just for ip phones) ... (kidding), 2 x GSM gateways Portech MV-372 and cant remmember at the moment what else.&lt;br /&gt;&lt;br /&gt;Enough of this, i'll soon start to post my configuration.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/141408665823166080-649822798324768227?l=xtittle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://xtittle.blogspot.com/feeds/649822798324768227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=141408665823166080&amp;postID=649822798324768227' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/649822798324768227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/141408665823166080/posts/default/649822798324768227'/><link rel='alternate' type='text/html' href='http://xtittle.blogspot.com/2008/06/me-company-voip.html' title='Me, company, voip...'/><author><name>Dream Th</name><uri>http://www.blogger.com/profile/13121213972023582554</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
