Hi,
o Alex Mikh on 06/22/2011 07:37 PM:
Hi when i first tried B2B.connectCallee i received 407 proxy
authentication.
Then i noticed that i should load auth_b2b module , put the user,
domain and password there, and use the B2B.setHeaders, but still not
working.
what is the problem !
B2B.setHeaders("P-u: myuser\r\nP-d: iptel.org\r\nP-p: mypass\r\n",true)
B2B.connectCallee("sip:[email protected]", "sip:[email protected]")
the DSM B2B.connectCallee() action does not support authentication for
the second call leg.
You can either place an outgoing call using dlg.dialout from mod_dlg
and connect the two calls by joining the audio.
Or you can route the call through the sbc module (in the same SEMS
instance or in another), which can do SIP authentication - use the
auth_sbc profile (auth_b2b.sbcprofile.conf) which works with the way
you set the headers; you would possibly use something like:
B2B.setHeaders("P-App-Param:
u=myuser;d=iptel.org;p=mypass\r\nP-App-Name: sbc",true)
B2B.connectCallee("sip:[email protected]:5080",
"sip:[email protected]:5080")
hth
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems