Dear All, I am not sure who is an expert in PBX/ FS and who isnt but I dont know that I certainly am not J in light of that I really need some help getting things moving with this system. Just before I start, I want to say that the wiki isnt the be-all and end all in terms of answers. I have read the wiki many times and steps for setup are left out. So people like myself struggle and fiddle without actually understanding what they are doing. Here is what I have and what I need help with I have 3 computers. 1. Server @ 192.168.43.111 2. Softphone @ 192.168.43.5 ext 1207 3. Softphone @ 192.168.43.6 ext 1208 4. And a Linksys SPA-3120 @ 192.168.43.3 5. My router/ default gateway is at 192.168.43.1 I have setup the router and the server fine. The two softphones have x-lite installed and are registering correctly and I can make call between them. I have also configure the public.xml file in the dialplan directory to accept my custom extension of 1208, 1207 <extension name="public_extensions"> <condition field="destination_number" expression="^([1-9][0-9][0-9][0-9])$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> The next step for my project is to get setup incoming and outgoing calls for the Linksys SPA 3120 Here is what I have done To the directory I have created a custom extension 1207, 1208 and sippura Sippura looks like this <include> <user id="1200"> <gateway name="sippura"> <param name="username" value="1200"/> <param name="password" value="1200"/> <param name="proxy" value="192.168.43.3"/> </gateway> </user> </include> To the default.xml file in the dialplan directory I have added this <extension name="Outbound - Linksys"> <condition field="destination_number" expression="^(1{0,1}\d{10})$"> <action application="set" data="effective_caller_id_number=12223334444"/> <!-- If your provider does not provide ringback (180 or 183) you may simulate ringback by uncommenting the following line. --> <!-- action application="ringback" /--> <action application="bridge" data="sofia/gateway/sippura/$1@192.168.43.3"/> </condition> </extension> To the public.xml file in the dialplan directory I have added this <extension name="sippura"> <condition field="destination_number" expression="^(0283472006)$"> <action application="transfer" data="$1 XML default"/> </condition> </extension> To the sip_profiles directory I have added a file call sippura.xml This file contains <include> <gateway name="sippura"> <param name="username" value="1200"/> <param name="password" value="1200"/> <param name="extension" value="sippura"/> <param name="proxy" value="192.168.43.3"/> </gateway> </include> è I know I have setup my gateway correctly as I know how to do this from previous attempts with other PBX software, but just for your information the Username, password and User ID is all 1200 What I need is someone to comment on my steps by saying dont need this or you left out line x and please add the line in. I promise once this is sorted I will submit a compelte walkthrough to the wiki for all hopeless newbies like myself J Looking forward to your help Ilan Perez Sydney Australia
participants (1)
-
Ilan Perez