Contact header needs phone number instead of "s"

Hello all!

First, I really appreciate any and all help, and thanks in advance. I’m pulling out my hair.

REGISTER sip: SIP/2.0

Via: SIP/2.0/UDP myip:5060;branch=z9hG4bK242deecd;rport

Max-Forwards: 70

From: <sip:8032[email protected]>;tag=as2710df9e

To: <sip:[email protected]>

Call-ID: [

CSeq: 103 REGISTER

Supported: replaces, timer

User-Agent: FPBX-14.0.3.6(13.19.1)

Authorization: Digest username="8032893046", realm="", algorithm=MD5, uri="sip:", nonce="BroadWorksXjlnuv0xgTjvmfg6BW", response="80745c99a3c41e6c730cd8bb71432fa9", qop=auth, cnonce="471be31a", nc=00000001

Expires: 3600

Contact: sip:s @ myip:5060

Content-Length: 0

My provider is saying that the contact header needs to have 8032893046 in it instead of the “s” that it has in it today. I did some research, and I found that this can be solved by putting an extension in the register string. When I do that however, the registration to the provider starts failing. Is there any other way to do it?

Thanks!

Assuming a chan_sip trunk, if you change the Register String from
8032893046:[email protected]
to
8032893046:[email protected]/8032893046
the only thing that should change is the Contact header. You can confirm this with your SIP trace.

If changing only the Contact header causes the registration to fail, IMO that’s a provider issue and you should work it out with them.

Alternatively, what goes wrong when you leave the ‘s’? If incoming calls reach your system, you should be able to change the trunk context to from-pstn-toheader and have your incoming routes work properly.

Hey,

Thanks so much for the help!

So basically, what it boiled down to. The password that was supplied to me by the provider had an @ sign in it, and I think the @ sign confused the registration process. Once we changed it to a different special character, we’ve got past that particular issue. In other words, you were right, provider issue.

Thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.