[asterisk-users] Setting up Outgoing Trunk
Faheem
faheem_imt at yahoo.com
Tue Aug 11 02:50:44 CDT 2009
Hey here are the sample configuration. Create a trunk in sip.conf file, add a registry string.
Registry String.
register=> user1:password at anysipprovider.com:5060
[user1]
type=peer
host=anysipprovider.com
port=5060
context=default
country=us
dtmfmode=rfc2833
restrictcid=no
canreinvite=yes
insecure=no
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=gsm
promiscredir=yes
t38_udptl=yes
qualify=25000
nat=yes
When u done that, reload sip.
"sip reload "
To verify it's correct: do these in the asterisk CLI
"sip show peer user"
"sip show registry"
Muhammad Faheem Software Engineer
AXVoice Inc,
--- On Mon, 8/10/09, kumarshantanu <shantanu1982 at rediffmail.com> wrote:
From: kumarshantanu <shantanu1982 at rediffmail.com>
Subject: Re: [asterisk-users] Setting up Outgoing Trunk
To: steve at geekinter.net
Cc: asterisk-users at lists.digium.com
Date: Monday, August 10, 2009, 8:47 PM
On Thu, 06 Aug 2009 21:28:01 +0530 wrote
>On 6 Aug 2009, at 16:32, kumarshantanu wrote:
> Hello Everybody,
Hi.
> I have a genuine problem in Asterisk setup.
Ok.
> I have three inbound trunks in my asterisk box, everything is
What kind of trunks.
These are sip trunks
> working fine but the only problem is when any user make an out-
> going call through his/her extension it goes with same number labeled
> on this.
Ok.
> Can we set each of these lines to have fixed outgoing numbers
> like if extn: 201 make an outgoing call the recipient should get
> different no and if extn: 202 make an outgoing call the recipient
> should
> get different one.
Ok.
> Please can someone help me in this.
If you show us some config, tell us trunk types and generally 'giving
us something to go on.
What config you want from me. I am not very much friendly to asterisk,
for now I manage it from freePBX. Let me please know if I can provide you some more information
> Thanks
> Shantanu
Steve
>
Heh
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-----Inline Attachment Follows-----
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090811/f336a7a5/attachment-0001.htm
More information about the asterisk-users
mailing list