Re: [asterisk-users] Got Anonymous from DID incoming call and can't re-send to another asterisk with new callerid

2010-03-01 Thread D Tucny
On 26 February 2010 12:38, Trevor Peirce tpei...@digitalcon.ca wrote:

 Charles Wang wrote:
  The sip.conf of MYE1 likes below:
  [MYPBX]
  type=peer
  host=mypbx.abc.com http://mypbx.abc.com
  nat=no
  disallow=all
  allow=g729
  canreinvite=yes
  qualify=no
  context=default
  insecure=port,invite

 Add sendrpid=yes here.

  The sip.conf of MYPBX likes below:
  [MYE1]
  type=peer
  host=mye1.abc.com http://mye1.abc.com
  nat=no
  disallow=all
  allow=g729
  canreinvite=yes
  qualify=no
  context=did
  insecure=port,invite

 Add trustrpid=yes here.

 A. Why can't I receive the CALLERID from MYPBX(the secondary
  server)? I am sure I use Set(CALLERID(num) for it.
 
 B. Why does the CALLERID that sends from MYE1 become
  as Anonymous? How can I fix it with the correct orginal
  callerid(912345678)?
 
 C. Why does my FROM message become as Anonymous
  sip:anonym...@anonymous.invalid instead of  912345...@mye1.abc.com
  mailto:912345...@mye1.abc.com ?

 You see this because, even though the number has been made available to
 you, it's marked as a blocked call.  Your server is honoring this and
 blocking the number when it dials the next server.  By using Remote
 Party ID, you'll be able to carry this information forward to your next
 server.


Or you could override the presentation using CallerPres function (in 1.6) or
SetCallerPres dialplan command in previous versions...

e.g. Set(CallerPres()=allowed) before doing the Dial to MYPBX.

d
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Got Anonymous from DID incoming call and can't re-send to another asterisk with new callerid

2010-02-25 Thread Trevor Peirce
Charles Wang wrote:
 The sip.conf of MYE1 likes below:
 [MYPBX]
 type=peer
 host=mypbx.abc.com http://mypbx.abc.com
 nat=no
 disallow=all
 allow=g729
 canreinvite=yes
 qualify=no
 context=default
 insecure=port,invite

Add sendrpid=yes here.

 The sip.conf of MYPBX likes below:
 [MYE1]
 type=peer
 host=mye1.abc.com http://mye1.abc.com
 nat=no
 disallow=all
 allow=g729
 canreinvite=yes
 qualify=no
 context=did
 insecure=port,invite

Add trustrpid=yes here.

A. Why can't I receive the CALLERID from MYPBX(the secondary 
 server)? I am sure I use Set(CALLERID(num) for it.
  
B. Why does the CALLERID that sends from MYE1 become 
 as Anonymous? How can I fix it with the correct orginal 
 callerid(912345678)?
  
C. Why does my FROM message become as Anonymous 
 sip:anonym...@anonymous.invalid instead of  912345...@mye1.abc.com 
 mailto:912345...@mye1.abc.com ?

You see this because, even though the number has been made available to 
you, it's marked as a blocked call.  Your server is honoring this and 
blocking the number when it dials the next server.  By using Remote 
Party ID, you'll be able to carry this information forward to your next 
server.

Regards,

-- 
Trevor Peirce
Digital Conceptions Canada

http://www.digitalcon.ca
1-888-606-3030 / 250-391-7822



-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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