[OpenSIPS-Users] DIDs and DR ROUTING

Nick Khamis symack at gmail.com
Mon Feb 4 20:49:13 CET 2013

Hello Bogaden,

Thank you so much for your response. I know you're a busy individual
so I will try to take the least amount of your efforts.

In regards to DID routing using DR. The issue is that, it's not the
DID number that is being set as RURI, but actually the caller's
number. For this reason .* could have been helpful for
dr_groups.username however, I understand that such functionality has
been pushed up to the script. With that in mind, all that is known for
sure is the IP address of the DID provider. Since a lot of the third
part tutorials have become dated, and I am not yet familiar with avps,
an example on how to handle this using $avp would be greatly

As for "<sip:1001 at server.exaple.com@server.example.com:5060>  (51)", I
get this when asterisk passes the INVITE back to OpenSIPS. I was able
to fix this by modifying sip_buddies.defaultuser from
'1001 at server.example.com" to 1001. What I have now is an evil loop
that passes the INVITE back and forth between OpenSIPS and Asterisk. I
understand that this is a separate issue.

Your help is greatly appreciated,


More information about the Users mailing list