Problem making outbound call in asterisk while usingSIP(trun

hi guys

i am using a sip account (i.e outside sip server asterisk is acting as client)

i am registering properly and its shows when i type sip show peers and sip show registry

Executing Dial(“SIP/prabhakar-baf6”, “SIP/account/”) in new stack
– Called account/
Sep 6 14:10:30 NOTICE[3020]: chan_sip.c:9685 handle_response_invite: Failed to authenticate on INVITE to '“prabhakar” sip:prabhakar@125.22.242.107;tag=as080d9531’
Sep 6 14:10:30 NOTICE[3020]: chan_sip.c:9685 handle_response_invite: Failed to authenticate on INVITE to ‘“prabhakar” sip:prabhakar@125.22.242.107;tag=as080d9531’

my extension file is

exten => _XXXXXXXXXXXX,1,Dial(SIP/account/${EXTEN})
exten => _XXXXXXNXXXXX,2,Hangup()

my sip.conf is

[general]
port = 5060
bindaddr = 0.0.0.0
register => 51007:xxxxxx@xxxxxxx.xxx
context = default

[account]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=51007
secret=xxxxx
host=xxxxxxx.xxx
dtmfmode=inband
qualify=1000

it will helpful if you let me know

cheers
prabhakar

[quote=“prabhakar_curtin”]hi guys

i am using a sip account (i.e outside sip server asterisk is acting as client)

i am registering properly and its shows when i type sip show peers and sip show registry

Executing Dial(“SIP/prabhakar-baf6”, “SIP/account/”) in new stack
– Called account/
Sep 6 14:10:30 NOTICE[3020]: chan_sip.c:9685 handle_response_invite: Failed to authenticate on INVITE to '“prabhakar” sip:prabhakar@125.22.242.107;tag=as080d9531’
Sep 6 14:10:30 NOTICE[3020]: chan_sip.c:9685 handle_response_invite: Failed to authenticate on INVITE to ‘“prabhakar” sip:prabhakar@125.22.242.107;tag=as080d9531’

my extension file is

exten => _XXXXXXXXXXXX,1,Dial(SIP/account/${EXTEN})
exten => _XXXXXXNXXXXX,2,Hangup()
[/quote]
Try this instead:

exten => _XXXXXXXXXXXX,1,Dial(SIP/${EXTEN}@account)
exten => _XXXXXXNXXXXX,2,Hangup()

[quote=“prabhakar_curtin”]
my sip.conf is

[general]
port = 5060
bindaddr = 0.0.0.0
register => 51007:xxxxxx@xxxxxxx.xxx
context = default

[account]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=51007
secret=xxxxx
host=xxxxxxx.xxx
dtmfmode=inband
qualify=1000

it will helpful if you let me know

cheers
prabhakar[/quote]

hi Dovid
Cheers mate but I am still having the problem
My call is not hitting the sip server itself i confirmed with the ISP
Let me know if you have any solution
cheers

If you are still getting the error about the password missmatch it means that you are connecting to thier server however it dosent like your password. See if anyone else is using them and what configs they have. Search around on voip-info.org