On 4/15/07, Dave <lists+freeswitch@bigfatdave.com> wrote:
If I'm correct, you just found the problem yourself: While Stanaphone uses the obvious "stanaphone.com" as its realm, BroadVoice uses "BroadWorks" instead, and so you'll need to update that in your config.
Asterisk has some logic to find the realm itself, so even if you give it a bogus realm (or no realm at all), it still manages to do the right thing. FreeSWITCH is far more transparent in its configuration, which IMHO is really cool, but it also creates its share of surprises :-)
You may be right, though I don't think so, since FreeSwitch reports that it's authenticating to Broadvoice using a realm of "BroadWorks". This line appears in FreeSwitch's output that I've already sent: ------------------------snip----------------------------------------- 2007-04-14 07:36:51 [DEBUG] sofia_reg.c:650 sofia_reg_handle_sip_r_challenge() Authenticating 'FreeSWITCH' with 'DIGEST:"BroadWorks":7046700 027:myPassword'. ------------------------snip----------------------------------------- The problem seems to be that FreeSwitch is lying to me: it says that it's authenticating, but in the SIP REGISTER request it sends (which also appears in FreeSwitch's output) there's no mention of authentication: send 559 bytes to udp/[147.135.12.128]:5060 at 11:36:51.671054: ------------------------------------------------------------------------ REGISTER sip:sip.broadvoice.com SIP/2.0 Via: SIP/2.0/UDP 71.75.114.79;rport;branch=z9hG4bK10ByS4atpUHaB Max-Forwards: 70 From: <sip:7046700027@sip.broadvoice.com>;tag=0m9SDU72DH0KQ To: <sip:7046700027@sip.broadvoice.com> Call-ID: 475b4102-651f-122a-a69b-00609733d6f0 CSeq: 82156970 REGISTER Contact: <sip:7046700027@71.75.114.79:5060> Expires: 60 User-Agent: FreeSWITCH(mod_sofia) Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO Supported: 100rel, precondition, path Content-Length: 0 ------------------------------------------------------------------------ I will try specifying "BroadWorks" explicitly as the realm to see if it makes any difference.