How do I manage a "trunk" and extension.

sebitas
Posts: 2
Member Since:
2010-10-08

Hi,

I´ve the following configuration. Tribox v2.8.0.4, Sangoma A200 with 2 FXO an 2 FXS.

I´ve plugged my land line to one of the FXO (red) and an analog phone to one of the FXS (green).

I´ve added some sip extensions 200, 201 and 300. Using X-lite I can call from 200 to 300 work fine.

I also added an incoming route from my land line (Shaw) to a fixed extension 200. There is also a trunk, ZAP/g0.

I can dial from 200 to 201 or 300 and it´s working.

I can dial from the analog phone to an extension but the analog phone does not have a extension assigned.

How do I do that? How do I assign an extension to the analog phone(FXS port)?

I can dial 9 and a phone number in the analog phone and the call goes through.

I can dial 9 and a phone number in the sip extension and the call goes through.

When I´ve an incoming call it shows up at extension 200 and I can answer it. I even have the caller ID.

I don´t know how do I configure/name each of my two FXO ports.

How do I configure each of the FXO ports in the card?

Thanks for your help.

Sebastian.
---------------- Details --------------------
Version
Asterisk 1.6.0.26-FONCORE-r78 built by root @ revisor.trixbox.com on a i686 running Linux on 2010-06-08 22:01:27 UTC

Trunk ZAP/g0

Incoming Route
Shaw any DID / any CID
Extension -> 200

Sip Peers
Name/username Host Dyn Nat ACL Port Status
300/300 192.168.1.111 D N A 12902 OK (7 ms)
201/201 192.168.1.214 D N A 49166 OK (1 ms)
200/200 192.168.1.236 D N A 14328 OK (15 ms)
3 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 0 offline]

Dahdi driver info
Chan Extension Context Language MOH Interpret Blocked State
pseudo from-zaptel en default In Service
1 from-internal en default In Service
2 from-internal en default In Service
3 from-zaptel en default In Service
4 from-zaptel en default In Service

Subscribe/Notify
-= Registered Asterisk Dial Plan Hints =-
*76200@ext-dnd-hints : Custom:DEVDND200 State:Unavailable Watchers 0
*76201@ext-dnd-hints : Custom:DEVDND201 State:Unavailable Watchers 0
*76300@ext-dnd-hints : Custom:DEVDND300 State:Unavailable Watchers 0
*21200@ext-findmefollow : Custom:FOLLOWME200 State:Unavailable Watchers 0
*21201@ext-findmefollow : Custom:FOLLOWME201 State:Unavailable Watchers 0
*21300@ext-findmefollow : Custom:FOLLOWME300 State:Unavailable Watchers 0
200@ext-local : SIP/200&Custom:DND20 State:Idle Watchers 0
201@ext-local : SIP/201&Custom:DND20 State:Idle Watchers 0
300@ext-local : SIP/300&Custom:DND30 State:Unavailable Watchers 0



SkykingOH
Posts: 9681
Member Since:
2007-12-17
You need to define a Zap

You need to define a Zap extension for the FXS port. Analog ports need a default inbound route. If you want to route per port use the Zap DID module.

--

Scott

aka "Skyking"



sebitas
Posts: 2
Member Since:
2010-10-08
I do not know how to...

add a Zap extension for the FXS port.

Could you please tell me how?

Thanks in advance.



jas_williams
Posts: 205
Member Since:
2007-05-13
In the PBX Module Select

In the PBX Module

Select Extensions

Add New Extension select the type as Zap and the channel number 1 for the first port and channel number 2 for the second port. You can then assign the extension number here.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.