joeh Posted February 22, 2007 Report Share Posted February 22, 2007 I operate a SIP Proxy server. Often, to assign PSTN numbers to users I alias the PSTN number to their UserID. In this instance, the user has a PBXnSIP box configured with domain.local e.g. My user may be sip:firstname.lastname@example.org - but I alias a PSTN phone number to that e.g. sip:email@example.com There is a trunk configured on the PBX to provider.com that registers using user 1000. If I call sip:firstname.lastname@example.org calls come in as; INVITE sip:email@example.com:5060 SIP/2.0 From: "Test" <sip:firstname.lastname@example.org>;tag=7349e455 To: <sip:email@example.com>;tag=29226 Where sip:firstname.lastname@example.org is the alias. I've tried a few different expressions. Does the pattern take into account the sip: prefix, the domain - or just the user portion? Whats the most simple way to say, match the user portion (in this case 00123123)? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.