hello,
i need an help to translate what i have done in freepbx to asterisk sip.conf/extensions.conf.
what i need to do is:
1.create a custom trunk
2. create a inbound route to point to the custom trunk
here is the incoming route and custom trunk i have on db in freepbx:
mysql> select * from incoming;
+--------+-------------+----------------+----------+----------+--------+------+------------+-----------+---------+----------+---------------------+--------+--------------+--------+--------------+-------------+
| cidnum | extension | destination | faxexten | faxemail | answer | wait | privacyman | alertinfo | ringing | mohclass | description | grppre | delay_answer | pricid | pmmaxretries | pmminlength |
+--------+-------------+----------------+----------+----------+--------+------+------------+-----------+---------+----------+---------------------+--------+--------------+--------+--------------+-------------+
| | 0x2x1x7x8x8 | ext-trunk,4,1 | NULL | NULL | NULL | NULL | 0 | | | default | Owums_M | | 0 | | 3 | 10 |
mysql> select * from trunks;
+---------+------------------------+--------+-------------+---------+----------+------------+---------------+--------------------------------+----------------+----------+----------+----------+
| trunkid | name | tech | outcid | keepcid | maxchans | failscript | dialoutprefix | channelid | usercontext | provider | disabled | continue |
+---------+------------------------+--------+-------------+---------+----------+------------+---------------+--------------------------------+----------------+----------+----------+----------+
| 3 | custom_owums | custom | 0x2x1x7x8x8 | off | | | | SIP/$OUTNUM$@192.168.1.150:5060 | notneeded | | off | on |
i need to translate those configuration on simple text config.
thanks a lot