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



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to