[OpenSIPS-Users] Opensips integration with asterisk

John Tuxies atuxnull at gmail.com
Mon Aug 19 05:41:26 EDT 2019


i am trying for some time now to integrate Opensips with Asterisk, but
without success. I have seen the links to the Opensips blog for Asterisk
integration, but it is outdated both for Opensips and Opensips.
What i am trying to achieve is a box running Opensips with control panel
and another box with Asterisk. The reason for that is to enhance the users
with services such as IVR, Voicemail, email to voicemail, faxing,....etc
Up to now i managed to create users in Opensips and register on that. Also
they are able to make calls between them. The numbering plan is 30XX and
the port on the system is 5060. Then i have another box with Asterisk that
has the port as 55060 and the numbering plan is 30XX and every time a user
is created in Opensip's CP then i create the same user in Asterisk, eg
Opensips 3000(port 5060) and Asterisk 3000(port 55060).
Then on the Asterisk box i made the following:
Created a trunk to Opensips

[Opensips]
type=peer
host=192.168.1.113
context=from-opensips
insecure=port,invite
disallow=all
allow=alaw, g729, g722, ulaw
deny=0.0.0.0/0.0.0.0
permit=192.168.1.113/255.255.255.255


The problem is that i cannot see the call in Asterisk's terminal when 2
users call each other.
Also , i have a couple of ITSPs in Asterisk that require username/passwd
and thet have a FQDN. While in Asterisk registered the user can access the
first ITSP with the following prefixes 0 and 1 respectively. Is there any
way to allow the Opensips registered users dial 0 or 1 as prefix and place
outgoing calls through ITSP 0 or 1, please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190819/42fa7b81/attachment.html>


More information about the Users mailing list