hox to connecte two asterisk server
\ hind habaoui (6 Apr 2007)
. \ Yuan LIU (7 Apr 2007)
. . \ hind habaoui (7 Apr 2007)

2 msgIs it possible to Voicemail menus (not just aud...
1 msgRe: asterisk-users Digest, Vol 33, Issue 24
3 msgSIP Header fields?
1 msgsending the dialed no to the peer
2 msgPoor analog line quality, wireless 'base statio...
1 msgMeetme and on demand monitoring
3 msgpap2 - dtmf works when 'sip debug' is enabled
19 msgFAX thru TDM400p
1 msgSVN update
1 msgRe: asterisk-users Digest, Vol 33, Issue 23
18 msgHPEC audio clipping
9 msgOpen Source VoIP client (on a webpage)
6 msgBeroNet HFC-4S card is now detected as only 2 p...
3 msgAnalog phones, dial out
3 msgQueue call distribution
1 msgRe: asterisk-users Digest, Vol 33, Issue 22
1 msgIAX2 threads
4 msgAsterisknow or Trixbox?
2 msgDialplan not reading MySQL table
Subject:hox to connecte two asterisk server
Group:Asterisk-users
From:hind habaoui
Date:6 Apr 2007


 


hi lee.
I see your problem with trunk iax, probably i don't have the solution but i
don't knew if you can help me to solve mine.
i want to connecte two asterisk server: server A and server B. i want make
possible calls betwen all asterisk users.: users in server A with sip number
022100 can phone another sip user in server B with number 037100.
this is my config:
*************************************
iax.conf for server A:
**************************************
register => serveur_rabat:rabat

[serveur_casa]
type=peer
host=dynamic
username=serveur_casa
secret=casa
disallow=all
allow=ulaw
allow=gsm
;context=sip-calls

[serveur_casa]
type=user
host=dynamic
username=serveur_casa
secret=casa
disallow=all
allow=ulaw
allow=gsm

************************************************
my extension.conf
**************************************************
[sip-calls]

exten=>_022[1-8]XX,1,macro(Bienvenu)
exten=>_022[1-8]XX,2,SetGlobalVar(BOITE=${CDR(src)})
exten=>_022[1-8]XX,3,Dial(SIP/sip-${EXTEN},${TP_MAX_APPEL})
exten=>_022[1-8]XX,4,macro(BoiteVocale,${BOITE})
exten=>_022[1-8]XX,5,hangUp()
;
;
;lecture des boites vocales
exten=>_[1-8]XX,1,macro(lecture_boite)
exten=>_[1-8]XX,2,PlaBack(vm-num-i-have)
exten=>_[1-8]XX,3,HangUp()
;
;
; on donne accès au service du standard
exten=>022999,1,Wait(5)
exten=>022999,2,Dial(${TEL1},,t)
exten=>022999,3,HangUp()
include=>parkedcalls
include=>iax-calls
[iax-calls]

exten=>_037XXX,1,macro(Bienvenu)
exten=>_037XXX,2,Dial(IAX2/serveur_rabat/${EXTEN},${TP_MAX_APPEL},r)
exten=>_037XXX,3,macro(BoiteVocale)



**********************************
file config for the second server looks like the server's A file.



thank you in advance

hind
GTR 2007

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



© 2004-2008 readlist.com