[Freeswitch-users] Calls from registered gateway try to lookup Directory

Peter P GMX Prometheus001 at gmx.net
Thu Aug 27 11:02:31 PDT 2009


I have found a strange thing in my FS installation,

FS is registered via a Gateway to an external provider (QSC) in the
external context.
But when a call is coming in, FS does not seem to go to any context, but
tries to lookup the user, as I receive the following message
    2009-08-27 18:44:23.287782 [WARNING] sofia_reg.c:1773 Can't find
user [026xxxxxxxxx at my.domain@my.domain]
    You must define a domain called 'my.domain' in your directory and
add a user with the id="026xxxxxxxxx at my.domain" attribute
    and you must configure your device to use the proper domain in it's
authentication credentials.

I learnt that a call from an external gateway should go to the public
context. But (in CLI debug mode) there are no other messages, except the
3 lines above.

What am I doing wrong?
Best regards
Peter

Here the invite message.

INVITE sip:gw+gw_xxxxxxxxxx at xx.xxx.xx.xxx:5080;transport=udp SIP/2.0.
Via:SIP/2.0/UDP
62.206.3.xxx;branch=z9hG4bK-BroadWorks.as1-xx.xxx.xx.xxxV5080-0-778271239-1616003581-1251392025611-.
From:"0xxxxXXXXXX"<sip:0xxxxXXXXXX at 62.206.3.xxx;user=phone>;tag=1616003581-1251392025611-.
To:"Me"<sip:026xxxxxxxxx at my.domain>.
Call-ID:BW185345611270809356816303 at 62.206.3.xxx.
CSeq:778271239 INVITE.
Contact:<sip:62.206.3.xxx:5060>.
Allow:ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE.
Accept:multipart/mixed,application/dtmf,application/dtmf-relay,application/media_control+xml,application/sdp.
Supported:.
Max-Forwards:20.
Proxy-Authorization:DIGEST
cnonce="fyvqi2pf",qop=auth,uri="sip:gw+gw_026xxxxxxxxx at xx.xxx.xx.xxx:5080;transport=udp",realm="my.domain",username="026xxxxxxxxx at my.domain",nonce="21bbe70c-932a-11de-b94d-bbade892ded3",algorithm=MD5,response="6d39a2546a4aa9a1fc39e2dc07c1e934",nc=00000001.
Content-Type:application/sdp.
Content-Length:344.
.
v=0.
o=BroadWorks 1271473 1 IN IP4 87.234.9.178.
s=-.
c=IN IP4 87.234.9.178.
t=0 0.
m=audio 18534 RTP/AVP 8 0 2 99 18 110.
a=rtpmap:99 G726-24/8000.
a=rtpmap:110 X-NSE/8000.
a=fmtp:110 192-194,200-202.
a=X-sqn:0.
a=X-cap: 1 audio RTP/AVP 110.
a=X-cpar: a=rtpmap:110 X-NSE/8000.
a=X-cpar: a=fmtp:110 192-194,200-202.
a=X-cap: 2 image udptl t38.




More information about the FreeSWITCH-users mailing list