Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
Mail From=OFax@iptel.com, Phone Number In=FAX=1, Phone Number Dial=
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
Incoming Dial-peer(Tag=202, Matched Digits=10, Destination Pattern=12742551004)
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_match_digits:
Outgoing Peer(Tag=201, Destination Pattern=1274255100., Strip Enable=TRUE)
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_tel_num_trans:
Incoming Dial-peer(Tag=202), Outgoing Dial-peer(Tag=201), Cover Page=FALSE
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_new_rcpt:
Envelope To=FAX=12742551004@pstnsw.gateway.com, Length=34,
MMccb(Incoming Dial-peer=202, Outgoing Dial-peer=201,
Telephone Number Dial=12742551004, Sub Address=, Cover Page=FALSE
Sep 17 16:49:09.887: //-1/xxxxxxxxxxxx/MSPI_OFF/mspi_offramp_new_rcpt:exit@1127
Sep 17 16:49:10.907: //-1/46E6CB8B80DA/MSPI_OFF/mspi_get_ani:
in_str=”Outgoing Fax” <OFax@iptel.com>
Sep 17 16:49:10.907: //-1/46E6CB8B80DA/MSPI_OFF/mspi_get_ani:
in_str=OFax@iptel.com
Sep 17 16:49:10.907: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_rfc822_header:
Envelope From=OFax@iptel.com, Size=15
From Personal Name=Outgoing Fax
From=”Outgoing Fax” <OFax@iptel.com>
To=<FAX=12742551004@pstnsw.gateway.com>
Notification Type=0
Sep 17 16:49:10.907: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_rfc822_header:
MMccb(Called Number=12742551004, Calling Number=, Incoming Dial-peer=202)
Sep 17 16:49:10.911: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.911: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.923: ISDN Se1/0/0:23 Q931: pak_private_number: Invalid type/plan 0x0 0x1 may be overriden; sw-type 13
Sep 17 16:49:10.923: ISDN Se1/0/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Called num 2742551004
Sep 17 16:49:10.927: ISDN Se1/0/0:23 Q931: TX -> SETUP pd = 8 callref = 0x0093
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Calling Party Number i = 0x0081, N/A
Plan:Unknown, Type:Unknown
Called Party Number i = 0xA1, ‘2742551004’
Plan:ISDN, Type:National
Sep 17 16:49:10.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.931: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.939: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.939: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.943: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.943: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.947: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.947: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.951: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONNECTING)
Sep 17 16:49:10.951: ISDN Se1/0/0:23 Q931: RX <- CALL_PROC pd = 8 callref = 0x8093
Channel ID i = 0xA98381
Exclusive, Channel 1
Sep 17 16:49:10.955: ISDN Se1/0/0:23 Q931: RX <- ALERTING pd = 8 callref = 0x8093
Progress Ind i = 0x8088 – In-band info or appropriate now available
Sep 17 16:49:10.959: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
MIME Type=12, Buffer Length=1536
Sep 17 16:49:10.959: //163/46E6CB8B80DA/MSPI_OFF/moff_save_buffer:
Disabled Receiving!
Sep 17 16:49:21.123: ISDN Se1/0/0:23 Q931: RX <- CONNECT pd = 8 callref = 0x8093
Display i = ‘hqph2’
Sep 17 16:49:21.127: %ISDN-6-CONNECT: Interface Serial1/0/0:0 is now connected to 2742551004 N/A
Sep 17 16:49:21.127: ISDN Se1/0/0:23 Q931: TX -> CONNECT_ACK pd = 8 callref = 0x0093
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI/mspi_bridge:
MMccb(State=CONNECTING, Type=Offramp), Destination Call Id=166
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:28.931: //163/46E6CB8B80DA/MSPI/mspi_bridge:
Offramp Rcpt Enabled
Sep 17 16:49:40.963: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.963: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:40.967: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.967: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:40.979: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.979: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:40.983: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.983: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:40.999: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:40.999: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.007: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.007: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.011: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.011: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.023: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.023: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.027: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.027: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.039: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.039: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.043: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.043: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.055: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.055: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.059: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.059: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.071: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.071: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.083: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.083: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.087: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.087: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.099: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=1536, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_put_buffer:
Mime Type=12, Buffer Length=200, MMccb(Info Type=10, State=CONFERENCED)
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
Mime Type=12
Sep 17 16:49:41.111: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_send_buffer:
BUFF_LAST
Sep 17 16:49:51.079: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on FastEthernet0/1 (not full duplex), with SCA041201H1 4/21 (full duplex).
Sep 17 16:50:17.491: //163/46E6CB8B80DA/MSPI/mspi_bridge_drop:
MMccb(State=DESTROYING, Type=Offramp), Destination Call Id=166
Sep 17 16:50:17.503: %ISDN-6-DISCONNECT: Interface Serial1/0/0:0 disconnected from 2742551004 , call lasted 56 seconds
Sep 17 16:50:17.503: ISDN Se1/0/0:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x0093
Cause i = 0x8290 – Normal call clearing
Sep 17 16:50:17.523: ISDN Se1/0/0:23 Q931: RX <- RELEASE pd = 8 callref = 0x8093
Sep 17 16:50:17.527: ISDN Se1/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x0093
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI/mspi_call_disconnect:
Cause Value=normal call clearing (16),
MMccb(State=DISCONNECTING, Type=Offramp)
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI/mspi_offramp_call_history:
MMccb(Disconnect Cause=normal call clearing (16) 16)
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_call_get_offramp:
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_call_get_offramp:exit@2527
Sep 17 16:50:17.531: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_call_history:exit@2399
Sep 17 16:50:26.567: //163/46E6CB8B80DA/MSPI_OFF/mspi_offramp_dispose_context:
MMccb(State=DISCONNECT_DONE)
Archive for the ‘Fax’ Category
OUtput of debug fax mspi all on T37 router. (First few lines are from debug isdn q931 to show the fax call come into the t37 router)
A successful fax inbound from the router to Unity will throw the following debugs.
PSTNSw#
Sep 17 14:55:15.972: ISDN Se1/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0009
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98383
Exclusive, Channel 3
Display i = ‘hq vg248’
Calling Party Number i = 0x0081, ‘2742551004’
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, ‘16285253800’
Plan:Unknown, Type:Unknown
Sep 17 14:55:16.016: %ISDN-6-CONNECT: Interface Serial1/0/0:2 is now connected to 2742551004 N/A
Sep 17 14:55:16.016: ISDN Se1/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x8009
Channel ID i = 0xA98383
Exclusive, Channel 3
Sep 17 14:55:16.016: ISDN Se1/0/0:23 Q931: TX -> CONNECT pd = 8 callref = 0x8009
Sep 17 14:55:16.032: ISDN Se1/0/0:23 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x0009
Sep 17 14:55:29.132: //137/5CF666368032/MSPI_ON/mspi_call_setup_request:
Outgoing Peer Tag=204
Envelope From=FAX=2742551004@pstnsw.gateway.com
Envelope To=ifax@iptel.com
Mime Outer Type=2
Sep 17 14:55:30.132: //137/5CF666368032/MSPI_ON/mspi_check_connect:
MMccb(Count=0)
Sep 17 14:55:30.132: //137/5CF666368032/MSPI_ON/mspi_check_connect:
SMTP Connected To The Server !
Sep 17 14:55:30.132: //137/5CF666368032/MSPI/mspi_bridge:
MMccb(State=CONNECTED, Type=Onramp), Destination Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=0),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=1),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=2),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=3),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=4),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=5),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=6),
Source Call Id=138
Sep 17 14:55:42.480: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=7),
Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=8),
Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_xmit:
MMccb(State=CONFERENCED, Type=Onramp, Buffer Count=9),
Source Call Id=138
Sep 17 14:55:42.484: //137/5CF666368032/MSPI_ON/mspi_onramp_xmit:
EOD Received
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=10)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=9)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=8)
Sep 17 14:55:43.752: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=7)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=6)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=5)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=4)
Sep 17 14:55:43.764: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=3)
Sep 17 14:55:43.768: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=2)
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
MMccb(Call State=CONFERENCED, Buffer Count=1)
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
EOD Received; Status=0
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
Message Id=00012006095531752@PSTNSw.iptel.com
Sep 17 14:55:43.932: //137/5CF666368032/MSPI_ON/mspi_onramp_buff_finished_callback:
Defer Destroying
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_defer_disconnect:
MMccb(Call State=DESTROYING)
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_defer_disconnect:
Send Disconnect Event
Sep 17 14:55:46.932: //137/5CF666368032/MSPI/mspi_bridge_drop:
MMccb(State=DESTROYING, Type=Onramp), Destination Call Id=138
Sep 17 14:55:46.932: //137/5CF666368032/MSPI/mspi_call_disconnect:
Cause Value=normal call clearing (16),
MMccb(State=DISCONNECTING, Type=Onramp)
Sep 17 14:55:46.932: //137/5CF666368032/MSPI_ON/mspi_onramp_call_history:
MMccb(Disconnect Cause=normal call clearing (16) 16)
Sep 17 14:55:46.932: //-1/xxxxxxxxxxxx/MSPI/mspi_free_ccb:
Total Allocated MMccbs=1, Total Inserted MMccbs=0
Sep 17 14:55:46.940: %ISDN-6-DISCONNECT: Interface Serial1/0/0:2 disconnected from 2742551004
, call lasted 30 seconds
Sep 17 14:55:46.944: ISDN Se1/0/0:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x8009
Cause i = 0x8290 – Normal call clearing
Sep 17 14:55:46.960: ISDN Se1/0/0:23 Q931: RX <- RELEASE pd = 8 callref = 0x0009
Sep 17 14:55:46.964: ISDN Se1/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8009
Enable DNS resolution:
ip domain-lookup
ip name-server <Unity server>
ip domain-name gateway.com (domain of gateway)
Enable T37:
fax interface-type fax-mail —- (reload the router)
Enable T37 Onramp: (Think of Onramp as coming ON to the network)
mta send server unity40.iptel.com port 25 —- (mail server – unity in this case)
mta send with-subject both —– (sends ani and dnis in subject)
mta send mail-from hostname pstnsw.gateway.com ———– (Mail from hostname)
mta send mail-from username $s$
mta send return-receipt-to hostname pstnsw.gateway.com ———— (NDR from hostname)
mta send return-receipt-to username $s$
!
application
service onramp flash:app_faxmail_onramp.2.0.1.3.tcl
dial-peer voice 203 pots
service onramp
incoming called-number 16285253800
direct-inward-dial
!
dial-peer voice 204 mmoip
service fax_on_vfc_onramp_app out-bound
destination-pattern 16285253800
information-type fax
session target mailto:ifax@iptel.com ——– This should be the Inbound Fax mailbox that Unity monitors.
Enable T37 Offramp: (Think of Offramp as going OFF the network)
mta receive aliases pstnsw.gateway.com ———– (receiving alias name)
mta receive maximum-recipients 10 —————- (default is 0, set this to something greater than 0)
mta receive generate permanent-error
!
application
service offramp flash:app_faxmail_offramp.2.0.1.1.tcl
dial-peer voice 201 pots
destination-pattern 1274255100.
port 1/0/0:23
forward-digits 10
!
dial-peer voice 202 mmoip
description Offramp inbound from Unity
service offramp
information-type fax
incoming called-number 1274255100.
dsn delayed
dsn success
dsn failure
MGCP gateways and T38
1. mgcp fax t38 ls_redundancy 0 OR
mgcp fax t38 hs_redundancy 0
ls_redundancy set to 0 disables mgcp from sending redundant packets. The value can be set from 0 – 5 or 7 packets
hs_redundancy set to 0 disables mgcp from sending redundant packets for high speed fax m/c v.17, v27, v29 T.4 or T.6 fax machine. Default is 0, Can be configured up to 2 or 3. 0 disables redundancy.
Optional commands:
mgcp fax t38 gateway force – This command forcest38 fax relay using NSE's eve if T38 and NSE's cannot be negotiated by the MGCP call agent at call setup time
mgcp fax t38 inhibit – Disables MGCP T38 fax relay.
mgcp tse payload <value> – TSE is for Telephony signalling event. This command specifies payload value during fax and modem passthrough. Default is 100.
mgcp fax rate <rate>|voice (Default rate is 7200 bps)
H323 gateways and T38
dial-peer voice 1 voip
fax rate voice
fax protocol t38 ls_redundancy 0
options available are :
force – forces use of NSE;s to switch to T38 fax relay
fallback pass-through g711ulaw | g711alaw – A fallback mode if T38 could not be negotiated.
MGCP IOS gateway and ATA 186 in H323 mode – Fax Passthrough configuration
Posted: May 28, 2006 by sankar in Analog, ATA186, Fax1. Configure MGCP gateway as usual (with FXS ports).
2. Give the following commands
no ccm-manager fax protocol — disables cisco fax relay
mgcp modem passthrough voip mode nse — enables modem passthrough
mgcp modem passthrough voip codec g711ulaw
MGCP default NSE payload types
Output of "Sh mgcp"
MGCP media bind :DISABLED
MGCP Upspeed payload type for G711ulaw: 0, G711alaw: 8 (You may opt to match this up with ATA NSE payload type)
MGCP Dynamic payload type for G.726-16K codec
MGCP Dynamic payload type for G.726-24K codec
3. Optionally you may want to disable T38 fax relay for MGCP (which is enabled by default)
mgcp fax t38 inhibit. (Useful if you want to just have passthrough enabled, and disable t38 fax on the gateway)
Fax pass through – Set audio mode to 0x00150015
Fax mode – (Use direct g711 only, it doesn't do any codec upspeed.) – Set audiomode to 0x00120012
12 – corresponds to 0001 0010
bit 1 – set to 1 for g711 only
bit 2 – set to 0 to disable CED
DSCP settings for H323 and MGCP gateways
Posted: May 28, 2006 by cciestudy in Analog, ATA186, Fax, QOSThe setting below applies to packets generated by teh router itself.
For H323 gateways
Default for signaling is af31 (26). Need to change this to cs3 (24).
dial-peer voice 1500 voip
ip qos dscp cs3 signaling
For MGCP gateways
mgcp ip qos dscp cs3 signaling
** Please do not edit this blog due to table formatting issues **
Fax passthrough redundancy
Gateways will send each packet twice. Is useful if the network conditions are bad with packet loss and errors. Eradu packets send madithini.
ATA Gateway Results
Enabled Enabled Success
Enabled Disabled Success
Disabled Enabled Failure
Disabled Disabled Success
RTP Payload types
NTE and NSE are used to define a system of transporting tones and other telephony events over RTP, similar to DTMF relay
NTE NSE
Named Telephony Event Named Services Event
IETF – RFC 2833 Cisco proprietary
RTP Payload 101 RTP payload 100
Payload types for Fax upspeedThis is the payload type that tells the remote gateway to upspeed the codec to g711 for the fax call.
Default on ATA: 126/127 for fax upspeed to G.711m-law/G.711A-law
Default on Router: 0 for G711ulaw, 8 for G711alaw
You can change this in dial-peers
dial-peer voice 1500 voip
rtp payload-type cisco-pcm-switch-over-ulaw 126
rtp payload-type cisco-pcm-switch-over-alaw 127
ATA Settings
Redundancy
Connect mode: 0x90000480 (Bit 7 – 0/1 Disable/enable)
RTP Payload for upspeed to match IOS setting
Connect mode: 0x90000404 (Bit 2 – 0 means 126/127, 1 means 0/8)
ATA
ConnectMode bit 13 = 1 (g711alaw)
ConnectMode value = 0x90002400
IOS – H323
modem passthrough nse codec g711alaw
IOS – MGCP
mgcp modem passthrough voip codec g711alaw
VG248/6608
No settings, it will negotiate
To enable fax passthrough in a H323 IOS gateway: (This can be given under a dial peer or globally under voice service voip mode)
Global mode:
1. modem passthrough nse [payload-type number] codec {g711ulaw|g711alaw} [redundancy] [maximum-sessions <value>]
* Payload-type default : 100 for IOS gateways (Set this to same for all other gateways)
* Codec should be g711ulaw for fax sent over a t1 trunk or g711alaw for fax sent over a e1 trunk
* redundancy – enables fax redundancy. Set this parameter to be same at both ends
* max sessions – defines how many fax calls can occur simultaneously. Default is 16. Valid values 1 – 26.
2. Disable Fax relay – Fax relay is enabled by default and takes precedence over Passthrough.
fax rate disable
3. If you gave the modem passthrough setting under voice service voip mode, then you need to give the following command in dial-peer mode.
dial-peer voice 1 voip
modem passthrough system
Dial-peer mode: (2 steps)
If you choose not to apply the modem passthrough settings in global mode, dial-peer voice 1 voip
fax rate disable
modem passthrough nse codec g711ulaw
To enable Fax passthrough in a Cisco IOS MGCP gateway
no ccm-manager fax protocol cisco
mgcp modem passthrough voip mode nse
mgcp modem passthrough voip codec g711ulaw|g711alaw.
H323 – ATA fax passthrough setting – recommendations
Posted: May 27, 2006 by sankar in Analog, ATA186, FaxAudiomode – 0x00150015
0000 0000 0001 0101 (last 4 hex digits represents phone 1)
Bit 0 – 1 enables VAD
Bit 2 – 1 enables fax CED tone detection
Connect mode : 0x90000400
1001 0000 0000 0000 0000 0100 0000 0000
Bits 12 – 8 represent NSE payload type offset. Default NSE payload type is 100 for ATA which means the offset is set to 4 (00100). IOS H323/SIP gateways use NSE payload type 100. Most MGCP gateways using 6608 uses NSE payload type 101. So set the offset to 5 (00101) if setting up fax between ATA and 6608 (older versions)
Bits 13 – default 0 – represents fax pass through codec. 0 means g711ulaw, 1 means g711alaw.
To use fax in countries other than US, set
Connect mode : 0x90002400
**** key things to remember about interoperability of various AVVID fax components******
If a VG248, Cisco IOS router, MGCP gateway and ATA 186 is involved in faxing. Then set the NSE payload type to 100 (IOS Mode) in all devices. In VG248 set to IOS mode. In router by default NSE payload type is 100 (for modem passthrough). In MGCP IOS gateway (need to check). In 6608 set the mode to IOS mode. In ATA 186, default NSE payload type is 96 + offset of 4 = 100.
What is Fax passthrough ?
Fax passthrough encodes fax traffic with in a g711 voice codec and sends it across the voip network as a voice call. The call may use any codec (g711, g729, g723) etc initially and once a 2100 Hz CED tone is detected, the device (ATA for ex:) tells the far end gateway to switch over to G711 using a peer-to-peer message. This message is called a NSE message (Named Signalling Event) with in the RTP stream.
Configuring T 38 for MGCP gateway
mgcp fax t38 ecm
mgcp fax t38 gateway force
no mgcp fax t38 inhibit
Configuring T.38 for H323 gateway
dial-peer voice 10 voip
no modem passthrough
fax protocol t38 nse ls-redundancy 0 hs-redundancy 0 fallback cisco
Configuring Fax passthrough for H323 gateway
dial-peer voice 10 voip
modem passthrough nse codec g711ulaw
fax rate disable
Configuring Fax passthrough for MGCP gateway
mgcp modem passthrough voip mode nse
no ccm-manager fax protocol cisco
Configuring Fax relay for MGCP gateway
mgcp fax t38 inhibit
no mgcp fax t38 gateway force
ccm-manager fax protocol cisco
Configuring Fax relay for H323 gateway
dial-peer voice 10 voip
no modem passthrough
no fax rate disable
fax rate voice
Fax between ATA on port 2 and Router with FXS (g729 codec)
Posted: May 25, 2006 by sankar in Analog, ATA186, FaxFax setup that works:
Fax on port 2 of ATA, LBRcodec = 3, Connect mode bit 21 = 1.
Router has dial-peer with g729r8 (br8) codec and fax machine on FXS port.
Commands in dial-peer:
dial-peer voice 10 voip
codec g729r8|br8
modem passthrough nse codec g711ulaw
fax rate disable
fax protocol pass-through g711ulaw
Fax setup that didnt work
Fax on port 2 of ATA, LBRcodec = 3, Connect mode bit 21 = 1.
Router has dial-peer with g729r8 (br8) codec and fax machine on FXS port.
Commands in dial-peer:
dial-peer voice 10 voip
codec g729r8|br8
fax rate disable
fax protocol pass-through g711ulaw
Conclusion : With out modem passthrough, Fax passthrough on routers are not working!
You can set passthrough signalling mode to
a. Legacy – Use with older VG248 software which runs only Legacy mode or with 6608 with older firmware or 6624-FXS
b. IOS mode – Use with ATA 186, 6608 with new firmware (new CM versions), all Cisco IOS routers or another VG248 with new software (1.2 or 1.3)
Fax key notes:
a. ata supports only fax passthrough (h323,mgcp or sccp)
b. 6608 supports cisco fax relay and passthrough. No support for t38.
c. ios gateways support all modes passthrough, relay, t38 (fxs)
d. vg248 supports all modes (passthrough, relay and t38). T.38 is available only on version 1.3(1)
a. standard – no need to use feature codes…features available are similar to feature mode.
b. feature – use feature codes for transfer and conference and other phone features. Use hookflash and feature code at the end to perform the operation (xfer, conf etc). With feature mode, there is independent control of each call leg.
c. basic – no transfer/conf. good for fax and modems
d. restricted – most limited call mode. Used with billing system that begins charging when calls connect.
To change call control mode, go to each port, port specific parameters and enable the mode. default is standard.