[Asterisk-Users] Bad Request Connecting SIP

Norman Zhang norman.zhang at rd.arkonnetworks.com
Mon Dec 13 20:04:42 MST 2004


> When I tried to connect fwd.pulver.com,
> 
> Got SIP response 400 "Bad Request" back from 69.90.155.70
> 
> May I ask how can I fix this? I added the following to sip.conf
> 
> [normsjphone]
> type=friend
> host=dynamic
> dtmfmode=inband
> username=normsjphone
> secret=testing123
> 
> [fwd.pulver.com]
> type=friend
> secret=yyyyyyy
> username=533990
> host=fwd.pulver.com
> insecure=very

I also added the following to extensions.conf

[local]
...
exten => 100,1,dial(SIP/normsjphone)
exten => normsjphone,1,goto(100,1) ; To be able to dial with text, 
"normsjphone"

[from-sip]
exten => 533990,1,Dial(SIP/100,30,tT)
exten => 533990,2,Hangup

I enabled static NAT on my firewall,

ast_in->any->sip=ast_out->any->sip
any->ast_out->sip=any->ast_in->sip

Please help.

Regards,
Norman Zhang



More information about the asterisk-users mailing list