<div dir="ltr"><div>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.</div><div>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<br></div><div>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).</div><div>Then on the Asterisk box i made the following:</div><div>Created a trunk to Opensips <br></div><br><div>[Opensips]<br>type=peer<br>host=192.168.1.113<br>context=from-opensips<br>insecure=port,invite<br>disallow=all<br>allow=alaw, g729, g722, ulaw<br>deny=<a href="http://0.0.0.0/0.0.0.0">0.0.0.0/0.0.0.0</a><br>permit=<a href="http://192.168.1.113/255.255.255.255">192.168.1.113/255.255.255.255</a><br></div><div><br></div><div><br></div><div>The problem is that i cannot see the call in Asterisk's terminal when 2 users call each other. <br></div><div>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?</div><div><br></div><div><br></div></div>