[OpenSIPS-Users] DIDs and DR ROUTING

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 4 18:54:04 CET 2013


Hi Nick,

On 02/02/2013 08:34 PM, Nick Khamis wrote:
> Hello Everyone,
>
> We use DR routing for outbound and everything is working well. Without
> compromising
> security or hacking away scripts in the cfg, we would like to use
> similar DR routing for inbound calls (i.e., DIDs).
>
> With that being said, I am an unclear as to how to manage DIDs using
> DR routing since "fu=sip:<callee's number>@did server provider ip>".
What is the problem here ^^^^ ? if you have the DID in RURI, you can 
simply call do_routing("1") (assuming you put all your DIDs in group 1). 
Additionally, you may pass the L and C flags - see 
http://www.opensips.org/html/docs/modules/1.9.x/drouting.html#id293614

> Another issue I am seeing with inbound is the following:
>
>   ERROR:core:parse_uri: bad char '@' in state 5 parsed:
> <sip:1001 at server.example.com>  (27) /
> <sip:1001 at server.exaple.com@server.example.com:5060>  (51)
When do you get this ?

Regards,
Bogdan
> Before I dig in, I wanted to check early on you guys feel if this
> would be an issue with our DNS @ record, or is it something wrong in
> the script.
>
> Sorry for the vague and general discussion. Just breaking the ice, and
> awaiting further requests.
>
> Thanks in Advance!
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list