Philipp,
hope that fits your needs:
This is my (now again) working config for sipgate where XXXXXXX is your my CallerID:
register => XXXXXXX:[EMAIL PROTECTED]/XXXXXXX
(register => XXXXXXX:[EMAIL PROTECTED]/internal_extension works too but sipgate shows me offline)
[sipgate1] type=peer (friend works too, didn't check user) secret=my secret username=XXXXXXX host=sipgate.de dtmfmode=inband context=internal nat=no reinvite=no canreinvite=no fromuser=XXXXXXX fromdomain=sipgate.net (some want .de but sipgate themselves want .net)
in extensions.conf I have:
[internal]
exten => _777.,1,SetCallerID,XXXXXXX
exten => _777.,2,SetCIDName,"jo via sip"
exten => _777.,3,Dial(SIP/${EXTEN:[EMAIL PROTECTED],60,r)
exten => _777.,4,Congestion[fromsipgate] exten => XXXXXXX,1,Dial(sip/2003&CAPI/41:32,20,r) exten => XXXXXXX,2,Voicemail,u2003 exten => XXXXXXX,102,Voicemail,b2003
works also for other sip servcices.
For fwd I use IAX, there is working examle on their iax page.
jo
Philipp von Klitzing wrote:
Hi!
The failure has just been fixed as I saw in mantis:
http://bugs.digium.com/bug_view_advanced_page.php?bug_id=0001738
Unfortunately that didn't solve my problem - however I am not sure anymore that this is related, and maybe I just have a basic misunderstanding concerning type=peer and type=user.
Question: Why do I need type=peer for both cases, e.g. incoming AND outgoing calls? I am really confused here - or someone/something else is... ;->
1. I want to be able to dial out to FWD with a Dial() statement in extensions.conf that does not include username or password so that these do not show up in the CDRs, e.g. using
Dial(SIP/[EMAIL PROTECTED])
2. The above only works if FreeWorld-out-user1 is of type=peer (and not type=user)
3. On an incoming FWD call * unfortunately always matches the host to the [FreeWorld-out-user1] section instead of the [FreeWorld-incoming] section, which is kind of logic becase both are peers. Then authentication fails because the calling user naturally doesn't have the correct password for FreeWorld-out-user1.
Cheers, Philipp
[FreeWorld-incoming] context=from-FreeWorld type=peer host=fwd.pulver.com
[FreeWorld-out-user1] type=peer secret=xxxxxxxx username=yyyyyy fromuser=yyyyyy host=fwd.pulver.com
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
