Heya,
I'm looking at implementing a few SipX boxes. These boxes will be registering phones that will be behind firewalls. Currently the SipX support for NAT is rather limited, therefore I'm looking at supplementing SipX with SER on the front-end, basically using OpenSER as an SBC to sort out the NAT for the clients. Does anyone have any configurations that are similar to this configuration before I start from scratch, or even a good starting point?
Cheers, Chris.
Hi,
in my setup userid's are the same as phonenumbers in pstn. so when someone registers with userid 012345, 012345 is his phonenumber. so everyone can call him from the pstn and and 012345 is his calling number.
my problem is, when someone uses 6543210 phonenumber in his sip client, openser only creates a contact with 6543210 as username. so he could be reached with 6543210 and can make calls with this calling number.
since my accounting works with the userid's i've added to the pstn-gw, i solved the problem for outgoing calls with changing the from-url:
avp_printf("i:50", "sip:$au@$fd:5060"); uac_replace_from("$avp(i:50)");
but what can i do with incoming calls? could i create an alias for a user when he registers?
Hello,
On 02/22/06 16:50, martin@campus-merseburg.de wrote:
Hi,
in my setup userid's are the same as phonenumbers in pstn. so when someone registers with userid 012345, 012345 is his phonenumber. so everyone can call him from the pstn and and 012345 is his calling number.
my problem is, when someone uses 6543210 phonenumber in his sip client, openser only creates a contact with 6543210 as username. so he could be reached with 6543210 and can make calls with this calling number.
since my accounting works with the userid's i've added to the pstn-gw, i solved the problem for outgoing calls with changing the from-url:
avp_printf("i:50", "sip:$au@$fd:5060"); uac_replace_from("$avp(i:50)");
if you do not use the $avp(i:50) further in the script then you can use directly:
uac_replace_from("sip:$au@$fd:5060");
but what can i do with incoming calls? could i create an alias for a user when he registers?
You do not need to create an alias for the user when he register. Just canonize the R-URI to the ID of the user used at registration and then do the location lookup, or is there other scope for this alias, for what do you want to use the alias?
Cheers, Daniel
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Am 23.2.2006 schrieb "Daniel-Constantin Mierla" daniel@voice-system.ro:
Hi,
in my setup userid's are the same as phonenumbers in pstn. so when someone registers with userid 012345, 012345 is his phonenumber. so everyone can call him from the pstn and and 012345 is his calling number.
my problem is, when someone uses 6543210 phonenumber in his sip client, openser only creates a contact with 6543210 as username. so he could be reached with 6543210 and can make calls with this calling number.
since my accounting works with the userid's i've added to the pstn-gw, i solved the problem for outgoing calls with changing the from-url:
avp_printf("i:50", "sip:$au@$fd:5060"); uac_replace_from("$avp(i:50)");
if you do not use the $avp(i:50) further in the script then you can use directly:
uac_replace_from("sip:$au@$fd:5060");
ah thanks.
but what can i do with incoming calls? could i create an alias for a user when he registers?
You do not need to create an alias for the user when he register. Just canonize the R-URI to the ID of the user used at registration and then do the location lookup, or is there other scope for this alias, for what do you want to use the alias?
since the location saves the 6543210 id. so a incoming call to 0123456 doesnt work.
Hello,
On 02/22/06 13:42, Chris Roberts wrote:
Heya,
I'm looking at implementing a few SipX boxes. These boxes will be registering phones that will be behind firewalls. Currently the SipX support for NAT is rather limited, therefore I'm looking at supplementing SipX with SER on the front-end, basically using OpenSER as an SBC to sort out the NAT for the clients. Does anyone have any configurations that are similar to this configuration before I start from scratch, or even a good starting point?
you have to run user location service on openser to be able to go through the NATs. With the development version, using the PATH extension you could get openser mange the nat traversal from a central point relying on several other openser instances used as SBC.
Cheers, Daniel
Cheers, Chris.