[OpenSIPS-Users] Need help for Call to another network

John Quick John.Quick at smartvox.co.uk
Mon Jan 4 10:51:48 CET 2010


Ahmed,

One way to avoid the problem of Asterisk returning 491 Request Pending would be to authenticate the
call between the UA and Opensips (see proxy_authorize and proxy_challenge functions in modules auth
and auth_db) then relay it to Asterisk with IP address authentication only. i.e. so Asterisk trusts
all INVITE requests sent to it by Opensips. The peer definition in Asterisk would then look like this:
 [opensips]
 type=peer
 insecure=invite
 context=whatever
 host=yy.yy.179.54

For this to work, the UAC credentials must be known to Opensips. They would usually be stored in the
subscriber table. If the UA registers, then it registers with Opensips, not Asterisk.

John Quick
Smartvox Limited





More information about the Users mailing list