Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7936641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:16:40+00:00 2026-06-03T22:16:40+00:00

I have a SIP messsage.And I must take some parameter this SIP message. SIP

  • 0

I have a SIP messsage.And I must take some parameter this SIP message.

SIP Message:

INVITE sip:103@192.168.1.33:5002 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.33:5060;branch=z9hG4bK-d8754z-be6b8b6e6a23b03f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:102@192.168.1.33:5060>
To: <sip:103@192.168.1.33:5060>
From: "102"<sip:102@192.168.1.33:5060>;tag=653bd245
Call-ID: NjY1NzU1YTZhZjIzMTYwM2MxMWY5YWNlZDM1MmEwZTg.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 10.0.23053.0
Content-Length: 855

v=0
o=3cxPS 257748369408 287175606273 IN IP4 192.168.1.33
s=3cxPS Audio call
c=IN IP4 192.168.1.33
t=0 0
m=audio 5007 RTP/AVP 8 0 101 98 9 3 100 97 103 15 4 104 105 106 107 18
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=30
a=rtpmap:9 G722/8000
a=fmtp:9 bitrate=64000
a=rtpmap:3 GSM/8000
a=rtpmap:100 SPEEX/16000
a=rtpmap:97 SPEEX/8000
a=rtpmap:103 L16/8000
a=rtpmap:15 G728/8000
a=rtpmap:4 G723/8000
a=rtpmap:104 G726-16/8000
a=rtpmap:105 G726-24/8000
a=rtpmap:106 G726-32/8000
a=rtpmap:107 G726-40/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=sendrecv
m=video 5009 RTP/AVP 102 99 34
a=rtpmap:102 H263-1998/90000
a=fmtp:102 QCIF=1;CIF=1
a=rtpmap:99 H264/90000
a=fmtp:99 packetization-mode=1
a=rtpmap:34 H263/90000
a=fmtp:34 QCIF=1;CIF=1
a=sendrecv

İn message,
in ‘From’ parameter,'”102″‘ place by.

And
in ‘Contact’ parameter,’102@192.168.1.33′ place by.

How can I do for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:16:42+00:00Added an answer on June 3, 2026 at 10:16 pm

    Here are the regex:

    From: +"(.+?)"
    

    This would put 102 in capturing group 1.

    Contact: +<sip:(.+)?:.+>
    

    This would put ‘102@192.168.1.33’ in capturing group 1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developping a SIP application, and i must have a connection to test if
I have an app based on pjsip for doing some Sip calls. The app
I have gone through SIP Manager Documentation , it says - Not all Android-powered
I am writing a SIP server, and I have it taking calls and then
Have a look at this picture alt text http://www.abbeylegal.com/downloads/2009-04-01/web%20part%20top%20line.jpg Does anyone know what css
I currently have written an API to a SIP phone system, and would like
I have a small issue, I had my SIP client working, and I changed
Does anyone have any docs/guides/code samples on implementing an SIP based IP or video
gcc 4.4.3 c89 I have the following string sip:12387654345443222118765@xxx.xxx.xxx.xxx How can I extract just
I have implemented ntlmv2 for lync-server login in an custom made lync client.The message

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.