[Spce-user] Peer outbound_from_user changes

Matthew Ogden matthew at tenacit.net
Tue Apr 23 16:34:46 EDT 2013

Thanks Andrew,

I had actually written about 2 hours ago that I found it around  line 4413
in the in (version 2.8). But dinner was calling!

I see the manual is a little out dated
Still says, that you need to manually configure authentication which is
not true, plus you are able to configure a lot more in 2.8 than in 2.5.

Like you say, the framework for adding it as a drop down is at least there
now. (I don't fully understand all those other options though yet)

I imagine at some point I could start assisting in such a thing. Can
anyone add to the projects? Or would one add it to your own and give you
guys the SVN/GIT patch?

Granted, I think passing the CLI in the user of the URI is not common
internationally? Seems to be the modus operandi here. And not everyone is
supporting IP authentication, some of them do require user auth - so I
have to modify it.


> -----Original Message-----
> From: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com]
> Sent: 23 April 2013 09:29 PM
> To: Matthew Ogden
> Cc: spce-user at lists.sipwise.com
> Subject: Re: [Spce-user] Peer outbound_from_user changes
> On 04/22/2013 09:50 PM, Matthew Ogden wrote:
> >                # $var(caller_cli_userprov_uri) = "sip:" +
> > $avp(s:peer_peer_caller_auth_user) + "@" +
> > $avp(s:peer_peer_caller_auth_realm);
> >
> > [...]
> > You guys have written this  quite efficiently in 2.8 so that there is
> > a host of choices you have.
> >
> > User CLI is not one of them from what I can see.
> Actually this line is still there, just in another place/ other
>         $var(out_from_display) = $var(ccli_user);
>         if($var(to_pstn) == 1 && isbflagset(FLB_PEERAUTH))
>         {
>                 $var(caller_uri) = "sip:" +
> $avp(s:peer_peer_caller_auth_user) + "@" +
> $avp(s:peer_peer_caller_auth_realm);
>         }
> in ROUTE_SET_CLI_CALLER. You can comment it out..
> > However, in the mean time, I'm not able to see exactly where I can
> > replace this just for one of my peers that requires the usercli to be
> > in the outbound user (but not in the authentication).
> Right, there is not much flexibility with peer authentication at the
> if you have peer credentials configured, you either replace From with
> or not, on global system level. Looking at the route above, you can try
> workaround it or add another option in drop-down list. We will consider
> some improvements in the next release.
> Andrew

More information about the Spce-user mailing list