Jump to content

snomone free and ibm sametime


bopedibop

Recommended Posts

Hi

 

Iam setting up a ibm sametime solution, I can make call in the sametime between two clients.

 

I set a snom one free server, i can make a call between clients.

 

In the sametime media manager I configured it like this

 

inbound rule

 

Method=INVITE

Source Address=10.46.30.141

 

sip:10.46.30.193:5060;transport=tcp

inbound route

 

 

outbound

 

outbound

Method=INVITE

RequestURI=sip:(.*)

 

Request-URI pattern=sip:(.+)@.*

Output pattern=$1@10.46.30.141

outbound route

 

 

(I did get it to work once, to amke a call from sametime to snom but then i reinsalled everything...)

 

 

 

 

 

# Trunk 3 in domain stmm.domain.net

Name: stmm

Type: proxy

To: sip

RegPass: ********

Direction:

Disabled: false

Global: false

Display: stmm.domain.net

RegAccount:

RegRegistrar: 10.46.30.193

RegKeep:

RegUser:

Icid:

Require:

OutboundProxy: sip:10.46.30.193:5060;transport=tcp

Ani:

DialExtension:

Prefix:

Trusted: false

AcceptRedirect: false

RfcRtp: false

Analog: false

SendEmail:

UseUuid: false

Ring180: false

Failover: never

Privacy: pai

Glob:

RequestTimeout:

Codecs:

CodecLock: true

Expires: 3600

FromUser:

Tel: true

TranscodeDtmf: false

AssociatedAddresses:

InterOffice: false

DialPlan:

Colines:

DialogPermission:

 

In the sametime phone i type sip:44@10.46.30.141

 

I dont know what to look for, please help me, i woudl love to get this to work.

 

Thanks

 

\

 

Edit

 

I had a typo in the Output pattern=$1@10.46.30.141 it should be Output pattern=sip:$1@10.46.30.141

 

But iam still not able to make a call.

Edited by bopedibop
Link to comment
Share on other sites

Hi

 

Iam setting up a ibm sametime solution, I can make call in the sametime between two clients.

 

I set a snom one free server, i can make a call between clients.

 

In the sametime media manager I configured it like this

 

inbound rule

 

Method=INVITE

Source Address=10.46.30.141

 

sip:10.46.30.193:5060;transport=tcp

inbound route

 

 

outbound

 

outbound

Method=INVITE

RequestURI=sip:(.*)

 

Request-URI pattern=sip:(.+)@.*

Output pattern=$1@10.46.30.141

outbound route

 

 

(I did get it to work once, to amke a call from sametime to snom but then i reinsalled everything...)

 

 

 

 

 

# Trunk 3 in domain stmm.domain.net

Name: stmm

Type: proxy

To: sip

RegPass: ********

Direction:

Disabled: false

Global: false

Display: stmm.domain.net

RegAccount:

RegRegistrar: 10.46.30.193

RegKeep:

RegUser:

Icid:

Require:

OutboundProxy: sip:10.46.30.193:5060;transport=tcp

Ani:

DialExtension:

Prefix:

Trusted: false

AcceptRedirect: false

RfcRtp: false

Analog: false

SendEmail:

UseUuid: false

Ring180: false

Failover: never

Privacy: pai

Glob:

RequestTimeout:

Codecs:

CodecLock: true

Expires: 3600

FromUser:

Tel: true

TranscodeDtmf: false

AssociatedAddresses:

InterOffice: false

DialPlan:

Colines:

DialogPermission:

 

In the sametime phone i type sip:44@10.46.30.141

 

I dont know what to look for, please help me, i woudl love to get this to work.

 

Thanks

 

\

 

Edit

 

I had a typo in the Output pattern=$1@10.46.30.141 it should be Output pattern=sip:$1@10.46.30.141

 

But iam still not able to make a call.

 

 

I have changed it to

 

outbound route

 

Method=INVITE

RequestURI=sip:700(.*)

 

Request-URI pattern=sip:700(.+)@.*

Output pattern=sip:700$1@10.46.30.141

outbound route

 

In snow free log i get this

 

 

 

 

 

012/11/09 10:06:53: SIP Rx udp:10.46.30.125:60247:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-3f767807af004019-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:7000@10.46.30.125:60247;rinstance=afa388dd6f5ddaa7>

To: "7000"<sip:7000@10.46.30.141:5060>

From: "7000"<sip:7000@10.46.30.141:5060>;tag=7232d617

Call-ID: MGE2NWVhYTk0MDRkNzhjOWM0OTA0NTdiOTIwY2M1MmY.

CSeq: 1 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Content-Length: 0

 

[5] 2012/11/09 10:06:53: SIP Tx udp:10.46.30.125:60247:

SIP/2.0 401 Authentication Required

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-3f767807af004019-1---d8754z-;rport=60247

From: "7000" <sip:7000@10.46.30.141:5060>;tag=7232d617

To: "7000" <sip:7000@10.46.30.141:5060>;tag=1fa151eda3

Call-ID: MGE2NWVhYTk0MDRkNzhjOWM0OTA0NTdiOTIwY2M1MmY.

CSeq: 1 REGISTER

User-Agent: snom-PBX/4.2.0.3958

WWW-Authenticate: Digest realm="10.46.30.141",nonce="abeb42a02c9a535bc6a35445dbc15765",domain="sip:10.46.30.141:5060",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/09 10:06:53: SIP Rx udp:10.46.30.125:60247:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-703ebd3d1477f01e-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:7000@10.46.30.125:60247;rinstance=afa388dd6f5ddaa7>

To: "7000"<sip:7000@10.46.30.141:5060>

From: "7000"<sip:7000@10.46.30.141:5060>;tag=7232d617

Call-ID: MGE2NWVhYTk0MDRkNzhjOWM0OTA0NTdiOTIwY2M1MmY.

CSeq: 2 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="7000",realm="10.46.30.141",nonce="abeb42a02c9a535bc6a35445dbc15765",uri="sip:10.46.30.141:5060",response="4b4ab67c5d094bc5491fdd076bad19ad",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/09 10:06:53: SIP Tx udp:10.46.30.125:60247:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-703ebd3d1477f01e-1---d8754z-;rport=60247

From: "7000" <sip:7000@10.46.30.141:5060>;tag=7232d617

To: "7000" <sip:7000@10.46.30.141:5060>;tag=1fa151eda3

Call-ID: MGE2NWVhYTk0MDRkNzhjOWM0OTA0NTdiOTIwY2M1MmY.

CSeq: 2 REGISTER

Contact: <sip:7000@10.46.30.125:60247;rinstance=afa388dd6f5ddaa7>;expires=122

Date: Fri, 9 Nov 2012 15:06:53 GMT

Content-Length: 0

 

[5] 2012/11/09 10:06:53: SIP Rx udp:10.46.30.125:60247:

SUBSCRIBE sip:7000@10.46.30.141:5060;transport=UDP SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-6c0ead452378ba41-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:7000@10.46.30.125:60247;rinstance=afa388dd6f5ddaa7>

To: "7000"<sip:7000@10.46.30.141:5060>

From: "7000"<sip:7000@10.46.30.141:5060>;tag=f90a6f5d

Call-ID: NmM1ZGI1ZTYzMzQ0YTAxYTY0YzAyYWY3MDFhNDA0MTA.

CSeq: 1 SUBSCRIBE

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Event: message-summary

Content-Length: 0

 

[5] 2012/11/09 10:06:53: SIP Tx udp:10.46.30.125:60247:

SIP/2.0 401 Authentication Required

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-6c0ead452378ba41-1---d8754z-;rport=60247

From: "7000" <sip:7000@10.46.30.141:5060>;tag=f90a6f5d

To: "7000" <sip:7000@10.46.30.141:5060>;tag=0697eb6b91

Call-ID: NmM1ZGI1ZTYzMzQ0YTAxYTY0YzAyYWY3MDFhNDA0MTA.

CSeq: 1 SUBSCRIBE

User-Agent: snom-PBX/4.2.0.3958

WWW-Authenticate: Digest realm="10.46.30.141",nonce="38a2580be9e92da50da911c61e12fbc8",domain="sip:7000@10.46.30.141:5060;transport=UDP",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/09 10:06:54: SIP Rx udp:10.46.30.125:60247:

SUBSCRIBE sip:7000@10.46.30.141:5060;transport=UDP SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-010a1c390e63925a-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:7000@10.46.30.125:60247;rinstance=afa388dd6f5ddaa7>

To: "7000"<sip:7000@10.46.30.141:5060>

From: "7000"<sip:7000@10.46.30.141:5060>;tag=f90a6f5d

Call-ID: NmM1ZGI1ZTYzMzQ0YTAxYTY0YzAyYWY3MDFhNDA0MTA.

CSeq: 2 SUBSCRIBE

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="7000",realm="10.46.30.141",nonce="38a2580be9e92da50da911c61e12fbc8",uri="sip:7000@10.46.30.141:5060;transport=UDP",response="2ae855592f676d838fda1528f12318bf",algorithm=MD5

Event: message-summary

Content-Length: 0

 

[5] 2012/11/09 10:06:54: SIP Tx udp:10.46.30.125:60247:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:60247;branch=z9hG4bK-d8754z-010a1c390e63925a-1---d8754z-;rport=60247

From: "7000" <sip:7000@10.46.30.141:5060>;tag=f90a6f5d

To: "7000" <sip:7000@10.46.30.141:5060>;tag=0697eb6b91

Call-ID: NmM1ZGI1ZTYzMzQ0YTAxYTY0YzAyYWY3MDFhNDA0MTA.

CSeq: 2 SUBSCRIBE

Contact: <sip:10.46.30.141:5060;transport=udp>

Date: Fri, 9 Nov 2012 15:06:54 GMT

Expires: 120

Content-Length: 0

 

[5] 2012/11/09 10:07:01: SIP Rx udp:10.46.30.193:5080:

INVITE sip:7000@10.46.30.141 SIP/2.0

Allow-Events: stconf-event

Via: SIP/2.0/UDP stmm.domain.net:5080;rport;ibmsid=local.1352465163078_769_1436;branch=z9hG4bK50659518994488

Via: SIP/2.0/TCP stmm.domain.net:5060;rport=3140;ibmsid=local.1352465163078_766_1435;branch=z9hG4bK261585331576879;received=10.46.30.193

Contact: <sip:stmm.domain.net:5060;transport=tcp>

From: "kalle anka" <sip:6001@stmm.domain.net;placeid=222672439807135623;endpoint=client>;tag=07584562215323865_local.1352465163078_766_1435

To: <sip:7000@10.46.30.141>

Call-ID: 3598135706161285@10.46.30.193

Max-Forwards: 69

CSeq: 2 INVITE

Content-Type: application/sdp

Content-Length: 559

Record-Route: <sip:stmm.domain.net:5080;transport=tcp;ibmsid=local.1352465163078_769_1436;lr>

 

v=0

o=- 1352473621703 1352473621703 IN IP4 10.46.30.140

s=Sametime-Softphone-8.5.2.20110516-1242

c=IN IP4 10.46.30.140

t=0 0

m=audio 20830 RTP/AVP 103 102 110 109 108 0 8 101 13 105

a=rtpmap:103 ISAC/16000

a=rtpmap:102 iLBC/8000

a=rtpmap:110 G7221/16000

a=fmtp:110 bitrate=32000

a=rtpmap:109 G7221/16000

a=fmtp:109 bitrate=24000

a=rtpmap:108 G7221/16000

a=fmtp:108 bitrate=16000

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=rtpmap:13 CN/8000

a=rtpmap:105 CN/16000

a=rtcp:20831

a=sendrecv

[5] 2012/11/09 10:07:01: SIP Tx udp:10.46.30.193:5080:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP stmm.domain.net:5080;rport=5080;ibmsid=local.1352465163078_769_1436;branch=z9hG4bK50659518994488;received=10.46.30.193

Via: SIP/2.0/TCP stmm.domain.net:5060;rport=3140;ibmsid=local.1352465163078_766_1435;branch=z9hG4bK261585331576879;received=10.46.30.193

Record-Route: <sip:stmm.domain.net:5080;transport=tcp;ibmsid=local.1352465163078_769_1436;lr>

From: "kalle anka" <sip:6001@stmm.domain.net;placeid=222672439807135623;endpoint=client>;tag=07584562215323865_local.1352465163078_766_1435

To: <sip:7000@10.46.30.141>;tag=ffd0736112

Call-ID: 3598135706161285@10.46.30.193

CSeq: 2 INVITE

Content-Length: 0

 

[6] 2012/11/09 10:07:01: Sending RTP for 3598135706161285@10.46.30.193 to 10.46.30.140:20830, codec not set yet

[5] 2012/11/09 10:07:01: Received incoming call without trunk information and user has not been found

[5] 2012/11/09 10:07:01: SIP Tx udp:10.46.30.193:5080:

SIP/2.0 404 Not Found

Via: SIP/2.0/UDP stmm.domain.net:5080;rport=5080;ibmsid=local.1352465163078_769_1436;branch=z9hG4bK50659518994488;received=10.46.30.193

Via: SIP/2.0/TCP stmm.domain.net:5060;rport=3140;ibmsid=local.1352465163078_766_1435;branch=z9hG4bK261585331576879;received=10.46.30.193

Record-Route: <sip:stmm.domain.net:5080;transport=tcp;ibmsid=local.1352465163078_769_1436;lr>

From: "kalle anka" <sip:6001@stmm.domain.net;placeid=222672439807135623;endpoint=client>;tag=07584562215323865_local.1352465163078_766_1435

To: <sip:7000@10.46.30.141>;tag=ffd0736112

Call-ID: 3598135706161285@10.46.30.193

CSeq: 2 INVITE

Contact: <sip:7000@10.46.30.141:5060>

Supported: 100rel, replaces, norefersub

Allow-Events: refer

Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE

Accept: application/sdp

User-Agent: snom-PBX/4.2.0.3958

Content-Length: 0

 

[5] 2012/11/09 10:07:01: Last message repeated 2 times

[5] 2012/11/09 10:07:01: SIP Rx udp:10.46.30.193:5080:

ACK sip:7000@10.46.30.141 SIP/2.0

Call-ID: 3598135706161285@10.46.30.193

From: "kalle anka" <sip:6001@stmm.domain.net;placeid=222672439807135623;endpoint=client>;tag=07584562215323865_local.1352465163078_766_1435

To: <sip:7000@10.46.30.141>;tag=ffd0736112

Via: SIP/2.0/UDP stmm.domain.net:5080;rport;ibmsid=local.1352465163078_769_1436;branch=z9hG4bK50659518994488

CSeq: 2 ACK

Max-Forwards: 69

Content-Length: 0

Link to comment
Share on other sites

Okay, I think you are getting very close now.

 

Check if you have the outbound proxy set on the trunk and also the explicitly specify IP addresses (could be still 1.2.3.4 from the template). Then just send the call to a known extension in the trunk. Once that is done, you can drill deeper, see http://wiki.snomone.com/index.php?title=Inbound_Calls.

Link to comment
Share on other sites

Okay, I think you are getting very close now.

 

Check if you have the outbound proxy set on the trunk and also the explicitly specify IP addresses (could be still 1.2.3.4 from the template). Then just send the call to a known extension in the trunk. Once that is done, you can drill deeper, see http://wiki.snomone.com/index.php?title=Inbound_Calls.

 

 

Here is the trunk

 

# Trunk 3 in domain stmm.domain.net

Name: stmm.domain.net

Type: proxy

To: sip

RegPass: ********

Direction:

Disabled: false

Global: false

Display: stmm.domain.net

RegAccount:

RegRegistrar: 10.46.30.193

RegKeep:

RegUser:

Icid:

Require:

OutboundProxy: sip:stmm.domain.net:5060;transport=tcp

Ani:

DialExtension: 7000

Prefix:

Trusted: false

AcceptRedirect: false

RfcRtp: false

Analog: false

SendEmail:

UseUuid: false

Ring180: false

Failover: never

Privacy: pai

Glob:

RequestTimeout:

Codecs:

CodecLock: true

Expires: 3600

FromUser:

Tel: true

TranscodeDtmf: false

AssociatedAddresses:

InterOffice: false

DialPlan:

Colines:

DialogPermission:

 

I have switched between to have proxy or gateway, the xml file says the correct ipnumber.

 

I tried the "Send call to extension:" 7000 (an account iam logged in with, that i can call with the other phone. I tried others too.)

Link to comment
Share on other sites

I added

 

"Send call to extension:" 43 and tried call the 43 since i was logged in with that one, same errer then my gut told me to call 7000 number and that worked. So then i added the send to externsion 7000 and called 43, that didnt work, no number got routed.

 

I tried adding an call expression no luck. !([0-9]*)!\1!t!43

 

I dont think my files get updated as they should or my memory dont read them as verywell, even if i restart the service after eash save.

 

 

But Iam getting closer. =)

Link to comment
Share on other sites

Hmm. Do you have multiple trunks? Maybe the PBX is looking at the wrong trunk. Make sure that you have the outbound proxy set and also check out the "explicit IP address" for the inbound matching. I believe the template has a 1.2.3.4 there, which is not very helpful.

 

Also, is this a snom ONE mini? Some version have problems with the committing stuff t the file system.

Link to comment
Share on other sites

Hmm. Do you have multiple trunks? Maybe the PBX is looking at the wrong trunk. Make sure that you have the outbound proxy set and also check out the "explicit IP address" for the inbound matching. I believe the template has a 1.2.3.4 there, which is not very helpful.

 

Also, is this a snom ONE mini? Some version have problems with the committing stuff t the file system.

 

 

 

 

Great the "explicit IP address" did it, now it starts to work as i like, I can now call from IBM sametime client to a snom user.

 

But iam not able to call back st client (not even sure if iam supposed to be able to do that) but if you got a tip for that I will be happily read that.

 

Thanks.

Link to comment
Share on other sites

Call back probably depends on the number that is presented to the user. For example if the same time user name is "123" the PBX will have problems figuring out that this is a number that is actually outside of the PBX. Usually the best way to deal with this is to use "long" (more than 6 digits) numbers that look like PSTN numbers to the PBX. This will trigger the standard dial plan routing rules, and then all you need to do is add a dial plan entry that routes the call on the trunk.

Link to comment
Share on other sites

Call back probably depends on the number that is presented to the user. For example if the same time user name is "123" the PBX will have problems figuring out that this is a number that is actually outside of the PBX. Usually the best way to deal with this is to use "long" (more than 6 digits) numbers that look like PSTN numbers to the PBX. This will trigger the standard dial plan routing rules, and then all you need to do is add a dial plan entry that routes the call on the trunk.

 

 

Ok,thx for the tip, when i call from sametime i present the number 6001 (officenumber) and then try to recall that from snom in the dial plan i set 100;stmm.domain.net;;*; and the testplan shows sip:6001@localhost;user=phone

 

I will try add more digits.

 

Thank you

Link to comment
Share on other sites

I would invest a little bit more time into the dial plan. E.g. same-time might not like the "localhost" domain name...

 

 

 

I configureg the dialplan to and got this result

 

sip:605040@stmm.domain.net;user=phone

 

(ialplan "Standard Dialplan": Match 605040@10.46.30.141 to <sip:605040@stmm.domain.net;user=phone> on trunk stmm.domain.net)

 

which should, I guess, call my sametime client through snom then go to my sametime server stmm, but it keeps calling then hung up -no answer.

 

End up with "SIP/2.0 408 Request Timeout"

 

 

 

Logfile ->

 

 

5] 2012/11/22 05:24:55: SIP Rx udp:10.46.30.125:59951:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-d811ba6d3a65d85d-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: "43"<sip:43@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=6150986a

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1528 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="75d697e852aa1ad299d6391442f166fe",uri="sip:10.46.30.141:5060",response="6cecfd3cabb1b9e079b275f60d8c0320",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:24:55: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-d811ba6d3a65d85d-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=6150986a

To: "43" <sip:43@10.46.30.141:5060>;tag=63288cd84c

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1528 REGISTER

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>;expires=119

Content-Length: 0

 

[5] 2012/11/22 05:25:00: SIP Rx udp:10.46.30.125:59951:

INVITE sip:605040@10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-5661eb7d881c5463-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: <sip:605040@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=b306a20f

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 1 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Content-Type: application/sdp

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Content-Length: 403

 

v=0

o=3cxVCE 60971955 99093315 IN IP4 10.46.30.125

s=3cxVCE Audio Call

c=IN IP4 10.46.30.125

t=0 0

m=audio 40036 RTP/AVP 0 8 3 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

a=sendrecv

m=video 40034 RTP/AVP 34

c=IN IP4 10.46.30.125

a=rtpmap:34 H263/90000

a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1;

a=sendrecv

[5] 2012/11/22 05:25:00: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-5661eb7d881c5463-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=b306a20f

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 1 INVITE

Content-Length: 0

 

[5] 2012/11/22 05:25:00: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 401 Authentication Required

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-5661eb7d881c5463-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=b306a20f

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 1 INVITE

User-Agent: snom-PBX/4.2.0.3958

WWW-Authenticate: Digest realm="10.46.30.141",nonce="3abaa475161cc04c4f4cdf372737e35b",domain="sip:605040@10.46.30.141:5060",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:25:00: SIP Rx udp:10.46.30.125:59951:

ACK sip:605040@10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-5661eb7d881c5463-1---d8754z-;rport

Max-Forwards: 70

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

From: "43"<sip:43@10.46.30.141:5060>;tag=b306a20f

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 1 ACK

Content-Length: 0

 

[5] 2012/11/22 05:25:00: SIP Rx udp:10.46.30.125:59951:

INVITE sip:605040@10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-04468f274e48ba41-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: <sip:605040@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=b306a20f

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 2 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Content-Type: application/sdp

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="3abaa475161cc04c4f4cdf372737e35b",uri="sip:605040@10.46.30.141:5060",response="16dc977f6f79b9b7d49686e5ae887262",algorithm=MD5

Content-Length: 403

 

v=0

o=3cxVCE 60971955 99093315 IN IP4 10.46.30.125

s=3cxVCE Audio Call

c=IN IP4 10.46.30.125

t=0 0

m=audio 40036 RTP/AVP 0 8 3 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:3 GSM/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-15

a=ptime:20

a=sendrecv

m=video 40034 RTP/AVP 34

c=IN IP4 10.46.30.125

a=rtpmap:34 H263/90000

a=fmtp:34 QCIF=1;CIF=1;SQCIF=1;CIF4=1;

a=sendrecv

[7] 2012/11/22 05:25:00: Set packet length to 20

[6] 2012/11/22 05:25:00: Sending RTP for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U. to 10.46.30.125:40036, codec not set yet

[5] 2012/11/22 05:25:00: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 100 Trying

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-04468f274e48ba41-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=b306a20f

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 2 INVITE

Content-Length: 0

 

[7] 2012/11/22 05:25:00: set_codecs: for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U. codecs "", codec_preference count 6

[5] 2012/11/22 05:25:00: Dialplan "Standard Dialplan": Match 605040@10.46.30.141 to <sip:605040@stmm.domain.net;user=phone> on trunk stmm.domain.net

[7] 2012/11/22 05:25:00: set_codecs: for fd686d9d@pbx codecs "", codec_preference count 6

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: adding codec pcmu/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: adding codec pcma/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: adding codec g722/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: adding codec g726-32/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: adding codec gsm/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for fd686d9d@pbx: codec_preference size 6, available codecs size 6

[6] 2012/11/22 05:25:00: Could not determine destination address on 7526

[7] 2012/11/22 05:25:00: Set packet length to 20

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: adding codec pcmu/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: adding codec pcma/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: Other side does not support codec g722/8000

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: Other side does not support codec g726-32/8000

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: adding codec gsm/8000 to available list

[7] 2012/11/22 05:25:00: update_codecs for OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.: codec_preference size 6, available codecs size 4

[6] 2012/11/22 05:25:00: Codec pcmu/8000 is chosen for call id OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

[5] 2012/11/22 05:25:00: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 183 Session Progress

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-04468f274e48ba41-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=b306a20f

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 2 INVITE

Contact: <sip:43@10.46.30.141:5060>

Supported: 100rel, replaces, norefersub

Allow-Events: refer

Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE

Accept: application/sdp

User-Agent: snom-PBX/4.2.0.3958

Content-Type: application/sdp

Content-Length: 288

 

v=0

o=- 18177 18177 IN IP4 10.46.30.141

s=-

c=IN IP4 10.46.30.141

t=0 0

m=audio 52864 RTP/AVP 0 8 3 101

a=rtpmap:0 pcmu/8000

a=rtpmap:8 pcma/8000

a=rtpmap:3 gsm/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=ptime:20

a=rtcp-xr:rcvr-rtt=all voip-metrics

a=sendrecv

[7] 2012/11/22 05:25:20: Call 7498d37c@pbx: Clear last request

[5] 2012/11/22 05:25:21: SMTP: No email server specified

[7] 2012/11/22 05:25:45: Call 0991ea6c@pbx: Clear last INVITE

[5] 2012/11/22 05:25:45: INVITE Response 408 Request Timeout: Terminate 0991ea6c@pbx

[6] 2012/11/22 05:25:45: Could not determine destination address on 7528

[6] 2012/11/22 05:25:52: Could not determine destination address on 7529

[7] 2012/11/22 05:25:52: Call 7498d37c@pbx: Clear last INVITE

[5] 2012/11/22 05:25:52: INVITE Response 408 Request Timeout: Terminate 7498d37c@pbx

[6] 2012/11/22 05:26:00: Could not determine destination address on 7530

[5] 2012/11/22 05:26:21: SMTP: No email server specified

[7] 2012/11/22 05:26:32: Call fd686d9d@pbx: Clear last request

[6] 2012/11/22 05:26:32: Could not determine destination address on 7531

[7] 2012/11/22 05:26:32: Call fd686d9d@pbx: Clear last INVITE

[5] 2012/11/22 05:26:32: INVITE Response 408 Request Timeout: Terminate fd686d9d@pbx

[5] 2012/11/22 05:26:32: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 408 Request Timeout

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-04468f274e48ba41-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=b306a20f

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 2 INVITE

Contact: <sip:43@10.46.30.141:5060>

Supported: 100rel, replaces, norefersub

Allow-Events: refer

Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE

Accept: application/sdp

User-Agent: snom-PBX/4.2.0.3958

Content-Length: 0

 

[5] 2012/11/22 05:26:32: SIP Rx udp:10.46.30.125:59951:

ACK sip:605040@10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-04468f274e48ba41-1---d8754z-;rport

Max-Forwards: 70

To: <sip:605040@10.46.30.141:5060>;tag=1dc35b59bb

From: "43"<sip:43@10.46.30.141:5060>;tag=b306a20f

Call-ID: OWNhMGNiYjNiNDQwM2M5Y2ViNjU1NTVkODQwMzdmN2U.

CSeq: 2 ACK

Content-Length: 0

 

[5] 2012/11/22 05:26:42: SIP Rx udp:10.46.30.125:59951:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-2129375d88347e32-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: "43"<sip:43@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=6150986a

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1529 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="75d697e852aa1ad299d6391442f166fe",uri="sip:10.46.30.141:5060",response="6cecfd3cabb1b9e079b275f60d8c0320",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:26:42: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-2129375d88347e32-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=6150986a

To: "43" <sip:43@10.46.30.141:5060>;tag=63288cd84c

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1529 REGISTER

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>;expires=121

Content-Length: 0

 

[5] 2012/11/22 05:27:21: SMTP: No email server specified

[5] 2012/11/22 05:28:31: Last message repeated 2 times

[5] 2012/11/22 05:28:31: SIP Rx udp:10.46.30.125:59951:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-4526085144485416-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: "43"<sip:43@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=6150986a

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1530 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="75d697e852aa1ad299d6391442f166fe",uri="sip:10.46.30.141:5060",response="6cecfd3cabb1b9e079b275f60d8c0320",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:28:31: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-4526085144485416-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=6150986a

To: "43" <sip:43@10.46.30.141:5060>;tag=63288cd84c

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1530 REGISTER

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>;expires=119

Content-Length: 0

 

[5] 2012/11/22 05:29:21: SMTP: No email server specified

[5] 2012/11/22 05:30:18: SIP Rx udp:10.46.30.125:59951:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-f519f635b82b192c-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: "43"<sip:43@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=6150986a

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1531 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="75d697e852aa1ad299d6391442f166fe",uri="sip:10.46.30.141:5060",response="6cecfd3cabb1b9e079b275f60d8c0320",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:30:18: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-f519f635b82b192c-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=6150986a

To: "43" <sip:43@10.46.30.141:5060>;tag=63288cd84c

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1531 REGISTER

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>;expires=119

Content-Length: 0

 

[5] 2012/11/22 05:30:21: SMTP: No email server specified

[5] 2012/11/22 05:32:05: Last message repeated 2 times

[5] 2012/11/22 05:32:05: SIP Rx udp:10.46.30.125:59951:

REGISTER sip:10.46.30.141:5060 SIP/2.0

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-a70c83114277f738-1---d8754z-;rport

Max-Forwards: 70

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>

To: "43"<sip:43@10.46.30.141:5060>

From: "43"<sip:43@10.46.30.141:5060>;tag=6150986a

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1532 REGISTER

Expires: 120

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE

Supported: replaces

User-Agent: 3CXPhone 5.0.14439.0

Authorization: Digest username="43",realm="10.46.30.141",nonce="75d697e852aa1ad299d6391442f166fe",uri="sip:10.46.30.141:5060",response="6cecfd3cabb1b9e079b275f60d8c0320",algorithm=MD5

Content-Length: 0

 

[5] 2012/11/22 05:32:05: SIP Tx udp:10.46.30.125:59951:

SIP/2.0 200 Ok

Via: SIP/2.0/UDP 10.46.30.125:59951;branch=z9hG4bK-d8754z-a70c83114277f738-1---d8754z-;rport=59951

From: "43" <sip:43@10.46.30.141:5060>;tag=6150986a

To: "43" <sip:43@10.46.30.141:5060>;tag=63288cd84c

Call-ID: NTQ0NmJmMmUxNzc5ZDJkMGQ4ZWEwZjQyYjZiOTAzOWU.

CSeq: 1532 REGISTER

Contact: <sip:43@10.46.30.125:59951;rinstance=2851610451664bda>;expires=119

Content-Length: 0

Link to comment
Share on other sites

[6] 2012/11/22 05:25:00: Could not determine destination address on 7526

 

I guess that is the problem here. Did you specify the outbound proxy for the trunk? And if yes, is the DNS resolvable? Keep in mind that SIP looks up all kinds of NAPTR, SRV, AAAA and A records.

 

Also, I see you are still on 4.2 which is at least two years old. You should definitively upgrade to 5 or at least 4.5, because the trunk settings have changed over the years.

Link to comment
Share on other sites

I got it to work now =)=)=)=)=)=)=)

 

I changed between the gateway and proxy and used the right port (its not obvoius in sametime.), then i saw i got close in the log file.

 

Then i removed the ;user=phone in the dialplan, and wops it started to work.

 

This really is fun and i think i will buy myself a cake and send a piece to you=)

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.

Guest
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...