Jump to content

Extended Mode


Recommended Posts

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




My user may be sip:1000@sip.provider.com - but I alias a PSTN phone number to that e.g. sip:00123123@sip.provider.com


There is a trunk configured on the PBX to provider.com that registers using user 1000.


If I call sip:00123123@sip.provider.com calls come in as;


INVITE sip:1000@ SIP/2.0

From: "Test" <sip:2000@sip.provider.com>;tag=7349e455

To: <sip:00123123@sip.provider.com>;tag=29226


Where sip:00123123@sip.provider.com 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)?

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...