Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-12 Thread kumarshantanu
Thank you Steve for your help,

but I could find in youy conf where you have defined outgoing

trunk for each sip extension.



Please comment.



On Tue, 11 Aug 2009 13:27:27 +0530  wrote

Hey here are the sample configuration. Create a trunk in sip.conf file, add a 
registry string.Registry String.register= 
user1:passw...@anysipprovider.com:5060[user1]type=peerhost=anysipprovider.comport=5060context=defaultcountry=usdtmfmode=rfc2833restrictcid=nocanreinvite=yesinsecure=nodisallow=allallow=ulawallow=alawallow=g729allow=gsmpromiscredir=yest38_udptl=yesqualify=25000nat=yesWhen
 u done that, reload sip.sip reload To verify it's correct: do these in the 
asterisk CLIsip show peer usersip show registryMuhammad Faheem  Software 
EngineerAXVoice Inc,--- On Mon, 8/10/09, kumarshantanu  wrote:From: 
kumarshantanu Subject: Re: [asterisk-users] Setting up Outgoing TrunkTo: 
st...@geekinter.netcc: asterisk-us...@lists.digium.comdate: 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, ArizonaRegister Now: http://www.astricon.netasterisk-users 
mailing listTo UNSUBSCRIBE or update options 
visit:http://lists.digium.com/mailman/listinfo/asterisk-users



  

___

-- 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

___
-- 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

Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-11 Thread Faheem
Hey here are the sample configuration. Create a trunk in sip.conf file, add a 
registry string.

Registry String.
register= user1:passw...@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 shantanu1...@rediffmail.com wrote:

From: kumarshantanu shantanu1...@rediffmail.com
Subject: Re: [asterisk-users] Setting up Outgoing Trunk
To: st...@geekinter.net
Cc: asterisk-users@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


  ___
-- 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

Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-10 Thread kumarshantanu




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

___
-- 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

Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-10 Thread Brandon B.
Assuming you are configuring your Asterisk using the configuration
files -- if you want the caller ID on phone calls between users to be
the same as the caller id on calls made with the trunk lines, set the
external caller id information for the users in sip.conf (i.e.
callerid=9995551212) or to simply change the caller id information
for calls made on the trunk lines, modify the extensions.conf file by
inserting something like the following line before the Dial command.
An example:

[outgoing-calls-context]
exten = _NXXNXX,1,Set(CALLERID(num)=${EXTCALLERID})
exten = _NXXNXX,2,Dial(${TRUNK}/${EXTEN})

The problem here is that if you are using text files for configuration
you are should know this, so this advice is either almost redundant or
not helpful. What kind of Asterisk GUI tool are you using?


On Mon, Aug 10, 2009 at 9:47 AM,
kumarshantanushantanu1...@rediffmail.com wrote:


 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


 ___
 -- 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


___
-- 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


[asterisk-users] Setting up Outgoing Trunk

2009-08-06 Thread kumarshantanu
Hello Everybody,



I have a genuine problem in Asterisk setup.

I have three inbound trunks in my asterisk box, everything is

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.



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.



Please can someone help me in this.



Thanks

Shantanu

___
-- 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

Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-06 Thread Cary Fitch
Are these trunks or PRI/ISDN circuits, or phone lines?

 

If either of the first two, the callerID sent with the call should be their
ID, which should be the appropriate number of digits your area telco
expects.  Depending on your agreement with them, they may be supplying the
number, rather than accept what you send.

 

If your connection is phone lines they are supplying the Line Number, and
you have no control over that except by strategic use of the lines, etc.

 

Or if there is further info or questions, explain the exact details.

 

Cary Fitch

 

 

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of kumarshantanu
Sent: Thursday, August 06, 2009 10:33 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Setting up Outgoing Trunk

 

Hello Everybody,

I have a genuine problem in Asterisk setup.
I have three inbound trunks in my asterisk box, everything is
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.

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.

Please can someone help me in this.

Thanks
Shantanu


 
http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/sign
atureline@middle? 

 

___
-- 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

Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-06 Thread Steve Howes
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.

 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.

 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


Re: [asterisk-users] Setting up Outgoing Trunk

2009-08-06 Thread C. Chad Wallace

At 3:32 PM on 06 Aug 2009, kumarshantanu wrote:

 I have a genuine problem in Asterisk setup.
 I have three inbound trunks in my asterisk box, everything is
 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.
 
 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.

I'm not sure I understand your question...  Are you saying that you
want the outbound caller ID to be your public phone number?  Or do you
want the outbound caller ID to change based on what internal
extension initiated the call?

If you want your public phone number (the one your telco sends by
default) for all outgoing calls, you need to add hidecallerid=yes to
your zapata.conf or chan_dahdi.conf for the channels in those trunks.
Then Asterisk won't send the caller ID it receives from the internal
extensions, and your telco should then insert your phone number as the
caller ID on all outbound calls.

If you want it set to something other than what your telco puts as the
default, you'd have to have hidecallerid=no (or not there) for those
channels and set CALLERID(all) in your dialplan for outgoing calls.
But this requires that your telco allows you to override the default
caller ID.  Some do, and some don't--you would have to talk to them.


-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.skihills.com/
OpenPGP Public Key ID: 0x262208A0



signature.asc
Description: PGP signature
___
-- 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