configuration translation

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

configuration translation

Postby gullio » Sat Aug 15, 2015 1:51 am

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:

Code: Select all
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          |



Code: Select all
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
gullio
Newsterisk
 
Posts: 1
Joined: Sat Aug 15, 2015 1:35 am

Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 1 guest